Fix win32 uninstaller issues on 5.36.0 and 5.37.0
This commit is contained in:
parent
3c6d50f351
commit
d0ca8af729
1 changed files with 14 additions and 1 deletions
|
@ -27,7 +27,7 @@ index 01da9f4..094c175 100644
|
||||||
+export declare function hashFile(file: string, blockSize?: number): Promise<unknown>;
|
+export declare function hashFile(file: string, blockSize?: number): Promise<unknown>;
|
||||||
+export declare function hashFileContents(contents: Buffer | string, blockSize?: number): unknown;
|
+export declare function hashFileContents(contents: Buffer | string, blockSize?: number): unknown;
|
||||||
diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
||||||
index ffcc8bd..4215569 100644
|
index ffcc8bd..bafab0e 100644
|
||||||
--- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
--- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
||||||
+++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
+++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
||||||
@@ -88,7 +88,7 @@ class LinuxTargetHelper {
|
@@ -88,7 +88,7 @@ class LinuxTargetHelper {
|
||||||
|
@ -52,3 +52,16 @@ index 1536059..555f8f5 100644
|
||||||
-
|
-
|
||||||
update-mime-database /usr/share/mime || true
|
update-mime-database /usr/share/mime || true
|
||||||
update-desktop-database /usr/share/applications || true
|
update-desktop-database /usr/share/applications || true
|
||||||
|
diff --git a/node_modules/app-builder-lib/templates/nsis/include/allowOnlyOneInstallerInstance.nsh b/node_modules/app-builder-lib/templates/nsis/include/allowOnlyOneInstallerInstance.nsh
|
||||||
|
index cc77993..ac36618 100644
|
||||||
|
--- a/node_modules/app-builder-lib/templates/nsis/include/allowOnlyOneInstallerInstance.nsh
|
||||||
|
+++ b/node_modules/app-builder-lib/templates/nsis/include/allowOnlyOneInstallerInstance.nsh
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
${nsProcess::FindProcess} "${_FILE}" ${_ERR}
|
||||||
|
!else
|
||||||
|
# find process owned by current user
|
||||||
|
- nsExec::Exec `cmd /c tasklist /FI "USERNAME eq %USERNAME%" /FI "IMAGENAME eq ${_FILE}" | find "${_FILE}"`
|
||||||
|
+ nsExec::Exec `cmd /c tasklist /FI "USERNAME eq %USERNAME%" /FI "IMAGENAME eq ${_FILE}" | %SYSTEMROOT%\System32\find.exe "${_FILE}"`
|
||||||
|
Pop ${_ERR}
|
||||||
|
!endif
|
||||||
|
!macroend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue