mirror of
https://github.com/putyy/res-downloader.git
synced 2026-01-12 06:04:55 +08:00
win7支持,修复目录缓存失效
This commit is contained in:
@@ -69,6 +69,8 @@ global.resdConfig = {
|
||||
}
|
||||
|
||||
// app.whenReady().then(createWindow)
|
||||
// 修复部分机型GPU主窗口空白错误
|
||||
app.disableHardwareAcceleration();
|
||||
|
||||
app.on('window-all-closed', () => {
|
||||
mainWindow = null
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "res-downloader",
|
||||
"version": "2.2.0",
|
||||
"version": "3.0.0",
|
||||
"main": "dist-electron/main/index.js",
|
||||
"description": "res-downloader(爱享素材下载器),支持视频号、小程序、抖音、快手、小红书、酷狗音乐、qq音乐、qq短视频等",
|
||||
"homepage": "https://github.com/putyy/res-downloader",
|
||||
@@ -32,8 +32,8 @@
|
||||
"@vitejs/plugin-vue": "^4.3.3",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"crypto-js": "^4.1.1",
|
||||
"electron": "^26.0.0",
|
||||
"electron-builder": "^24.6.3",
|
||||
"electron": "^22.3.27",
|
||||
"electron-builder": "^23.6.0",
|
||||
"electron-is-dev": "^2.0.0",
|
||||
"electron-log": "^4.4.8",
|
||||
"element-plus": "^2.3.12",
|
||||
@@ -59,6 +59,7 @@
|
||||
"dependencies": {
|
||||
"axios": "^1.5.0",
|
||||
"hoxy": "^3.3.1",
|
||||
"http-mitm-proxy": "^1.1.0",
|
||||
"tunnel-agent": "^0.6.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ const selectSaveDir = () => {
|
||||
}
|
||||
|
||||
const onSetting = () => {
|
||||
localStorageCache.set("resd_config", JSON.stringify(formData.value))
|
||||
localStorageCache.set("resd_config", JSON.stringify(formData.value), -1)
|
||||
ipcRenderer.invoke('invoke_set_config', Object.assign({}, formData.value))
|
||||
if (proxy_old.value != formData.value.proxy || port_old.value != formData.value.port){
|
||||
ipcRenderer.invoke('invoke_window_restart')
|
||||
|
||||
Reference in New Issue
Block a user