优化bug

This commit is contained in:
24kycj
2025-11-15 13:11:46 +08:00
parent 533739104e
commit 1d42f6b74b
8 changed files with 626 additions and 1075 deletions
+2 -1
View File
@@ -751,7 +751,8 @@
const remote = require('@electron/remote')
var path = require('path');
const exePath = !remote.app.isPackaged ? process.cwd() : path.dirname(process.execPath)
// 使用用户数据目录,避免写入需要管理员权限
const exePath = remote.app.getPath('userData')
const { ipcRenderer } = require('electron')
const { dialog } = require('@electron/remote')
var jrQrcode = require('jr-qrcode')