Get version number from package.json on app start

This is easy to miss when prepping a new release so I figured we might as well automate it
This commit is contained in:
CakeLancelot
2023-02-09 05:32:21 -06:00
parent 5da0da1981
commit d554b6b968
6 changed files with 25 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
const fs = require('fs');
const dir = './dist/win-ia32-unpacked/resources/default_app'
const defaultdir = './dist/win-ia32-unpacked/resources/default_app'
const exefile = './dist/win-ia32-unpacked/OpenFusionClient.exe'
exports.default = function() {