allow noadmin

This commit is contained in:
pompurin404 2024-09-26 13:33:48 +08:00
parent 2fec36d41b
commit 037b01e08c
No known key found for this signature in database
2 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,7 @@
### Breaking Changes ### New Features
- 此版本将Sub-Store后端默认监听端口修改为38324如果此前使用了内置Sub-Store的订阅链接请修改端口或重新导入 - Windows 允许添加 `noadmin` 参数以普通权限启动程序
- 旧的 Telegram 群组炸了,麻烦大家添加新的群组 https://t.me/mihomo_party_group ,只此一个,大家谨防假冒群组
### Bug Fixes ### Bug Fixes
- 修复 url-test 代理组节点无法取消固定的问题 - 再次修复便携版自动更新失败的问题
- 修复 WebDAV 备份时 Sub-Store 目录备份失败的问题

View File

@ -19,7 +19,7 @@ import path from 'path'
let quitTimeout: NodeJS.Timeout | null = null let quitTimeout: NodeJS.Timeout | null = null
export let mainWindow: BrowserWindow | 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 { try {
createElevateTask() createElevateTask()
} catch (e) { } catch (e) {