mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-27 23:52:50 +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'));
|
const userInfo = ref(window.rubick.dbStorage.getItem('rubick-user-info'));
|
||||||
|
|
||||||
service.getUserInfo({ openId: userInfo.value.openId }).then((res) => {
|
// service.getUserInfo({ openId: userInfo.value.openId }).then((res) => {
|
||||||
userInfo.value = res;
|
// userInfo.value = res;
|
||||||
});
|
// });
|
||||||
|
|
||||||
const setConfig = debounce(() => {
|
const setConfig = debounce(() => {
|
||||||
remote.getGlobal('OP_CONFIG').set(
|
remote.getGlobal('OP_CONFIG').set(
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "rubick",
|
"name": "rubick",
|
||||||
"version": "2.4.4",
|
"version": "2.4.5",
|
||||||
"author": "muwoo <2424880409@qq.com>",
|
"author": "muwoo <2424880409@qq.com>",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"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
|
// 截图方法windows
|
||||||
export const screenWindow = (cb) => {
|
export const screenWindow = (cb) => {
|
||||||
const url = path.resolve(__static, 'PrintScr.exe');
|
const url = path.resolve(__static, 'ScreenCapture.exe');
|
||||||
const screen_window = execFile(url);
|
const screen_window = execFile(url);
|
||||||
screen_window.on('exit', (code) => {
|
screen_window.on('exit', (code) => {
|
||||||
if (code) {
|
if (code) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user