diff --git a/ClassStudio.UI/bin/Desktop/ClassStudio Setup 0.6.2.exe b/ClassStudio.UI/bin/Desktop/ClassStudio Setup 0.6.2.exe new file mode 100644 index 0000000..4fad5bb Binary files /dev/null and b/ClassStudio.UI/bin/Desktop/ClassStudio Setup 0.6.2.exe differ diff --git a/ClassStudio.UI/bin/Desktop/ClassStudio Setup 0.6.2.exe.blockmap b/ClassStudio.UI/bin/Desktop/ClassStudio Setup 0.6.2.exe.blockmap new file mode 100644 index 0000000..f751417 Binary files /dev/null and b/ClassStudio.UI/bin/Desktop/ClassStudio Setup 0.6.2.exe.blockmap differ diff --git a/ClassStudio.UI/bin/Desktop/builder-debug.yml b/ClassStudio.UI/bin/Desktop/builder-debug.yml index 95c7257..ac062c2 100644 --- a/ClassStudio.UI/bin/Desktop/builder-debug.yml +++ b/ClassStudio.UI/bin/Desktop/builder-debug.yml @@ -2,3 +2,171 @@ x64: nodeModuleFilePatterns: - '**/*' - '**/*' +nsis: + script: |- + !include "C:\Users\JoaoNeves\AppData\Local\npm-cache\_npx\009083ec26dc578f\node_modules\app-builder-lib\templates\nsis\include\StdUtils.nsh" + !addincludedir "C:\Users\JoaoNeves\AppData\Local\npm-cache\_npx\009083ec26dc578f\node_modules\app-builder-lib\templates\nsis\include" + !macro _isUpdated _a _b _t _f + ${StdUtils.TestParameter} $R9 "updated" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isUpdated `"" isUpdated ""` + + !macro _isForceRun _a _b _t _f + ${StdUtils.TestParameter} $R9 "force-run" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isForceRun `"" isForceRun ""` + + !macro _isKeepShortcuts _a _b _t _f + ${StdUtils.TestParameter} $R9 "keep-shortcuts" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isKeepShortcuts `"" isKeepShortcuts ""` + + !macro _isNoDesktopShortcut _a _b _t _f + ${StdUtils.TestParameter} $R9 "no-desktop-shortcut" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isNoDesktopShortcut `"" isNoDesktopShortcut ""` + + !macro _isDeleteAppData _a _b _t _f + ${StdUtils.TestParameter} $R9 "delete-app-data" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isDeleteAppData `"" isDeleteAppData ""` + + !macro _isForAllUsers _a _b _t _f + ${StdUtils.TestParameter} $R9 "allusers" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isForAllUsers `"" isForAllUsers ""` + + !macro _isForCurrentUser _a _b _t _f + ${StdUtils.TestParameter} $R9 "currentuser" + StrCmp "$R9" "true" `${_t}` `${_f}` + !macroend + !define isForCurrentUser `"" isForCurrentUser ""` + + !macro addLangs + !insertmacro MUI_LANGUAGE "English" + !insertmacro MUI_LANGUAGE "German" + !insertmacro MUI_LANGUAGE "French" + !insertmacro MUI_LANGUAGE "SpanishInternational" + !insertmacro MUI_LANGUAGE "SimpChinese" + !insertmacro MUI_LANGUAGE "TradChinese" + !insertmacro MUI_LANGUAGE "Japanese" + !insertmacro MUI_LANGUAGE "Korean" + !insertmacro MUI_LANGUAGE "Italian" + !insertmacro MUI_LANGUAGE "Dutch" + !insertmacro MUI_LANGUAGE "Danish" + !insertmacro MUI_LANGUAGE "Swedish" + !insertmacro MUI_LANGUAGE "Norwegian" + !insertmacro MUI_LANGUAGE "Finnish" + !insertmacro MUI_LANGUAGE "Russian" + !insertmacro MUI_LANGUAGE "Portuguese" + !insertmacro MUI_LANGUAGE "PortugueseBR" + !insertmacro MUI_LANGUAGE "Polish" + !insertmacro MUI_LANGUAGE "Ukrainian" + !insertmacro MUI_LANGUAGE "Czech" + !insertmacro MUI_LANGUAGE "Slovak" + !insertmacro MUI_LANGUAGE "Hungarian" + !insertmacro MUI_LANGUAGE "Arabic" + !insertmacro MUI_LANGUAGE "Turkish" + !insertmacro MUI_LANGUAGE "Thai" + !insertmacro MUI_LANGUAGE "Vietnamese" + !macroend + + !include "C:\Users\JOAONE~1\AppData\Local\Temp\t-feDJOs\0-messages.nsh" + !addplugindir /x86-unicode "C:\Users\JoaoNeves\AppData\Local\electron-builder\Cache\nsis\nsis-resources-3.4.1\plugins\x86-unicode" + + Var newStartMenuLink + Var oldStartMenuLink + Var newDesktopLink + Var oldDesktopLink + Var oldShortcutName + Var oldMenuDirectory + + !include "common.nsh" + !include "MUI2.nsh" + !include "multiUser.nsh" + !include "allowOnlyOneInstallerInstance.nsh" + + !ifdef INSTALL_MODE_PER_ALL_USERS + !ifdef BUILD_UNINSTALLER + RequestExecutionLevel user + !else + RequestExecutionLevel admin + !endif + !else + RequestExecutionLevel user + !endif + + !ifdef BUILD_UNINSTALLER + SilentInstall silent + !else + Var appExe + Var launchLink + !endif + + !ifdef ONE_CLICK + !include "oneClick.nsh" + !else + !include "assistedInstaller.nsh" + !endif + + !insertmacro addLangs + + !ifmacrodef customHeader + !insertmacro customHeader + !endif + + Function .onInit + !ifmacrodef preInit + !insertmacro preInit + !endif + + !ifdef DISPLAY_LANG_SELECTOR + !insertmacro MUI_LANGDLL_DISPLAY + !endif + + !ifdef BUILD_UNINSTALLER + WriteUninstaller "${UNINSTALLER_OUT_FILE}" + !insertmacro quitSuccess + !else + !insertmacro check64BitAndSetRegView + + !ifdef ONE_CLICK + !insertmacro ALLOW_ONLY_ONE_INSTALLER_INSTANCE + !else + ${IfNot} ${UAC_IsInnerInstance} + !insertmacro ALLOW_ONLY_ONE_INSTALLER_INSTANCE + ${EndIf} + !endif + + !insertmacro initMultiUser + + !ifmacrodef customInit + !insertmacro customInit + !endif + + !ifmacrodef addLicenseFiles + InitPluginsDir + !insertmacro addLicenseFiles + !endif + !endif + FunctionEnd + + !ifndef BUILD_UNINSTALLER + !include "installUtil.nsh" + !endif + + Section "install" + !ifndef BUILD_UNINSTALLER + !include "installSection.nsh" + !endif + SectionEnd + + !ifdef BUILD_UNINSTALLER + !include "uninstaller.nsh" + !endif diff --git a/ClassStudio.UI/bin/Desktop/latest.yml b/ClassStudio.UI/bin/Desktop/latest.yml index 156458d..e2e2fda 100644 --- a/ClassStudio.UI/bin/Desktop/latest.yml +++ b/ClassStudio.UI/bin/Desktop/latest.yml @@ -1,8 +1,8 @@ -version: 0.6.1 +version: 0.6.2 files: - - url: ClassStudio-Setup-0.6.1.exe - sha512: tvYBM31E+G37L/4ZKGM5SIJG+c/eUHneZAH+ivUuSYKhZzwTm/vW8CXIc4jpeqYzEidM8A6P4t8Vx1idYSaA8w== - size: 93934283 -path: ClassStudio-Setup-0.6.1.exe -sha512: tvYBM31E+G37L/4ZKGM5SIJG+c/eUHneZAH+ivUuSYKhZzwTm/vW8CXIc4jpeqYzEidM8A6P4t8Vx1idYSaA8w== -releaseDate: '2021-04-07T10:31:52.773Z' + - url: ClassStudio-Setup-0.6.2.exe + sha512: a6LLbbaJoMKeWlMFJ+9ft/rXs+80Sci6Drg1SHsbxxVG7NSk3HU6d7yXoUqWh99IZrNVDh9Y5+dh9qMq0UQ/Rw== + size: 93888878 +path: ClassStudio-Setup-0.6.2.exe +sha512: a6LLbbaJoMKeWlMFJ+9ft/rXs+80Sci6Drg1SHsbxxVG7NSk3HU6d7yXoUqWh99IZrNVDh9Y5+dh9qMq0UQ/Rw== +releaseDate: '2021-07-01T17:24:54.219Z'