mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-26 22:52:48 +08:00
fix: 修复账户问题&替换windows截图工具
This commit is contained in:
parent
62bcc345da
commit
bd871a1320
@ -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(
|
||||
|
@ -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
BIN
public/ScreenCapture.exe
Normal file
Binary file not shown.
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user