electron/spec/fixtures/api/app-path/lib/index.js
2020-03-20 13:28:31 -07:00

10 lines
174 B
JavaScript

const { app } = require('electron');
const payload = {
appPath: app.getAppPath()
};
process.stdout.write(JSON.stringify(payload));
process.stdout.end();
process.exit();