2020-03-20 20:28:31 +00:00
|
|
|
const { app } = require('electron');
|
2019-06-19 21:34:22 +00:00
|
|
|
|
|
|
|
const payload = {
|
|
|
|
appPath: app.getAppPath()
|
2020-03-20 20:28:31 +00:00
|
|
|
};
|
2019-06-19 21:34:22 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
process.stdout.write(JSON.stringify(payload));
|
|
|
|
process.stdout.end();
|
2019-06-19 21:34:22 +00:00
|
|
|
|
2020-03-20 20:28:31 +00:00
|
|
|
process.exit();
|