mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-10 17:48:50 +08:00
Ensure that mailspring is correctly started in the background on macos
Currently, the --background flag of the plist autostart file on macos is ignored as it is treated as the filename of the command to start (which should be mailspring) and not as an argument. For more information see: https://apple.stackexchange.com/questions/110644/getting-launchd-to-read-program-arguments-correctly
This commit is contained in:
parent
72b7068cfc
commit
51d788c1a4
1 changed files with 1 additions and 2 deletions
|
@ -86,8 +86,7 @@ class SystemStartServiceDarwin extends SystemStartServiceBase {
|
|||
_launchdPlist() {
|
||||
return {
|
||||
Label: 'com.mailspring.mailspring',
|
||||
Program: this._launcherPath(),
|
||||
ProgramArguments: ['--background'],
|
||||
ProgramArguments: [this._launcherPath(), '--background'],
|
||||
RunAtLoad: true,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue