fix: ENOENT: no such file or directory(config.yaml)

This commit is contained in:
ezequielnick 2025-09-10 19:21:34 +08:00
parent ecd92417e4
commit b21381062f
4 changed files with 13 additions and 5 deletions

View File

@ -6,8 +6,8 @@
<h3 align="center">Another <a href="https://github.com/MetaCubeX/mihomo">Mihomo</a> GUI</h3> <h3 align="center">Another <a href="https://github.com/MetaCubeX/mihomo">Mihomo</a> GUI</h3>
<p align="center"> <p align="center">
<a href="https://github.com/mihomo-party-org/mihomo-party/releases"> <a href="https://github.com/mihomo-party-org/clash-party/releases">
<img src="https://img.shields.io/github/release/mihomo-party-org/mihomo-party/all.svg"> <img src="https://img.shields.io/github/release/mihomo-party-org/clash-party/all.svg">
</a> </a>
<a href="https://t.me/mihomo_party_group"> <a href="https://t.me/mihomo_party_group">
<img src="https://img.shields.io/badge/Telegram-Group-blue?logo=telegram"> <img src="https://img.shields.io/badge/Telegram-Group-blue?logo=telegram">
@ -30,7 +30,7 @@
### 特性 ### 特性
- [x] 一键 Smart Core 规则覆写,基于 AI 模型自动选择最优节点 详细介绍请看 [这里](https://mihomo.party/docs/guide/smart-core) - [x] 一键 Smart Core 规则覆写,基于 AI 模型自动选择最优节点 详细介绍请看 [这里](https://clashparty.org/docs/guide/smart-core)
- [x] 开箱即用,无需服务模式的 Tun - [x] 开箱即用,无需服务模式的 Tun
- [x] 多种配色主题可选UI 焕然一新 - [x] 多种配色主题可选UI 焕然一新
- [x] 支持大部分 Mihomo(Clash Meta) 常用配置修改 - [x] 支持大部分 Mihomo(Clash Meta) 常用配置修改
@ -39,4 +39,4 @@
- [x] 强大的覆写功能,任意修订配置文件 - [x] 强大的覆写功能,任意修订配置文件
- [x] 深度集成 Sub-Store轻松管理订阅 - [x] 深度集成 Sub-Store轻松管理订阅
### 安装/使用指南见 [官方文档](https://mihomo.party) ### 安装/使用指南见 [官方文档](https://clashparty.org)

View File

@ -1,3 +1,9 @@
## 1.8.8
### 修复 (Fix)
- MacOS 首次启动时的 ENOENT: no such file or directory(config.yaml)
- 自动更新获取老的文件名称
## 1.8.7 ## 1.8.7
### 新功能 (Feat) ### 新功能 (Feat)

View File

@ -1,6 +1,6 @@
{ {
"name": "mihomo-party", "name": "mihomo-party",
"version": "1.8.7", "version": "1.8.8",
"description": "Clash Party", "description": "Clash Party",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "mihomo-party-org", "author": "mihomo-party-org",

View File

@ -221,6 +221,8 @@ app.whenReady().then(async () => {
// Set app user model id for windows // Set app user model id for windows
electronApp.setAppUserModelId('party.mihomo.app') electronApp.setAppUserModelId('party.mihomo.app')
await initBasic()
await checkHighPrivilegeCoreEarly() await checkHighPrivilegeCoreEarly()
await initAdminStatus() await initAdminStatus()