mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-15 19:22:31 +08:00
allow noadmin
This commit is contained in:
parent
2fec36d41b
commit
037b01e08c
|
@ -1,9 +1,7 @@
|
|||
### Breaking Changes
|
||||
### New Features
|
||||
|
||||
- 此版本将Sub-Store后端默认监听端口修改为38324,如果此前使用了内置Sub-Store的订阅链接,请修改端口或重新导入
|
||||
- 旧的 Telegram 群组炸了,麻烦大家添加新的群组 https://t.me/mihomo_party_group ,只此一个,大家谨防假冒群组
|
||||
- Windows 允许添加 `noadmin` 参数以普通权限启动程序
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- 修复 url-test 代理组节点无法取消固定的问题
|
||||
- 修复 WebDAV 备份时 Sub-Store 目录备份失败的问题
|
||||
- 再次修复便携版自动更新失败的问题
|
||||
|
|
|
@ -19,7 +19,7 @@ import path from 'path'
|
|||
|
||||
let quitTimeout: NodeJS.Timeout | null = null
|
||||
export let mainWindow: BrowserWindow | null = null
|
||||
if (process.platform === 'win32' && !is.dev) {
|
||||
if (process.platform === 'win32' && !is.dev && !process.argv.includes('noadmin')) {
|
||||
try {
|
||||
createElevateTask()
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user