diff --git a/feature/src/views/settings/user-info.vue b/feature/src/views/settings/user-info.vue index a07d58b..170428b 100644 --- a/feature/src/views/settings/user-info.vue +++ b/feature/src/views/settings/user-info.vue @@ -151,9 +151,9 @@ state.custom = perf.custom || {}; const userInfo = ref(window.rubick.dbStorage.getItem('rubick-user-info')); -service.getUserInfo({ openId: userInfo.value.openId }).then((res) => { - userInfo.value = res; -}); +// service.getUserInfo({ openId: userInfo.value.openId }).then((res) => { +// userInfo.value = res; +// }); const setConfig = debounce(() => { remote.getGlobal('OP_CONFIG').set( diff --git a/package.json b/package.json index a880c17..f58ec22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rubick", - "version": "2.4.4", + "version": "2.4.5", "author": "muwoo <2424880409@qq.com>", "private": true, "scripts": { diff --git a/public/PrScrn.dll b/public/PrScrn.dll deleted file mode 100644 index 85695cd..0000000 Binary files a/public/PrScrn.dll and /dev/null differ diff --git a/public/PrintScr.exe b/public/PrintScr.exe deleted file mode 100644 index fb2fa70..0000000 Binary files a/public/PrintScr.exe and /dev/null differ diff --git a/public/ScreenCapture.exe b/public/ScreenCapture.exe new file mode 100644 index 0000000..f90f348 Binary files /dev/null and b/public/ScreenCapture.exe differ diff --git a/src/core/screen-capture/index.ts b/src/core/screen-capture/index.ts index 21b9e7b..913d2e7 100644 --- a/src/core/screen-capture/index.ts +++ b/src/core/screen-capture/index.ts @@ -5,7 +5,7 @@ import path from 'path'; // 截图方法windows export const screenWindow = (cb) => { - const url = path.resolve(__static, 'PrintScr.exe'); + const url = path.resolve(__static, 'ScreenCapture.exe'); const screen_window = execFile(url); screen_window.on('exit', (code) => { if (code) {