app-builder-lib 22.14.8 → 22.14.9
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 +6 -0
- package/out/version.d.ts +1 -1
- package/out/version.js +1 -1
- package/out/version.js.map +1 -1
- package/package.json +3 -3
- package/templates/nsis/installer.nsi +26 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# app-builder-lib
|
|
2
2
|
|
|
3
|
+
## 22.14.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#6450](https://github.com/electron-userland/electron-builder/pull/6450) [`661a6522`](https://github.com/electron-userland/electron-builder/commit/661a6522520e9ea59549cb7e18986fcfb58e873a) Thanks [@robertpatrick](https://github.com/robertpatrick)! - fix(nsis): fix per-machine installs to properly elevate during silent install/updates
|
|
8
|
+
|
|
3
9
|
## 22.14.8
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/out/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "22.14.
|
|
1
|
+
export declare const PACKAGE_VERSION = "22.14.9";
|
package/out/version.js
CHANGED
package/out/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,SAAS,CAAA","sourcesContent":["export const PACKAGE_VERSION = \"22.14.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,SAAS,CAAA","sourcesContent":["export const PACKAGE_VERSION = \"22.14.9\"\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app-builder-lib",
|
|
3
3
|
"description": "electron-builder lib",
|
|
4
|
-
"version": "22.14.
|
|
4
|
+
"version": "22.14.9",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"out",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"@types/is-ci": "3.0.0",
|
|
102
102
|
"@types/js-yaml": "4.0.3",
|
|
103
103
|
"@types/semver": "7.3.8",
|
|
104
|
-
"dmg-builder": "22.14.
|
|
105
|
-
"electron-builder-squirrel-windows": "22.14.
|
|
104
|
+
"dmg-builder": "22.14.9",
|
|
105
|
+
"electron-builder-squirrel-windows": "22.14.9"
|
|
106
106
|
},
|
|
107
107
|
"//": "electron-builder-squirrel-windows and dmg-builder added as dev dep for tests (as otherwise `require` doesn't work using Yarn 2)",
|
|
108
108
|
"typings": "./out/index.d.ts"
|
|
@@ -84,6 +84,32 @@ FunctionEnd
|
|
|
84
84
|
|
|
85
85
|
Section "install"
|
|
86
86
|
!ifndef BUILD_UNINSTALLER
|
|
87
|
+
# If we're running a silent upgrade of a per-machine installation, elevate so extracting the new app will succeed.
|
|
88
|
+
# For a non-silent install, the elevation will be triggered when the install mode is selected in the UI,
|
|
89
|
+
# but that won't be executed when silent.
|
|
90
|
+
!ifndef INSTALL_MODE_PER_ALL_USERS
|
|
91
|
+
!ifndef ONE_CLICK
|
|
92
|
+
${if} $hasPerMachineInstallation == "1" # set in onInit by initMultiUser
|
|
93
|
+
${andIf} ${Silent}
|
|
94
|
+
${ifNot} ${UAC_IsAdmin}
|
|
95
|
+
ShowWindow $HWNDPARENT ${SW_HIDE}
|
|
96
|
+
!insertmacro UAC_RunElevated
|
|
97
|
+
${Switch} $0
|
|
98
|
+
${Case} 0
|
|
99
|
+
${Break}
|
|
100
|
+
${Case} 1223 ;user aborted
|
|
101
|
+
${Break}
|
|
102
|
+
${Default}
|
|
103
|
+
MessageBox mb_IconStop|mb_TopMost|mb_SetForeground "Unable to elevate, error $0"
|
|
104
|
+
${Break}
|
|
105
|
+
${EndSwitch}
|
|
106
|
+
Quit
|
|
107
|
+
${else}
|
|
108
|
+
!insertmacro setInstallModePerAllUsers
|
|
109
|
+
${endIf}
|
|
110
|
+
${endIf}
|
|
111
|
+
!endif
|
|
112
|
+
!endif
|
|
87
113
|
!include "installSection.nsh"
|
|
88
114
|
!endif
|
|
89
115
|
SectionEnd
|