mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Remove the DBus LaunchAgent when uninstalling
ref T174
This commit is contained in:
committed by
Klaus Basan
parent
fb47a5356a
commit
ab1a200e78
@@ -90,6 +90,19 @@
|
|||||||
<deleteFile>
|
<deleteFile>
|
||||||
<path>${installdir}/update.ini</path>
|
<path>${installdir}/update.ini</path>
|
||||||
</deleteFile>
|
</deleteFile>
|
||||||
|
<runProgram>
|
||||||
|
<program>launchctl</program>
|
||||||
|
<programArguments>remove org.freedesktop.dbus-session.plist</programArguments>
|
||||||
|
<workingDirectory>${installdir}</workingDirectory>
|
||||||
|
<ruleList>
|
||||||
|
<platformTest>
|
||||||
|
<type>osx</type>
|
||||||
|
</platformTest>
|
||||||
|
</ruleList>
|
||||||
|
</runProgram>
|
||||||
|
<deleteFile>
|
||||||
|
<path>${user_home_directory}/Library/LaunchAgents/org.freedesktop.dbus-session.plist</path>
|
||||||
|
</deleteFile>
|
||||||
</preUninstallationActionList>
|
</preUninstallationActionList>
|
||||||
<allowComponentSelection>1</allowComponentSelection>
|
<allowComponentSelection>1</allowComponentSelection>
|
||||||
<compressionAlgorithm>lzma</compressionAlgorithm>
|
<compressionAlgorithm>lzma</compressionAlgorithm>
|
||||||
|
|||||||
Reference in New Issue
Block a user