feat: 添加wayland检查和消息弹窗位置失效说明

This commit is contained in:
H3CoF6
2026-03-21 02:53:03 +08:00
parent 45d4e74c98
commit 539f854dbf
5 changed files with 78 additions and 3 deletions

View File

@@ -1,10 +1,9 @@
import { app } from 'electron'
import { join } from 'path'
import { existsSync, readdirSync, statSync, readFileSync } from 'fs'
import { execFile, exec } from 'child_process'
import { execFile, exec, spawn } from 'child_process'
import { promisify } from 'util'
import { createRequire } from 'module';
import { spawn } from 'child_process'
const require = createRequire(import.meta.url);
const execFileAsync = promisify(execFile)