Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: ask for installation mode at start

Prateek Sunal8325b270e05f
diff --git a/auth/windows/packaging/exe/inno_setup.iss b/auth/windows/packaging/exe/inno_setup.iss
index 6f47352f44..5906ecbd0e 100644
--- a/auth/windows/packaging/exe/inno_setup.iss
+++ b/auth/windows/packaging/exe/inno_setup.iss
@@ -14,9 +14,11 @@ Compression=lzma
SolidCompression=yes
SetupIconFile={{SETUP_ICON_FILE}}
WizardStyle=modern
-PrivilegesRequired={{PRIVILEGES_REQUIRED}}
+;PrivilegesRequired={{PRIVILEGES_REQUIRED}}
+PrivilegesRequiredOverridesAllowed=dialog
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
+UninstallDisplayIcon={app}\auth.exe
[Languages]
{% for locale in LOCALES %}
diff --git a/auth/windows/packaging/exe/make_config.yaml b/auth/windows/packaging/exe/make_config.yaml
index 3d214460b4..378d2d4d8c 100644
--- a/auth/windows/packaging/exe/make_config.yaml
+++ b/auth/windows/packaging/exe/make_config.yaml
@@ -1,9 +1,9 @@
app_id: 9E5F0C93-96A3-4DA9-AE52-1AA6339851FC
publisher: ente.io
publisher_url: https://github.com/ente-io/ente
-display_name: ente Auth
+display_name: Ente Auth
create_desktop_icon: false
-install_dir_name: "{pf}\\Ente Auth"
+install_dir_name: "{autopf}\\Ente Auth"
setup_icon_file: ../../assets/icons/auth-icon.ico
script_template: inno_setup.iss
locales: