Skip to content

Commit 488f984

Browse files
committed
Windows installer: Don't hardcode machine- and time-dependent
parameters we use to build the installer.
1 parent a1ff68e commit 488f984

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nix/windows_installer_builder.rb

+2-4
Original file line numberDiff line numberDiff line change
@@ -313,15 +313,13 @@
313313
314314
set -ue
315315
316-
MSBUILD="/c/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe"
317-
SIGNTOOL="/c/Program Files (x86)/Windows Kits/10/bin/x64/signtool.exe"
318-
SIGNFLAGS="-fd sha256 -tr http://timestamp.globalsign.com/?signature=sha2 -td sha256"
316+
. $POLOLU_SIGN_ENV
319317
320318
"$MSBUILD" -t:rebuild -p:Configuration=Release -p:TreatWarningsAsErrors=True \\
321319
app.wixproj
322320
323321
cp bin/Release/en-us/*.msi .
324322
325-
"$SIGNTOOL" sign -n "Pololu Corporation" $SIGNFLAGS -d "Pololu Tic Stepper Motor Controller Setup" *.msi
323+
"$SIGNTOOL" sign $SIGNFLAGS -d "Pololu Tic Stepper Motor Controller Setup" *.msi
326324
EOF
327325
end

0 commit comments

Comments
 (0)