Remove the DBus LaunchAgent when uninstalling

ref T174
This commit is contained in:
Roland Winklmeier
2017-10-17 12:18:55 +02:00
committed by Klaus Basan
parent fb47a5356a
commit ab1a200e78

View File

@@ -90,6 +90,19 @@
<deleteFile>
<path>${installdir}/update.ini</path>
</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>
<allowComponentSelection>1</allowComponentSelection>
<compressionAlgorithm>lzma</compressionAlgorithm>