electron/spec/fixtures/api/app-path/lib/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
174 B
JavaScript
Raw Normal View History

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