XDM software starting up on login but not present in Login items
-
25-05-2021 - |
Domanda
I am using XDM (Xtreme Download Manager software) on my Mac.
When I login then the XDM software is started. But I do not see it in Login items(System Preferences → Users & Groups → Login Items tab.)
How is the software starting up if it is not present in Login items and How do I stop it from opening automatically on Login?
Soluzione
We have to change the settings below in the XDM application (Tools -> Options-> Advanced settings -> View settings.)
I used homebrew to install XDM and this option is selected by default.
If you look at the source code you'll find that the automatic start is controlled by a LaunchAgent called org.sdg.xdman.plist
stored in ~/Library/LaunchAgents
.
public static void addToStartup() {
File dir = new File(System.getProperty("user.home"), "Library/LaunchAgents");
dir.mkdirs();
File f = new File(dir, "org.sdg.xdman.plist");
FileOutputStream fs = null;
...
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a apple.stackexchange