Skip to content

Commit bf4237b

Browse files
committed
feat: support resetprop -c
1 parent 1473f49 commit bf4237b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webui/scripts/boot_hash.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ saveButton.addEventListener("click", async () => {
3737
echo "${inputValue}" > /data/adb/boot_hash
3838
chmod 644 /data/adb/boot_hash
3939
}
40-
`, { env: { PATH: "/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:$PATH" } })
40+
resetprop -c || true
41+
`, { env: { PATH: "$PATH:/data/adb/ksu/bin:/data/adb/ap/bin:/data/adb/magisk" } })
4142
.then(() => {
4243
showPrompt(getString("prompt_boot_hash_set"));
4344
bootHashDialog.close();

0 commit comments

Comments
 (0)