You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// var packageJson = require('../../package.json');
var packageJson = {
version: '1.0.0-alpha.1',
name: 'Mongotron',
repository: {
url: 'https://github.com/mongotron'
}
};
If you require the package.json file when running locally it works fine using a relative path. But if you package and release the app (using gulp-release-osx) you'll find that when you try and run you get a runtime error because electron can't find the file.
The text was updated successfully, but these errors were encountered:
If you look at
https://github.com/officert/mongotron/blob/master/src/config/appConfig.js
you'll see our package.json is commented out:
If you require the package.json file when running locally it works fine using a relative path. But if you package and release the app (using gulp-release-osx) you'll find that when you try and run you get a runtime error because electron can't find the file.
The text was updated successfully, but these errors were encountered: