Teamwork/node-auto-launch

Option to set 'KeepAlive' on mac

Open

#63 aperta il 15 ott 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)CoffeeScript (111 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (911 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

  • The target platform(s) the problem occurs on (Linux, Mac, Mac App Store, and or Windows): Mac
  • Node version (run node -v): 6.10.0
  • auto-launch version: 5.0.1
  • The options you're passing to auto-launch:
  • Are you using NW.js or Electron - Electron main process
    • If so, which version?
    • If you're using Electron, are you using auto-launch from the main process or a renderer process?
  • Can you reproduce this with a simple Hello World example app?
  • If needs be, would you be able to provide us with a simple app (as simple as possible) which reproduces the problem? Yes

I notice that the plist is created with the <key>RunAtLoad</key> whose value is true. Is there any option to set <key>KeepAlive</key> to true also?

something like this -

          mac: {
            useLaunchAgent:true,
            keepAlive: true
          }

Guida contributor