From ba2e699ca53ed82ccc2ef4c546649a83da2e6cc2 Mon Sep 17 00:00:00 2001 From: KOWX712 Date: Mon, 2 Dec 2024 00:24:56 +0800 Subject: [PATCH] change path --- module/common/{.default => default} | 0 module/common/temp/uninstall.sh | 2 +- module/install_func.sh | 2 +- module/uninstall.sh | 2 +- module/webroot/index.js | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename module/common/{.default => default} (100%) diff --git a/module/common/.default b/module/common/default similarity index 100% rename from module/common/.default rename to module/common/default diff --git a/module/common/temp/uninstall.sh b/module/common/temp/uninstall.sh index 35fab9a..a8c3af3 100644 --- a/module/common/temp/uninstall.sh +++ b/module/common/temp/uninstall.sh @@ -17,4 +17,4 @@ if [ -d "$TS" ]; then rm -rf "$TS/webroot" fi fi -xxd -r -p "$MODPATH/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml" +xxd -r -p "$MODPATH/default" | base64 -d > "$SCRIPT_DIR/keybox.xml" diff --git a/module/install_func.sh b/module/install_func.sh index ea8dd27..7d50827 100644 --- a/module/install_func.sh +++ b/module/install_func.sh @@ -7,7 +7,7 @@ initialize() { fi cp "$MODPATH/module.prop" "$COMPATH/temp/module.prop" - cp "$COMPATH/.default" "$COMPATH/temp/.default" + cp "$COMPATH/default" "$COMPATH/temp/default" set_perm $COMPATH/get_extra.sh 0 2000 0755 set_perm $COMPATH/get_WebUI.sh 0 2000 0755 diff --git a/module/uninstall.sh b/module/uninstall.sh index 3333ff2..2d104fc 100644 --- a/module/uninstall.sh +++ b/module/uninstall.sh @@ -16,4 +16,4 @@ if [ -d "$TS" ]; then rm -rf "$TS/webroot" fi fi -xxd -r -p "$MODPATH/common/.default" | base64 -d > "$SCRIPT_DIR/keybox.xml" +xxd -r -p "$MODPATH/common/default" | base64 -d > "$SCRIPT_DIR/keybox.xml" diff --git a/module/webroot/index.js b/module/webroot/index.js index 861118d..e595cc2 100644 --- a/module/webroot/index.js +++ b/module/webroot/index.js @@ -390,7 +390,7 @@ async function selectDenylistApps() { // Function to replace aosp kb async function aospkb() { try { - const sourcePath = `${basePath}.default`; + const sourcePath = `${basePath}default`; const destinationPath = "/data/adb/tricky_store/keybox.xml"; await execCommand(`xxd -r -p ${sourcePath} | base64 -d > ${destinationPath}`); console.log("AOSP keybox copied successfully.");