Teamwork/node-auto-launch

Option to set 'KeepAlive' on mac

Open

#63 ouverte le 15 oct. 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (1 assigné)CoffeeScript (111 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (911 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

  • 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
          }

Guide contributeur