Skip to content

Commit

Permalink
fix: 优化安装背景图
Browse files Browse the repository at this point in the history
  • Loading branch information
BWrong committed Apr 24, 2022
1 parent eda84cf commit 0868c8d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 61 deletions.
Binary file removed build/background.png
Binary file not shown.
Binary file added build/background.tiff
Binary file not shown.
21 changes: 0 additions & 21 deletions electron-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ module.exports = {
directories: {
output: 'dist_release/${version}'
},
"publish": [
{
"provider": "generic",
"url": "http://localhost:8888/",//更新服务器地址,可为空
}
],
files: ['dist'],
mac: {
artifactName: '${productName}_${version}.${ext}',
Expand All @@ -34,21 +28,6 @@ module.exports = {
icon: './build/icons/icon.icns',
target: 'AppImage'
},
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
nsis: {
oneClick: false,
perMachine: false,
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"electron-dl": "^3.3.1",
"electron-log": "^4.4.6",
"electron-store": "^8.0.1",
"electron-updater": "^5.0.1",
"naive-ui": "^2.28.2",
"pinia": "^2.0.13",
"vue": "^3.2.33",
Expand Down
10 changes: 0 additions & 10 deletions packages/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,3 @@ app.on('window-all-closed', () => {
if (process.platform !== 'darwin') app.quit();
});
app.whenReady().then(restoreOrCreateWindow).catch((e) => console.error('Failed create window:', e));

/**
* Check new app version in production mode only
*/
// if (import.meta.env.PROD) {
// app.whenReady()
// .then(() => import('electron-updater'))
// .then(({autoUpdater}) => autoUpdater.checkForUpdatesAndNotify())
// .catch((e) => console.error('Failed check updates:', e));
// }
29 changes: 0 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -914,11 +914,6 @@
"@types/node" "*"
xmlbuilder ">=11.0.1"

"@types/semver@^7.3.6":
version "7.3.9"
resolved "https://registry.npmmirror.com/@types/semver/-/semver-7.3.9.tgz#152c6c20a7688c30b967ec1841d31ace569863fc"
integrity sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==

"@types/verror@^1.10.3":
version "1.10.5"
resolved "https://registry.npmmirror.com/@types/verror/-/verror-1.10.5.tgz#2a1413aded46e67a1fe2386800e291123ed75eb1"
Expand Down Expand Up @@ -2632,20 +2627,6 @@ electron-to-chromium@^1.4.84:
resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.118.tgz#2d917c71712dac9652cc01af46c7d0bd51552974"
integrity sha512-maZIKjnYDvF7Fs35nvVcyr44UcKNwybr93Oba2n3HkKDFAtk0svERkLN/HyczJDS3Fo4wU9th9fUQd09ZLtj1w==

electron-updater@^5.0.1:
version "5.0.1"
resolved "https://registry.npmmirror.com/electron-updater/-/electron-updater-5.0.1.tgz#327915f1b2e573daf1ce1d8102bcab93f4880c1a"
integrity sha512-dNnXPCqYmergXy3jgg4UICuD50Orug9GQe/5xfHy+BE2Fy0icB0QE+y6iQWdCDf7yeONxwMBf4HgIkGG5pIaVg==
dependencies:
"@types/semver" "^7.3.6"
builder-util-runtime "9.0.0"
fs-extra "^10.0.0"
js-yaml "^4.1.0"
lazy-val "^1.0.5"
lodash.escaperegexp "^4.1.2"
lodash.isequal "^4.5.0"
semver "^7.3.5"

electron@^18.1.0:
version "18.1.0"
resolved "https://registry.npmmirror.com/electron/-/electron-18.1.0.tgz#d92b76f301af1a8728adff8d6eeb42382e218fe8"
Expand Down Expand Up @@ -4335,16 +4316,6 @@ lodash-es@^4.17.21:
resolved "https://registry.npmmirror.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==

lodash.escaperegexp@^4.1.2:
version "4.1.2"
resolved "https://registry.npmmirror.com/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz#64762c48618082518ac3df4ccf5d5886dae20347"
integrity sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==

lodash.isequal@^4.5.0:
version "4.5.0"
resolved "https://registry.npmmirror.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==

lodash.ismatch@^4.4.0:
version "4.4.0"
resolved "https://registry.npmmirror.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37"
Expand Down

0 comments on commit 0868c8d

Please sign in to comment.