fix: 修复账户问题&替换windows截图工具

This commit is contained in:
王伟 2023-08-19 11:20:13 +08:00
parent 62bcc345da
commit bd871a1320
6 changed files with 5 additions and 5 deletions

View File

@ -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(

View File

@ -1,6 +1,6 @@
{
"name": "rubick",
"version": "2.4.4",
"version": "2.4.5",
"author": "muwoo <2424880409@qq.com>",
"private": true,
"scripts": {

Binary file not shown.

Binary file not shown.

BIN
public/ScreenCapture.exe Normal file

Binary file not shown.

View File

@ -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) {