A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.
feat: add first interactive installation behavior to open Muelle Settings
CristianOlivera1d6f914b4b08c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3db7f70..ff0016d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -13,12 +13,14 @@ copia la sección de la versión que se publica a la release de GitHub.- Unplugging the charger now plays a short mascot reaction above the dock,including when unplugging also enables energy saver. It replaces an ongoingcharging reaction and temporarily reveals an auto-hidden dock.+- The first interactive installation opens Muelle Settings when it completes.### Español- Al desconectar el cargador, la mascota también aparece sobre el dock,incluso si se activa el ahorro de energía a la vez. Sustituye la reacciónde carga si todavía está en curso y muestra temporalmente el dock oculto.+- La primera instalación interactiva abre Ajustes de Muelle al terminar.## [0.1.11]diff --git a/apps/settings/src-tauri/installer/installer.nsi b/apps/settings/src-tauri/installer/installer.nsiindex 0f9739c..15674a6 100644--- a/apps/settings/src-tauri/installer/installer.nsi+++ b/apps/settings/src-tauri/installer/installer.nsi@@ -73,6 +73,7 @@ ${StrLoc}Var PassiveModeVar UpdateMode+Var MuelleFirstInstallVar NoShortcutModeVar WixModeVar OldMainBinaryName@@ -556,6 +557,14 @@ Function .onInit!insertmacro MULTIUSER_INIT!endif+ ; Read the existing registration before the install section replaces it.+ StrCpy $MuelleFirstInstall 0+ ReadRegStr $R0 SHCTX "${UNINSTKEY}" "UninstallString"+ ${If} $R0 == ""+ ${AndIfNot} ${FileExists} "$INSTDIR\muelle.exe"+ StrCpy $MuelleFirstInstall 1+ ${EndIf}+; Abort downgrades if they are disabled, in the modes that skip the reinstall page choice:; silent, passive and update!if "${ALLOWDOWNGRADES}" == "false"@@ -790,8 +799,16 @@ Function .onInstSuccess${IfNot} ${Errors}${GetOptions} $CMDLINE "/ARGS" $R0nsis_tauri_utils::RunAsUser "$INSTDIR\${MAINBINARYNAME}.exe" "$R0"+ Return${EndIf}${EndIf}+ ; A first interactive install introduces Settings. Silent installs and+ ; upgrades keep the existing launch behavior.+ ${If} $MuelleFirstInstall = 1+ ${AndIf} $UpdateMode <> 1+ ${AndIfNot} ${Silent}+ Call RunMainBinary+ ${EndIf}FunctionEndFunction un.onInit