gaoshuaixing 4 years ago
parent
commit
9610a8641b
1 changed files with 10 additions and 0 deletions
  1. 10 0
      electron/lib/constant.js

+ 10 - 0
electron/lib/constant.js

@@ -0,0 +1,10 @@
+module.exports = {
+  AutoLaunch: {
+    LOGIN_SETTING_OPTIONS: {
+      // For Windows
+      args: [
+        '--opened-at-login=1'
+      ]
+    }
+  },
+};