Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
修复离线模式不可用
Browse files Browse the repository at this point in the history
  • Loading branch information
liuran001 authored Oct 9, 2023
1 parent 08b1c23 commit e46b9c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
13 changes: 0 additions & 13 deletions app/src/main/assets/usr/kr-script/Fix_Curl.sh

This file was deleted.

2 changes: 0 additions & 2 deletions app/src/main/assets/usr/kr-script/switchs/Change_Local_set.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ if [[ -f ~/offline2 ]]; then
rm ~/offline2
else
touch ~/offline2
rm -f $Load
cp -f $Load.bak $Load
fi
9 changes: 1 addition & 8 deletions app/src/main/assets/usr/pages/GJZS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- START -->
<switch interruptible="false" shell="hidden">
<title>在线模式开关</title>
<desc>关闭此开关将不会从服务器获取模块/应用仓库列表/更新检测/公告推送,关闭此开关后您仍可使用在线功能,但是功能可能是过时的</desc>
<desc>关闭此开关将不再从服务器获取模块/应用仓库列表/更新检测/公告推送,关闭此开关后您仍可使用在线功能,但功能将是过时的</desc>
<get>. ./switchs/Change_Local_get.sh</get>
<set>. ./switchs/Change_Local_set.sh</set>
</switch>
Expand Down Expand Up @@ -66,13 +66,6 @@
<set>pm clear $Package_name</set>
</action>
<!-- END -->
<!-- START -->
<action confirm="true" auto-off="true" interruptible="false">
<title>尝试修复curl</title>
<desc>无法正常下载文件时可以尝试此功能</desc>
<set>. ./Fix_Curl.sh</set>
</action>
<!-- END -->
<!-- START -->
<action confirm="true" auto-off="true" interruptible="false">
<title>一键卸载「搞机助手·R」</title>
Expand Down

0 comments on commit e46b9c7

Please sign in to comment.