Add more detail

Add more detail in help menu and clarity keybox operation prompt.
This commit is contained in:
KOWX712
2024-11-21 23:04:38 +08:00
parent d9eb97cb3c
commit 9cbb73bab0
2 changed files with 7 additions and 6 deletions

View File

@@ -51,7 +51,7 @@
<li>Deselect Unnecessary
<ul>
<li>Unnecessary category: Xposed module, root manager, root-related apps, and general apps
that never check bootloader status.</li>
that never check bootloader status. This option requrie Internet connection.</li>
<ul>
<li>Contribute to <a
href="https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/more-excldue.json"
@@ -66,7 +66,8 @@
</li>
<li>AOSP & Valid Keybox
<ul>
<li>Replace tricky store keybox. AOSP keybox will be replaced if there's no more valid keybox.</li>
<li>Replace tricky store keybox. AOSP keybox will be replaced if there's no more valid
keybox. Valid keybox option require Internet connection.</li>
<li><br></li>
</ul>
</li>
@@ -92,8 +93,8 @@
<li id="deselect-all">Deselect All</li>
<li id="select-denylist">Select From DenyList</li>
<li id="deselect-unnecessary">Deselect Unnecessary</li>
<li id="aospkb">AOSP Keybox</li>
<li id="extrakb">Valid Keybox</li>
<li id="aospkb">Set AOSP Keybox (Default)</li>
<li id="extrakb">Set Valid Keybox</li>
</ul>
</div>
</div>

View File

@@ -226,7 +226,7 @@ async function aospkb() {
const destinationPath = "/data/adb/tricky_store/keybox.xml";
await execCommand(`xxd -r -p ${sourcePath} | base64 -d > ${destinationPath}`);
console.log("AOSP keybox copied successfully.");
showPrompt("keybox.xml successfully updated with AOSP keybox.");
showPrompt("AOSP keybox set successfully.");
} catch (error) {
console.error("Failed to copy AOSP keybox:", error);
showPrompt("Failed to update keybox.", false);
@@ -244,7 +244,7 @@ async function extrakb() {
}
await execCommand(`xxd -r -p ${sourcePath} | base64 -d > ${destinationPath}`);
console.log("Valid keybox copied successfully.");
showPrompt("Successfully updated with valid keybox.");
showPrompt("Valid keybox set successfully.");
} catch (error) {
console.error("Failed to copy valid keybox:", error);
await aospkb();