Skip to content

Commit cd6dde7

Browse files
committed
Update
1 parent a0b7c2a commit cd6dde7

3 files changed

Lines changed: 16 additions & 7 deletions

File tree

.github/plugin/ZAPK/initialize_module/index.bash

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ home() {
1111
<summary>'$lang_summary_path''$path_modun'</summary>
1212
<param name="uri_file_modun" value-sh="glog uri_file_modun" options-sh="findfile files $PTAD" required="required" label="@string/options_text" multiple="true"/>
1313
<param name="uri_adb_moduls" desc="'$lang_desc_adb'" placeholder="/system_ext/priv-app/Settings/Settings.apk" value-sh="glog uri_adb_moduls" type="text" />
14-
<param name="prop_modunls" desc="'$lang_desc_prop'" placeholder="ro.control_privapp_permissions=log" value-sh="cat '$path_modun'/system.prop 2>/dev/null" type="text" />
1514
<set>
1615
slog uri_adb_moduls "$uri_adb_moduls"
1716
slog uri_file_modun "$uri_file_modun"
1817
[ -f '$path_modun'/remove ] && rm -fr '$path_modun'/remove
1918
mkdir -p '$path_modun' '$path_modun2'
20-
echo "$prop_modunls" > '$path_modun2'/system.prop
2119
for vcc in $uri_file_modun; do
2220
if [ "$uri_adb_moduls" ]; then
2321
mkdir -p "'$path_modun2'${uri_adb_moduls%/*}"
@@ -51,6 +49,10 @@ description=Modified system files" | tee '$path_modun'/module.prop
5149
</action>
5250
</group>
5351
52+
<group>
53+
<editor title="'$lang_desc_prop'" file="'$path_modun'/system.prop" placeholder="ro.control_privapp_permissions=log"/>
54+
</group>
55+
5456
<group>
5557
<action>
5658
<title>'$lang_del_tile'</title>

app/src/main/assets/home/bin/taive

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,23 @@ if [ "$1" == '-h' ] || [ "$1" == '--help' ] || [ -z "$1" ]; then
66
fi
77

88
PROGRESS_FLAG=""
9-
109
if [ "$1" == '-#' ]; then
1110
PROGRESS_FLAG="-#"
1211
shift
12+
elif [ "$1" == '-c' ]; then
13+
PROGRESS_FLAG="-c"
14+
shift
1315
fi
1416

1517
SAVE_PATH="${2:-${1##*/}}"
16-
1718
if [ -z "$SAVE_PATH" ]; then
1819
SAVE_PATH="downloaded_file"
1920
fi
2021

21-
curl $PROGRESS_FLAG -L -H "$WEBS" "$1" -o "$SAVE_PATH"
22+
if [ "$PROGRESS_FLAG" == '-#' ]; then
23+
curl $PROGRESS_FLAG -L -H "$WEBS" "$1" -o "$SAVE_PATH"
24+
elif [ "$PROGRESS_FLAG" == '-c' ]; then
25+
curl -L -H "$WEBS" "$1" -o "$SAVE_PATH"
26+
else
27+
axel -H "$WEBS" -n 10 -o "$SAVE_PATH" "$1"
28+
fi

app/src/main/java/com/tool/tree/TextEditorActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,9 @@ class TextEditorActivity : AppCompatActivity() {
419419

420420
private fun setupSpecialCharsBar() {
421421
val chars = listOf(
422-
"Tab" to "\t", "|" to "|", "&" to "&",
422+
"Tab" to "\t", "$" to "$", "#" to "#",
423423
"\"" to "\"", "'" to "'", "/" to "/", "\\" to "\\",
424-
"$" to "$", "#" to "#", "{" to "{", "}" to "}",
424+
"|" to "|", "&" to "&", "{" to "{", "}" to "}",
425425
"(" to "(", ")" to ")", "[" to "[", "]" to "]",
426426
";" to ";", ":" to ":", "<" to "<", ">" to ">",
427427
"@" to "@", "!" to "!", "=" to "=", "+" to "+",

0 commit comments

Comments
 (0)