mirror of
https://github.com/duplicati/duplicati.git
synced 2025-11-28 11:30:24 +08:00
This changes the way launchagents are installed via `.pkg` files. The installers are updated to no longer use `launchtctl load` but rely on `launchctl bootstrap` instead to load in the current user context. For the Agent, this fixes a problem where the installer would initially start in a root context. For the GUI package this changes to not rely on `open` to start Duplicati, as that appears to be incompatible with `bootstrap` The uninstallers are updated handle both `load` / `unload` and `bootstrap` / `bootout` before removing the launchagents. This fixes #5766
14 lines
405 B
Text
14 lines
405 B
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>Label</key>
|
|
<string>com.duplicati.app.launchagent</string>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>/Applications/Duplicati.app/Contents/MacOS/duplicati</string>
|
|
</array>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
</dict>
|
|
</plist>
|