shithub: puzzles

Download patch

ref: 80aac3104096aee4057b675c53ece8e60793aa90
parent: db804ea5a1d2de8d9d7d6e8fe569f5f8ec231832
author: Simon Tatham <[email protected]>
date: Fri Mar 1 07:43:23 EST 2024

Stop code-signing Windows binaries we aren't shipping.

The foosolver.exe binaries aren't delivered out of the end of
Buildscr, so there's no point wasting time on signing them. Signing is
slow in wall-clock time (you have to wait for a timestamp server), so
this should significantly reduce overall build time.

--- a/Buildscr
+++ b/Buildscr
@@ -95,7 +95,11 @@
   # provide a 'more info' URL, and an optional -n option to provide a
   # program name, and that it can take multiple .exe filename
   # arguments and sign them all in place.
-  ifneq "$(cross_winsigncode)" "" in puzzles do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ build-win64/*.exe build-win32/*.exe
+  ifneq "$(cross_winsigncode)" "" then
+    in puzzles/build-win64 do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ `cut -f2 -d: gamedesc.txt`
+    in puzzles/build-win32 do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ `cut -f2 -d: gamedesc.txt`
+  endif
+
   # Build installers.
   in puzzles with wixonlinux do candle -arch x64 puzzles.wxs -dWin64=yes -dBindir=build-win64/ && light -ext WixUIExtension -sval puzzles.wixobj
   in puzzles with wixonlinux do candle -arch x86 puzzles.wxs -dWin64=no -dBindir=build-win32/ && light -ext WixUIExtension -sval puzzles.wixobj -o puzzles32.msi