Skip to content

Commit a9435a4

Browse files
committed
3.102
1 parent be26da2 commit a9435a4

9 files changed

Lines changed: 187 additions & 78 deletions

File tree

CHANGELOG.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
3.102
2+
* 修复文件描述符泄漏的问题
3+
* 支持从远程文件服务器加载启动配置
4+
* 现在已上传 armeabi-v7a 的服务端
5+
* 修复 magisk 下安装根证书失败的问题
6+
* 修复配置解析错误的问题
7+
* 轻微的UI调整
8+
19
3.98
210
* 加入 crontab, vi 命令
311

README.md

Lines changed: 144 additions & 72 deletions
Large diffs are not rendered by default.

image/detection.gif

1 MB
Loading

lamda/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# Distributed under MIT license.
44
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5-
__version__ = "3.98"
5+
__version__ = "3.102"

lamda/const.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,30 @@
3434
PERMISSION_READ_CONTACTS = "android.permission.READ_CONTACTS"
3535
PERMISSION_ACCESS_BACKGROUND_LOCATION = "android.permission.ACCESS_BACKGROUND_LOCATION"
3636
PERMISSION_ACCESS_MEDIA_LOCATION = "android.permission.ACCESS_MEDIA_LOCATION"
37+
38+
# Android activity flags
39+
FLAG_ACTIVITY_BROUGHT_TO_FRONT = 0x00400000
40+
FLAG_ACTIVITY_CLEAR_TASK = 0x00008000
41+
FLAG_ACTIVITY_CLEAR_TOP = 0x04000000
42+
FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS = 0x00800000
43+
FLAG_ACTIVITY_FORWARD_RESULT = 0x02000000
44+
FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY = 0x00100000
45+
FLAG_ACTIVITY_LAUNCH_ADJACENT = 0x00001000
46+
FLAG_ACTIVITY_MATCH_EXTERNAL = 0x00000800
47+
48+
FLAG_ACTIVITY_MULTIPLE_TASK = 0x08000000
49+
FLAG_ACTIVITY_NEW_DOCUMENT = 0x00080000
50+
FLAG_ACTIVITY_NEW_TASK = 0x10000000
51+
FLAG_ACTIVITY_NO_ANIMATION = 0x00010000
52+
FLAG_ACTIVITY_NO_HISTORY = 0x40000000
53+
FLAG_ACTIVITY_NO_USER_ACTION = 0x00040000
54+
55+
FLAG_ACTIVITY_PREVIOUS_IS_TOP = 0x01000000
56+
FLAG_ACTIVITY_REORDER_TO_FRONT = 0x00020000
57+
FLAG_ACTIVITY_REQUIRE_DEFAULT = 0x00000200
58+
FLAG_ACTIVITY_REQUIRE_NON_BROWSER = 0x00000400
59+
60+
FLAG_ACTIVITY_RESET_TASK_IF_NEEDED = 0x00200000
61+
FLAG_ACTIVITY_RETAIN_IN_RECENTS = 0x00002000
62+
FLAG_ACTIVITY_SINGLE_TOP = 0x20000000
63+
FLAG_ACTIVITY_TASK_ON_HOME = 0x00004000

tools/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,6 @@ bash ssh.sh 192.168.1.2
274274
```
275275
即可。
276276

277-
同样,对于不同网段但通过USB连接的设备,也可以
278-
```bash
279-
bash ssh.sh localhost
280-
```
281-
282277
## scp.sh
283278

284279
使用 `scp` 复制设备上的文件到本地。

tools/magisk/common/service.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ port=65000
88
sleep 30
99
# where to locate properties.local
1010
export CFGDIR=${base}/etc
11+
export ca_store_remount=true
1112
if [ -f "${cert}" ]; then
1213
$launch --port=${port} --certificate=${cert}
1314
else

tools/magisk/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ fi
2323
ui_print "- Extracting server files"
2424
$BB tar -xzf $SERVER
2525

26+
ui_print "- Placing configs"
27+
mkdir -p /data/usr
28+
cp -af $TMPDIR/adb_keys /data/usr/.adb_keys
29+
2630
mkdir -p $CONFDIR
2731

2832
cp -af $TMPDIR/properties.local $CONFDIR

tools/magisk/uninstall.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/system/bin/sh
22
MODPATH=${0%/*}
3+
4+
rm -rf /data/usr

0 commit comments

Comments
 (0)