mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-29 09:00:03 +08:00
refactor: mihomo ipc (#7601)
* refactor: mihomo ipc request * refactor: remove redundant write locks and await on mihomo handle * fix(rule): handle non-string types in ProviderButton labels * refactor: handle non-string value types in RuleItem component * refactor(tauri): remove unnecessary await in get_base_config call * chore: update tauri-plugin-mihomo deps * refactor: rename ConnectionId to WsConnectionId * chore: update tauri-plugin-mihomo-api dependency reference * chore(config): use Proxy::default in profile test initialization
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
requestDevQuit,
|
||||
waitForPortClosed,
|
||||
} from './dev-control.mjs'
|
||||
import { windowsElevationInvocation } from './dev-service.mjs'
|
||||
import {
|
||||
buildTauriInvocation,
|
||||
mirrorChildExit,
|
||||
@@ -20,7 +21,6 @@ import {
|
||||
runDevCommand,
|
||||
terminateDetachedGroup,
|
||||
} from './dev.mjs'
|
||||
import { windowsElevationInvocation } from './dev-service.mjs'
|
||||
|
||||
const token = 'ab'.repeat(32)
|
||||
const posixOnly = {
|
||||
|
||||
@@ -33,7 +33,7 @@ async function sendTelegramNotification() {
|
||||
log_info(`Download URL: ${downloadUrl}`)
|
||||
|
||||
// 读取发布说明和下载地址
|
||||
let releaseContent = ''
|
||||
let releaseContent
|
||||
try {
|
||||
releaseContent = readFileSync('release.txt', 'utf-8')
|
||||
log_info('成功读取 release.txt 文件')
|
||||
|
||||
Reference in New Issue
Block a user