Skip to content

Commit

Permalink
feat: 完善配置
Browse files Browse the repository at this point in the history
  • Loading branch information
sothx committed Mar 19, 2024
1 parent 7ac3612 commit 9b5e373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_module_template/magicWindow/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# 这将使你的脚本更加兼容,即使Magisk在未来改变了它的挂载点
MODDIR=${0%/*}
# For Android 11
cp -l $MODDIR/common/system/users/0/magic_window_setting_config.xml /data/system/users/0/magic_window_setting_config.xml
cp -l $MODDIR/common/system/magicWindowFeature_magic_window_application_list.xml /data/system/magicWindowFeature_magic_window_application_list.xml
cp $MODDIR/common/system/users/0/magic_window_setting_config.xml /data/system/users/0/magic_window_setting_config.xml
cp $MODDIR/common/system/magicWindowFeature_magic_window_application_list.xml /data/system/magicWindowFeature_magic_window_application_list.xml
## 对云控文件写保护
chattr +i /data/system/users/0/magic_window_setting_config.xml
chattr +i /data/system/magicWindowFeature_magic_window_application_list.xml
Expand Down

0 comments on commit 9b5e373

Please sign in to comment.