Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

app-builder-lib@26.16.1.patch

15 lines980 Bytes

1diff --git a/out/targets/nsis/NsisTarget.js b/out/targets/nsis/NsisTarget.js
2index 8a3462b185b078a260483635e6d774e2ece6e269..105778c145ab63a26444179215c643a7f22148a0 100644
3--- a/out/targets/nsis/NsisTarget.js
4+++ b/out/targets/nsis/NsisTarget.js
5@@ -366,7 +366,9 @@ class NsisTarget extends core_1.Target {
6 await this.executeMakensis(defines, commands, sharedHeader + (await this.computeFinalScript(script, false, archs)));
7 // http://forums.winamp.com/showthread.php?p=3078545
8 // TODO: remove workaround when wine is fully upgraded to 11
9- if ((0, macosVersion_1.isMacOsCatalina)()) {
10+ // T3 Code builds Windows installers on Linux without wine; read the
11+ // uninstaller out of the stub the way macOS hosts already do.
12+ if ((0, macosVersion_1.isMacOsCatalina)() || process.platform === "linux") {
13 try {
14 await nsisUtil_1.UninstallerReader.exec(installerPath, uninstallerPath);
15 }