app-builder-lib 22.11.11 → 22.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/out/binDownload.d.ts +1 -0
- package/out/binDownload.js +6 -1
- package/out/binDownload.js.map +1 -1
- package/out/configuration.d.ts +8 -1
- package/out/configuration.js.map +1 -1
- package/out/core.d.ts +1 -2
- package/out/core.js.map +1 -1
- package/out/index.d.ts +0 -1
- package/out/index.js.map +1 -1
- package/out/platformPackager.js +11 -0
- package/out/platformPackager.js.map +1 -1
- package/out/publish/BintrayPublisher.d.ts +1 -1
- package/out/publish/BintrayPublisher.js +3 -11
- package/out/publish/BintrayPublisher.js.map +1 -1
- package/out/publish/KeygenPublisher.d.ts +19 -0
- package/out/publish/KeygenPublisher.js +101 -0
- package/out/publish/KeygenPublisher.js.map +1 -0
- package/out/publish/PublishManager.js +14 -0
- package/out/publish/PublishManager.js.map +1 -1
- package/out/publish/SnapStorePublisher.d.ts +1 -11
- package/out/publish/SnapStorePublisher.js.map +1 -1
- package/out/targets/nsis/NsisTarget.js +12 -5
- package/out/targets/nsis/NsisTarget.js.map +1 -1
- package/out/targets/nsis/nsisOptions.d.ts +35 -2
- package/out/targets/nsis/nsisOptions.js.map +1 -1
- package/out/targets/nsis/nsisUtil.d.ts +5 -0
- package/out/targets/nsis/nsisUtil.js +20 -3
- package/out/targets/nsis/nsisUtil.js.map +1 -1
- package/out/util/yarn.js +1 -1
- package/out/util/yarn.js.map +1 -1
- package/out/version.d.ts +1 -1
- package/out/version.js +1 -1
- package/out/version.js.map +1 -1
- package/out/vm/ParallelsVm.d.ts +1 -1
- package/out/vm/ParallelsVm.js.map +1 -1
- package/out/vm/vm.js +1 -1
- package/out/vm/vm.js.map +1 -1
- package/package.json +6 -6
- package/scheme.json +339 -42
- package/templates/nsis/common.nsh +14 -0
- package/templates/nsis/installer.nsi +3 -0
- package/templates/nsis/portable.nsi +6 -2
- package/templates/nsis/uninstaller.nsh +15 -4
|
@@ -99,3 +99,17 @@ Name "${PRODUCT_NAME}"
|
|
|
99
99
|
|
|
100
100
|
${StdUtils.ExecShellAsUser} $0 "$launchLink" "open" "$startAppArgs"
|
|
101
101
|
!macroend
|
|
102
|
+
|
|
103
|
+
!define LogSet "!insertmacro LogSetMacro"
|
|
104
|
+
!macro LogSetMacro SETTING
|
|
105
|
+
!ifdef ENABLE_LOGGING
|
|
106
|
+
LogSet ${SETTING}
|
|
107
|
+
!endif
|
|
108
|
+
!macroend
|
|
109
|
+
|
|
110
|
+
!define LogText "!insertmacro LogTextMacro"
|
|
111
|
+
!macro LogTextMacro INPUT_TEXT
|
|
112
|
+
!ifdef ENABLE_LOGGING
|
|
113
|
+
LogText ${INPUT_TEXT}
|
|
114
|
+
!endif
|
|
115
|
+
!macroend
|
|
@@ -30,7 +30,11 @@ Section
|
|
|
30
30
|
HideWindow
|
|
31
31
|
!endif
|
|
32
32
|
|
|
33
|
-
StrCpy $INSTDIR "$
|
|
33
|
+
StrCpy $INSTDIR "$PLUGINSDIR\app"
|
|
34
|
+
!ifdef UNPACK_DIR_NAME
|
|
35
|
+
StrCpy $INSTDIR "$TEMP\${UNPACK_DIR_NAME}"
|
|
36
|
+
!endif
|
|
37
|
+
|
|
34
38
|
RMDir /r $INSTDIR
|
|
35
39
|
SetOutPath $INSTDIR
|
|
36
40
|
|
|
@@ -82,6 +86,6 @@ Section
|
|
|
82
86
|
ExecWait "$INSTDIR\${APP_EXECUTABLE_FILENAME} $R0" $0
|
|
83
87
|
SetErrorLevel $0
|
|
84
88
|
|
|
85
|
-
SetOutPath $
|
|
89
|
+
SetOutPath $EXEDIR
|
|
86
90
|
RMDir /r $INSTDIR
|
|
87
91
|
SectionEnd
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
+
Function un.checkAppRunning
|
|
2
|
+
!insertmacro CHECK_APP_RUNNING
|
|
3
|
+
FunctionEnd
|
|
4
|
+
|
|
1
5
|
Function un.onInit
|
|
6
|
+
SetOutPath $INSTDIR
|
|
7
|
+
${LogSet} on
|
|
8
|
+
|
|
2
9
|
!insertmacro check64BitAndSetRegView
|
|
3
10
|
|
|
4
|
-
${
|
|
11
|
+
${If} ${Silent}
|
|
12
|
+
call un.checkAppRunning
|
|
13
|
+
${else}
|
|
5
14
|
!ifdef ONE_CLICK
|
|
6
15
|
MessageBox MB_OKCANCEL "$(areYouSureToUninstall)" IDOK +2
|
|
7
16
|
Quit
|
|
8
17
|
|
|
9
18
|
# one-click installer executes uninstall section in the silent mode, but we must show message dialog if silent mode was not explicitly set by user (using /S flag)
|
|
10
|
-
|
|
19
|
+
call un.checkAppRunning
|
|
11
20
|
SetSilent silent
|
|
12
21
|
!endif
|
|
13
22
|
${endIf}
|
|
@@ -20,9 +29,11 @@ Function un.onInit
|
|
|
20
29
|
FunctionEnd
|
|
21
30
|
|
|
22
31
|
Section "un.install"
|
|
32
|
+
# for assisted installer we check it here to show progress
|
|
23
33
|
!ifndef ONE_CLICK
|
|
24
|
-
|
|
25
|
-
|
|
34
|
+
${IfNot} ${Silent}
|
|
35
|
+
call un.checkAppRunning
|
|
36
|
+
${endIf}
|
|
26
37
|
!endif
|
|
27
38
|
|
|
28
39
|
!insertmacro setLinkVars
|