From ac9228be01aa9e903728f7c9d2ada6109e0c37ae Mon Sep 17 00:00:00 2001 From: Hien To Date: Fri, 12 Apr 2024 15:46:23 +0700 Subject: [PATCH] Add nsis for windows --- electron/icons/icon.ico | Bin 0 -> 21488 bytes electron/package.json | 8 ++++++++ electron/scripts/uninstaller.nsh | 18 ++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 electron/icons/icon.ico create mode 100644 electron/scripts/uninstaller.nsh diff --git a/electron/icons/icon.ico b/electron/icons/icon.ico new file mode 100644 index 0000000000000000000000000000000000000000..40c76171de61999f5d5f9a34c39a69c587ffc5d8 GIT binary patch literal 21488 zcma%Cg;(6%)6VW9i+gccT#CE9yIYY(in}|DLyMQXbd3@nvf1k337T@i{r=+W;}g0O?se4aZtwKT z<#@3!2q7Ot4UQ~~Xb=6v)E4uCh``cRQ47U;m~Nly{E>(eOJ)Px^Wi@L*lUR8Km~H9 z8zb%FLC}q-cU(ZEO5cScnwsl76aYejR?;K+hB`PmVigMTG7jPGM- zrx(k}ub8cEKPRBdv%x)O>NO=dfDhfc{C5m9fgq56)GzqZk`y)*8YXRcfc9VHPooz`={`CU0TNf=5koE&*BmF1iv4~H*PiIrypYhPa2VMUK8$|sr3|e zpIC?>f2@k?&jT3ZC+c+ofXK~ZShy1xAtcM8EVAw%?M1P)G6n%7*O8KrKInVaCje2b zKdCg~nIPc@TF!PJNWqi%#;^LqliP}A>zhzIvpi}nl$2O~doIc;B@PN+c279YAn@eszOVM`$1GFd}PABPU2e>3o|c4xY*=6z54{epq?D5sX40d*%c3#}6o7ZURU4 zUU0Lm_jf=-aqd^2z@CqxV|VpH#ah|iUncRLf|m+!_;=|eBU(w*yiC}!DGjLMf)Ub- zJ=3wuQQQry7W~l5C`o6Z`^kn7@ZjDxp)zC=>rAi~ghX+8TG8;_Q{MIqcOGZ9ek$kR zDMqX{#I6vo4F-a#xyk&9&-gEsO96tLz?`+{q*X++#xhK6 z)`QlT#vz~U^Wt0iAqN`z3a(W>Q|`3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package.json index e76b9172ae..798b7df343 100644 --- a/electron/package.json +++ b/electron/package.json @@ -54,6 +54,14 @@ "nsis" ] }, + "nsis": { + "oneClick": false, + "allowToChangeInstallationDirectory": true, + "installerIcon": "icons/icon.ico", + "uninstallerIcon": "icons/icon.ico", + "include": "scripts/uninstaller.nsh", + "deleteAppDataOnUninstall": true + }, "artifactName": "jan-${os}-${arch}-${version}.${ext}" }, "scripts": { diff --git a/electron/scripts/uninstaller.nsh b/electron/scripts/uninstaller.nsh new file mode 100644 index 0000000000..8746b3931a --- /dev/null +++ b/electron/scripts/uninstaller.nsh @@ -0,0 +1,18 @@ +!include nsDialogs.nsh + +XPStyle on + +!macro customUnInstall +; Uninstall process execution + ${ifNot} ${isUpdated} + # If you tick Delete fixed folder + MessageBox MB_OKCANCEL "Do you also want to delete jan data at $PROFILE\jan?" IDOK label_ok IDCANCEL label_cancel + label_ok: + # Delete user data folder + RMDir /r $PROFILE\jan + Goto end + label_cancel: + Goto end + end: + ${endIf} +!macroend \ No newline at end of file