OpenAsar/src/utils/buildInfo.js

2 lines
176 B
JavaScript
Raw Normal View History

2022-01-29 11:15:32 +00:00
// Use JSON parse for vaguely more security-ish
2022-03-11 08:52:18 +00:00
module.exports = JSON.parse(require('fs').readFileSync(require('path').join(process.resourcesPath, 'build_info.json'), 'utf8'));