When using the -ch param in the terminal and rebooting the launcher crashed due to permission denial.
This was because the privapp-permissions-x.xml file was created with empty permissions.
The permissions were empty because APKPATH was empty for Magisk since the code is in an if block.
This PR removes that if block and fixes the privapp-permissions-x.xml file.
Also, the zipsigner had a small mistake which is also fixed in this.
When using the -ch param in the terminal and rebooting the launcher crashed due to permission denial. This was because the
privapp-permissions-x.xml
file was created with empty permissions. The permissions were empty because APKPATH was empty for Magisk since the code is in an if block.This PR removes that if block and fixes the
privapp-permissions-x.xml
file.Also, the zipsigner had a small mistake which is also fixed in this.