diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c71638..bd77c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ QuickSwitch is a Magisk module which systemlessly allows supported launchers to ## Changelog: +### 4.0.2 + +- unrevert embed framework-res +- add sepolicy to fix `pm path` (Thanks Jan from the telegram group) + ### v4.0.1 - Revert embed framework-res diff --git a/QuickSwitch.json b/QuickSwitch.json index 79bbe42..21a26fe 100644 --- a/QuickSwitch.json +++ b/QuickSwitch.json @@ -1,6 +1,6 @@ { - "version": "v4.0.1", - "versionCode": 4010, + "version": "v4.0.2", + "versionCode": 4020, "zipUrl": "https://github.com/skittles9823/QuickSwitch/releases/latest/download/QuickSwitch-Updater.zip", "changelog": "https://raw.githubusercontent.com/skittles9823/QuickSwitch/master/CHANGELOG.md" } diff --git a/README.md b/README.md index ce21fcd..4277724 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,11 @@ You can get support for the module in either the [Telegram group](https://t.me/Q ## Changelog: +### 4.0.2 + +- unrevert embed framework-res +- add sepolicy to fix `pm path` (Thanks Jan from the telegram group) + ### v4.0.1 - Revert embed framework-res diff --git a/module.prop b/module.prop index 802c739..9e71f6b 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=quickswitch name=QuickSwitch -version=v4.0.1 -versionCode=4010 +version=v4.0.2 +versionCode=4020 author=The Lawnchair team description=Quickstep enabler for supported launchers updateJson=https://raw.githubusercontent.com/skittles9823/QuickSwitch/master/QuickSwitch.json diff --git a/sepolicy.rule b/sepolicy.rule new file mode 100644 index 0000000..78e8098 --- /dev/null +++ b/sepolicy.rule @@ -0,0 +1 @@ +allow system_server untrusted_app_all_devpts chr_file { read write } diff --git a/zipsigner b/zipsigner index 769b0b4..eafbeb6 100644 --- a/zipsigner +++ b/zipsigner @@ -15,8 +15,8 @@ if [ "$USER" == "root" ]; then cd "$(dirname "$0")" pwd )" - dalvikvm -Djava.io.tmpdir=. -Xnodex2oat -Xnoimage-dex2oat -cp $dir/zipsigner-*.jar com.topjohnwu.utils.ZipSigner "$@" 2>/dev/null || - dalvikvm -Djava.io.tmpdir=. -Xnoimage-dex2oat -cp $dir/zipsigner-*.jar com.topjohnwu.utils.ZipSigner "$@" + /apex/com.android.art/bin/dalvikvm -Djava.io.tmpdir=. -Xnodex2oat -Xnoimage-dex2oat -cp $dir/zipsigner-*.jar com.topjohnwu.utils.ZipSigner "$@" 2>/dev/null + || /apex/com.android.art/bin/dalvikvm -Djava.io.tmpdir=. -Xnoimage-dex2oat -cp $dir/zipsigner-*.jar com.topjohnwu.utils.ZipSigner "$@" else echo "zipsigner: need root permissions" fi