2020-01-03 15:01:15 +01:00
|
|
|
#!/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
|
|
|
});
|