Browse Source

🔧 Make package executable

KaKi87 2 months ago
parent
commit
f4ebfe3151
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      index.js
  2. +3
    -0
      package.json

+ 2
- 0
index.js View File

@ -1,3 +1,5 @@
#!/usr/bin/env node
const { app, BrowserWindow, session } = require('electron');
app.once('ready', async () => {
const window = new BrowserWindow({ show: false });


+ 3
- 0
package.json View File

@ -9,5 +9,8 @@
"devDependencies": {
"electron": "^10.1.3",
"electron-packager": "^15.1.0"
},
"bin": {
"discord-token-getter": "./index.js"
}
}

Loading…
Cancel
Save