Skip to content

Commit bfd8155

Browse files
committed
templates: Prefer per-user installations on MacOSX
With OBS Studio 28.0 comes another restriction: Per-User Plugins. This is currently only enforced on ARM64, but may soon be enforced on all architectures. Adjusting the Packages installer to generate the correct files is relatively easy. Unfortunately the MacOS Package Installer has some problems figuring out if it should show the user the correct step or not, and may even ignore our settings entirely. This bug has been first reported in 2010, and has since then been re-reported in 2016, 2017, 2018, 2019, and 2020 where it was finally turned into a community wiki on StackOverflow.
1 parent 2451c84 commit bfd8155

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

templates/macos/installer.pkgproj.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,15 @@
773773
</dict>
774774
<key>PROJECT_SETTINGS</key>
775775
<dict>
776+
<key>ADVANCED_OPTIONS</key>
777+
<dict>
778+
<key>installer-script.domains:enable_anywhere</key>
779+
<integer>1</integer>
780+
<key>installer-script.domains:enable_currentUserHome</key>
781+
<integer>1</integer>
782+
<key>installer-script.domains:enable_localSystem</key>
783+
<integer>0</integer>
784+
</dict>
776785
<key>BUILD_FORMAT</key>
777786
<integer>0</integer>
778787
<key>BUILD_PATH</key>

0 commit comments

Comments
 (0)