From 6d2958625d76f48e16a3938ff4ead16e1c269bec Mon Sep 17 00:00:00 2001
From: Willi Mutschler <willi@mutschler.eu>
Date: Wed, 27 Sep 2023 14:04:04 +0200
Subject: [PATCH] macOS installer: force non-admin installs

[skip ci]
---
 macOS/distribution_template.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/macOS/distribution_template.xml b/macOS/distribution_template.xml
index ac084d8284..e5988b680b 100644
--- a/macOS/distribution_template.xml
+++ b/macOS/distribution_template.xml
@@ -6,7 +6,7 @@
   <welcome file="welcome.html" mime-type="text/html" />
   <conclusion file="conclusion.html" mime-type="text/html" />
   <license file="gpl-3.0-standalone.html" mime-type="text/html" />
-  <domains enable_anywhere="true" enable_currentUserHome="true"/>
+  <domains enable_anywhere="false" enable_currentUserHome="true" enable_localSystem="false"/> <!-- on enable_currentUserHome="true" does not require admin rights! enable_localSystem="true" or enable_anywhere="true" requires admin rights by default, even though this can be changed in the installer though under Change Installation. -->
   <pkg-ref id="default" />
   <options customize="allow" require-scripts="false" hostArchitectures="x86_64,arm64" />
   <choices-outline>
-- 
GitLab