[Fix] Minor UX tweaks: freezeOverride components

This commit is contained in:
Minoricew
2025-06-11 00:35:49 +08:00
parent a639ae0ac6
commit 423142d785
8 changed files with 670 additions and 662 deletions

0
src/aura/init/main/ipcModules/fsIpcHandler.js Normal file → Executable file
View File

0
src/aura/types/main/ipc/fs.d.ts vendored Normal file → Executable file
View File

View File

@@ -36,9 +36,13 @@ const showToast = (entry) => {
showReloadToast();
} else if (entry.restart) {
showRelaunchToast();
} else if (entry.restartPLS) {
}
/*
else if (entry.restartPLS) {
showRelaunchPLSToast();
}
*/
};
const insertOrRemoveEl = (parent, child, isInsert = true) => {

View File

@@ -62,7 +62,7 @@ const deviceSecuritySettings = [
},
defaultValue: "allFreeze",
templates: ["allFreeze", "systemOnly", "exceptSecondDisk"],
templateLabels: ["全部冻结", "仅系统盘", "第二磁盘"],
templateLabels: ["全部冻结", "仅系统盘", "第二磁盘除外"],
valueGetter: () => {
return global.__HUGO_AURA__.plsRules.client.security.uploadFreezeInfo
.rewriteMode;

View File

@@ -56,7 +56,7 @@
margin-left: 0.375rem;
margin-right: 0.375rem;
/* transition: all 0.5s; */
transition: all 0.5s;
/* 没有用, 因为元素全被重新创建了 */
}
@@ -66,6 +66,10 @@
border: 0.5px solid rgba(0, 0, 0, 0.125);
}
.acs-bc-dsc-fop-disk-el.active:hover {
background-color: #4e8df2;
}
.acs-bc-dsc-fop-main-hint-area {
display: flex;
flex-direction: row;

0
src/aura/utils/crypto.js Normal file → Executable file
View File