tabs/tabs.js

11 lines
293 B
JavaScript
Raw Normal View History

#!/bin/electron
const SingleInstance = require('single-instance');
const lock = new SingleInstance('tabs-app');
lock.lock().then(() => {
require = require("esm")(module);
module.exports = require("./src/main.js");
}).catch(error => {
console.error(error);
process.exit(0);
2020-02-20 12:46:53 +01:00
});