diff options
Diffstat (limited to 'dot.js')
-rw-r--r-- | dot.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/dot.js b/dot.js deleted file mode 100644 index 7d14a15feb4a..000000000000 --- a/dot.js +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/electron - -const { join } = require('path'); -const { app } = require('electron'); - -const APP_DIR = '/opt/dot/'; - -const conf = require(APP_DIR + 'package.json'); - -app.setName(conf.name); -app.setPath('userData', join(app.getPath('appData'), conf.name)); -app.getVersion = () => conf.version; - -process.argv.shift(); -require(APP_DIR + conf.main); |