need postinstall to install electron now

This commit is contained in:
lone-cloud 2026-05-07 12:44:47 -07:00
parent e1fc66a068
commit 2ddb49869f
Signed by: lone-cloud
GPG key ID: B0848536D672CD8D
2 changed files with 16 additions and 15 deletions

View file

@ -26,6 +26,7 @@
"build": "electron-vite build", "build": "electron-vite build",
"package": "electron-vite build && electron-builder --publish=never", "package": "electron-vite build && electron-builder --publish=never",
"analyze": "cross-env ANALYZE=true electron-vite build && pnpm dlx open-cli dist/stats.html", "analyze": "cross-env ANALYZE=true electron-vite build && pnpm dlx open-cli dist/stats.html",
"postinstall": "node node_modules/electron/install.js",
"check": "oxlint && oxfmt --check", "check": "oxlint && oxfmt --check",
"fix": "oxlint --fix && oxfmt", "fix": "oxlint --fix && oxfmt",
"release": "node --no-warnings scripts/release.ts" "release": "node --no-warnings scripts/release.ts"
@ -34,7 +35,7 @@
"electron-updater": "^6.8.3", "electron-updater": "^6.8.3",
"execa": "^9.6.1", "execa": "^9.6.1",
"mime-types": "^3.0.2", "mime-types": "^3.0.2",
"systeminformation": "^5.31.5", "systeminformation": "^5.31.6",
"winston": "^3.19.0", "winston": "^3.19.0",
"winston-daily-rotate-file": "^5.0.0", "winston-daily-rotate-file": "^5.0.0",
"yauzl": "^3.3.0" "yauzl": "^3.3.0"

28
pnpm-lock.yaml generated
View file

@ -21,8 +21,8 @@ importers:
specifier: ^3.0.2 specifier: ^3.0.2
version: 3.0.2 version: 3.0.2
systeminformation: systeminformation:
specifier: ^5.31.5 specifier: ^5.31.6
version: 5.31.5 version: 5.31.6
winston: winston:
specifier: ^3.19.0 specifier: ^3.19.0
version: 3.19.0 version: 3.19.0
@ -1608,8 +1608,8 @@ packages:
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'} engines: {node: '>=12'}
fs-extra@11.3.4: fs-extra@11.3.5:
resolution: {integrity: sha512-CTXd6rk/M3/ULNQj8FBqBWHYBVYybQ3VPBw0xGKFe3tuH7ytT6ACnvzpIQ3UZtB8yvUKC2cXn1a+x+5EVQLovA==} resolution: {integrity: sha512-eKpRKAovdpZtR1WopLHxlBWvAgPny3c4gX1G5Jhwmmw4XJj0ifSD5qB5TOo8hmA0wlRKDAOAhEE1yVPgs6Fgcg==}
engines: {node: '>=14.14'} engines: {node: '>=14.14'}
fs-extra@7.0.1: fs-extra@7.0.1:
@ -2223,8 +2223,8 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true hasBin: true
node-abi@4.30.0: node-abi@4.31.0:
resolution: {integrity: sha512-D7v3slBz2jgsBLCY9FnFsD0nlXvuKd49Pl9L+Vj+7ZlivHsLK2mkekQo7vZwYco+kyb4OJlaWfYdr3+27vfYtA==} resolution: {integrity: sha512-Erq5w/t3syw3s4sDsUaX4QttIdBPsGKTT1DTRsCkTonGggczhlDKm/wDX3o+HPJpQ41EjXCbcmXf0tgr5YZJXw==}
engines: {node: '>=22.12.0'} engines: {node: '>=22.12.0'}
node-addon-api@1.7.2: node-addon-api@1.7.2:
@ -2663,8 +2663,8 @@ packages:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'} engines: {node: '>=8'}
systeminformation@5.31.5: systeminformation@5.31.6:
resolution: {integrity: sha512-5SyLdip4/3alxD4Kh+63bUQTJmu7YMfYQTC+koZy7X73HgNqZSD2P4wOZQWtUncvPvcEmnfIjCoygN4MRoEejQ==} resolution: {integrity: sha512-Uv2b2uGGM6ns+26czgW2cYRabYdnswM0ddSOOlryHOaelzsmDSet1iM/NT7VOYxW8x/BW+HkY+b1Ve2pLTSGSA==}
engines: {node: '>=8.0.0'} engines: {node: '>=8.0.0'}
os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android] os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android]
hasBin: true hasBin: true
@ -3236,7 +3236,7 @@ snapshots:
dependencies: dependencies:
'@malept/cross-spawn-promise': 2.0.0 '@malept/cross-spawn-promise': 2.0.0
debug: 4.4.3 debug: 4.4.3
node-abi: 4.30.0 node-abi: 4.31.0
node-api-version: 0.2.1 node-api-version: 0.2.1
node-gyp: 12.3.0 node-gyp: 12.3.0
read-binary-file-arch: 1.0.6 read-binary-file-arch: 1.0.6
@ -3249,7 +3249,7 @@ snapshots:
'@malept/cross-spawn-promise': 2.0.0 '@malept/cross-spawn-promise': 2.0.0
debug: 4.4.3 debug: 4.4.3
dir-compare: 4.2.0 dir-compare: 4.2.0
fs-extra: 11.3.4 fs-extra: 11.3.5
minimatch: 9.0.9 minimatch: 9.0.9
plist: 3.1.0 plist: 3.1.0
transitivePeerDependencies: transitivePeerDependencies:
@ -3259,7 +3259,7 @@ snapshots:
dependencies: dependencies:
cross-dirname: 0.1.0 cross-dirname: 0.1.0
debug: 4.4.3 debug: 4.4.3
fs-extra: 11.3.4 fs-extra: 11.3.5
minimist: 1.2.8 minimist: 1.2.8
postject: 1.0.0-alpha.6 postject: 1.0.0-alpha.6
transitivePeerDependencies: transitivePeerDependencies:
@ -4432,7 +4432,7 @@ snapshots:
jsonfile: 6.2.1 jsonfile: 6.2.1
universalify: 2.0.1 universalify: 2.0.1
fs-extra@11.3.4: fs-extra@11.3.5:
dependencies: dependencies:
graceful-fs: 4.2.11 graceful-fs: 4.2.11
jsonfile: 6.2.1 jsonfile: 6.2.1
@ -5266,7 +5266,7 @@ snapshots:
nanoid@3.3.12: {} nanoid@3.3.12: {}
node-abi@4.30.0: node-abi@4.31.0:
dependencies: dependencies:
semver: 7.7.4 semver: 7.7.4
@ -5778,7 +5778,7 @@ snapshots:
dependencies: dependencies:
has-flag: 4.0.0 has-flag: 4.0.0
systeminformation@5.31.5: {} systeminformation@5.31.6: {}
tabbable@6.4.0: {} tabbable@6.4.0: {}