[ Feat] <Settings UI> Support custom access methods

1. [/] 修复了 PLS 下载时, 目录未递归创建导致的 ENOENT 错误。
2. [+] 现在可以通过多种方式访问 Aura 设置 UI 了, 更多详细信息, 请参见 #18。
3. [↑] 优化了 Tooltip 的渲染逻辑。
This commit is contained in:
Minoricew
2025-06-13 16:24:10 +08:00
parent c0249693a8
commit 70ffa3f581
9 changed files with 284 additions and 31 deletions

View File

@@ -42,7 +42,7 @@ const composableFunctions = {
const dirName = path.dirname(targetPath);
if (!fs.existsSync(dirName)) {
fs.mkdirSync(dirName);
fs.mkdirSync(dirName, { recursive: true });
}
const httpModuleIns = url.startsWith("https") ? nodeHttps : nodeHttp;

View File

@@ -283,7 +283,7 @@ const applyPlsIpcHandler = (ipcMain) => {
}
try {
fs.mkdirSync(PLS_INSTALL_DIR);
fs.mkdirSync(PLS_INSTALL_DIR, { recursive: true });
return {
success: true,
data: {

View File

@@ -30,7 +30,14 @@
"settingsPasswordEnabled": false,
"settingsPasswordWithSalt": "32703D292460CC9A3B867494D6AD9A8E4A3ADF0FAA4D6867BC4D412CC3927D02E47C6D0B1763BB53E57B2241C6193433561CDA09D7C48CA03983072B876F0965",
"encryptConfig": false,
"appearance": {}
"appearance": {},
"uiAccessMethod": {
"showEntryIcon": true,
"fallbackAccessMethods": {
"hotkey": false,
"touch": false
}
}
},
"devTools": false
}