mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-24 16:39:49 +00:00
[fix] パッケージ化すると自身のバージョン情報を取得できなくなっていたのを修正
This commit is contained in:
parent
d0552778d4
commit
36683b31ba
18127
lib/skyway.js
18127
lib/skyway.js
File diff suppressed because it is too large
Load Diff
4
main.js
4
main.js
@ -100,7 +100,9 @@ app.whenReady().then(() => {
|
|||||||
label: 'About',
|
label: 'About',
|
||||||
click: () => {
|
click: () => {
|
||||||
var os = require('os')
|
var os = require('os')
|
||||||
var detail = 'Version: ' + process.env.npm_package_version + '\n'
|
const { version } = require('./package.json')
|
||||||
|
// var detail = 'Version: ' + process.env.npm_package_version + '\n'
|
||||||
|
var detail = 'Version: ' + version + '\n'
|
||||||
+ 'Node.js: ' + process.versions.node + '\n'
|
+ 'Node.js: ' + process.versions.node + '\n'
|
||||||
+ 'Chrome: ' + process.versions.chrome + '\n'
|
+ 'Chrome: ' + process.versions.chrome + '\n'
|
||||||
+ 'Electron: ' + process.versions.electron + '\n'
|
+ 'Electron: ' + process.versions.electron + '\n'
|
||||||
|
1726
package-lock.json
generated
1726
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -26,7 +26,7 @@
|
|||||||
"@electron-forge/cli": "^6.0.0-beta.63",
|
"@electron-forge/cli": "^6.0.0-beta.63",
|
||||||
"@electron-forge/maker-deb": "^6.0.0-beta.63",
|
"@electron-forge/maker-deb": "^6.0.0-beta.63",
|
||||||
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
|
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
|
||||||
"@electron-forge/maker-squirrel": "6.0.0-beta.63",
|
"@electron-forge/maker-squirrel": "^6.0.0-beta.33",
|
||||||
"@electron-forge/maker-zip": "^6.0.0-beta.63",
|
"@electron-forge/maker-zip": "^6.0.0-beta.63",
|
||||||
"electron": "^16.0.7",
|
"electron": "^16.0.7",
|
||||||
"electron-rebuild": "^3.2.7"
|
"electron-rebuild": "^3.2.7"
|
||||||
|
Loading…
Reference in New Issue
Block a user