优化bug
This commit is contained in:
+2
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user