Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
allow noadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Sep 26, 2024
1 parent 28ac626 commit 6eab062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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 目录备份失败的问题
- 再次修复便携版自动更新失败的问题
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6eab062

Please sign in to comment.