Compare commits

..

No commits in common. "master" and "tmp" have entirely different histories.
master ... tmp

2 changed files with 4 additions and 9 deletions

@ -662,7 +662,7 @@ const createMainWindow = () => {
});
ipcMain.on('open-image', async(event, args) => {
var filename = `${imagesCacheDir}/img_${args.dataset.id}.jpg`;
var filename = `${imagesCacheDir}/img_${args.dataset.id}`;
fs.writeFileSync(filename, args.base64.replace(/^data:image\/png;base64,/, ''), 'base64');
shell.openItem(filename);

@ -57,13 +57,8 @@
"category": "Chat",
"executableName": "wewechat",
"target": [
{
"target": "deb",
"arch":[
"x64",
"arm64"
]
}
"deb",
"AppImage"
]
},
"win": {
@ -160,4 +155,4 @@
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.20.0"
}
}
}