Commit 91e4a31b authored by nanahira's avatar nanahira

cleanup

parent 64134a21
Pipeline #4051 passed with stages
in 5 minutes and 28 seconds
......@@ -213,7 +213,7 @@ app.on('ready', async () => {
createTray();
}
if (process.env['NODE_ENV'] === 'production') {
let updateTempPath = '~/.cache/mycard-updater'
/*let updateTempPath = '~/.cache/mycard-updater'
if (process.platform === 'win32') {
updateTempPath = `${process.env.LOCALAPPDATA}\\mycard-updater`
} else if (process.platform === 'darwin') {
......@@ -221,7 +221,7 @@ app.on('ready', async () => {
}
try {
await require('fs').promises.mkdir(updateTempPath, {recursive: true});
} catch(e) {}
} catch(e) {}*/
await autoUpdater.checkForUpdates();
}
});
......
{
"name": "mycard",
"version": "3.0.41",
"version": "3.0.42",
"description": "moecube",
"keywords": [],
"author": "zh99998 <zh99998@gmail.com>",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment