Skip to content

Commit 3ddd454

Browse files
committed
Upload file
1 parent 85de2e3 commit 3ddd454

6 files changed

Lines changed: 22 additions & 1 deletion

File tree

pio/src/main/assets/home/etc/lang/default.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,4 @@ build_time_text_1="ROM build time"
290290
build_time_text_2="Automatic: 0, can be changed, for example: 1766318047"
291291

292292
xoaoat_text_1="Clean oat and odex entries"
293+
open_activity_text="Open folder: "

pio/src/main/assets/home/etc/lang/hu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,4 @@ build_time_text_1="ROM build ideje"
290290
build_time_text_2="Automatikus: 0, módosítható, például: 1766318047"
291291

292292
xoaoat_text_1="Bejegyzések törlése oat és odex"
293+
open_activity_text="Mappa megnyitása: "

pio/src/main/assets/home/etc/lang/ru.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,4 @@ build_time_text_1="Время сборки ROM"
289289
build_time_text_2="Автоматически: 0, можно изменить, например: 1766318047"
290290

291291
xoaoat_text_1="Очистить элементы oat и odex"
292+
open_activity_text="Открыть папку: "

pio/src/main/assets/home/etc/lang/vi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ apex_text="Trình chỉnh sửa Apex"
286286
apex_text_1="Nén apex thành capex"
287287
apex_text_2="Danh sách hỗ trợ tệp: apex, capex"
288288

289+
# other
289290
build_time_text_1="Thời gian xây dựng rom"
290291
build_time_text_2="Tự động: 0, có thể thay đổi ví dụ: 1766318047"
291-
292292
xoaoat_text_1="Dọn dẹp mục oat và odex"
293+
open_activity_text="Mở thư mục: "

pio/src/main/assets/home/etc/lang/zh.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,4 @@ build_time_text_1="ROM 构建时间"
288288
build_time_text_2="自动:0,可更改,例如:1766318047"
289289

290290
xoaoat_text_1="清理 oat 和 odex 项"
291+
open_activity_text="打开文件夹:"

pio/src/main/assets/home/etc/tool-tree.rc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,17 @@ xml_print '<group>
115115
<title>'$utilities_text'</title>
116116
<desc>'$home_text_2'</desc>
117117
<option type="default" id="v1" auto-off="true" reload="true" interruptible="false" >'$feature_hide_text'</option>
118+
<option type="default" id="v2" auto-off="true" interruptible="false" >'$open_activity_text' ROM</option>
119+
<option type="default" id="v3" auto-off="true" interruptible="false" >'$open_activity_text' ROM (root-data)</option>
118120
<handler>
119121
if [ "$menu_id" == "v1" ];then
120122
[ "$(glog hide_show)" == 1 ] && slog hide_show 0 || slog hide_show 1
123+
elif [ "$menu_id" == "v2" ];then
124+
[ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
125+
echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://'$PACKAGE_NAME'.provider/external_files'${PTSD#$SDCARD_PATH}']"
126+
elif [ "$menu_id" == "v3" ];then
127+
[ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
128+
echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://'$PACKAGE_NAME'.provider/root'$SDH'/'$PTSH']"
121129
fi
122130
</handler>
123131
</page>
@@ -196,6 +204,8 @@ xml_print '<group>
196204
<option type="default" id="v1" auto-off="true" reload="true" interruptible="false" >'$feature_hide_text'</option>
197205
<option type="file" id="v2" suffix="zip" auto-off="true">'$more_text_3'</option>
198206
<option type="file" id="v3" suffix="jar" reload="true" auto-off="true">'$more_text_10' apkeditor.jar</option>
207+
<option type="default" id="v4" auto-off="true" interruptible="false" >'$open_activity_text' APK</option>
208+
<option type="default" id="v5" auto-off="true" interruptible="false" >'$open_activity_text' APK (root-data)</option>
199209
<handler>
200210
if [ "$menu_id" == "v1" ];then
201211
[ "$(glog hide_show2)" == 1 ] && slog hide_show2 0 || slog hide_show2 1
@@ -209,6 +219,12 @@ elif [ "$menu_id" == "v3" ];then
209219
echo "'$more_text_4' $file"
210220
echo
211221
cp -rf "$file" $ETC/apkeditor.jar || killtree "File copy error"
222+
elif [ "$menu_id" == "v4" ];then
223+
[ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
224+
echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://'$PACKAGE_NAME'.provider/external_files'${PTAD#$SDCARD_PATH}']"
225+
elif [ "$menu_id" == "v5" ];then
226+
[ "$(pm list packages bin.mt.plus)" ] && mttttt="-n bin.mt.plus/bin.mt.plus.Main"
227+
echo "am:[start $mttttt -a android.intent.action.SEND -t */* -d content://'$PACKAGE_NAME'.provider/root'$APK'/'$PTAH']"
212228
fi
213229
</handler>
214230
</page>

0 commit comments

Comments
 (0)