mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(Windows): Fix starting qTox from installer
Regular ShellExecAsUser plugin doesn't support Unicode. Change to their
"Unicode Update" version. See
https://nsis.sourceforge.io/ShellExecAsUser_plug-in#Download
Missed when updating installers to Unicode mode in
9f84184ba8
This commit is contained in:
parent
3744ecfe8b
commit
beb38fa33b
|
@ -8,4 +8,4 @@ set -euo pipefail
|
|||
|
||||
"$(dirname "$0")"/download/download_nsisshellexecasuser.sh
|
||||
|
||||
cp ShellExecAsUser.dll /usr/share/nsis/Plugins/x86-unicode
|
||||
cp unicode/ShellExecAsUser.dll /usr/share/nsis/Plugins/x86-unicode
|
||||
|
|
|
@ -17,16 +17,15 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
NSISSHELLEXECASUSER_HASH=8fc19829e144716a422b15a85e718e1816fe561de379b2b5ae87ef9017490799
|
||||
NSISSHELLEXECASUSER_HASH=79bdd3e54a9ba9c30af85557b475d2322286f8726687f2e23afa772aac6049ab
|
||||
|
||||
source "$(dirname "$0")/common.sh"
|
||||
|
||||
# Backup: https://web.archive.org/web/20171008011417/http://nsis.sourceforge.net/mediawiki/images/c/c7/ShellExecAsUser.zip
|
||||
download_file http://nsis.sourceforge.net/mediawiki/images/c/c7/ShellExecAsUser.zip
|
||||
download_file https://nsis.sourceforge.io/mediawiki/images/1/1d/ShellExecAsUserUnicodeUpdate.zip
|
||||
|
||||
if ! check_sha256 "$NSISSHELLEXECASUSER_HASH" ShellExecAsUser.zip; then
|
||||
if ! check_sha256 "$NSISSHELLEXECASUSER_HASH" ShellExecAsUserUnicodeUpdate.zip; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
unzip ShellExecAsUser.zip
|
||||
rm ShellExecAsUser.zip
|
||||
unzip ShellExecAsUserUnicodeUpdate.zip
|
||||
rm ShellExecAsUserUnicodeUpdate.zip
|
||||
|
|
Loading…
Reference in New Issue
Block a user