mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-16 11:50:09 -04:00
@@ -177,6 +177,7 @@ abstract class InstallIntoSystem {
|
||||
protected List<String> getCopyToSystemCommands() {
|
||||
List<String> commands = new ArrayList<>(3);
|
||||
commands.add("mkdir " + getSystemFolder()); // create app directory if not existing
|
||||
commands.add("chmod 755 " + getSystemFolder());
|
||||
commands.add("cat " + context.getPackageCodePath() + " > " + getInstallPath() + ".tmp");
|
||||
commands.add("chmod 644 " + getInstallPath() + ".tmp");
|
||||
return commands;
|
||||
|
||||
Reference in New Issue
Block a user