Skip to content

Commit

Permalink
ApplyOnBoot: Fix script on boot not working
Browse files Browse the repository at this point in the history
Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
  • Loading branch information
sunilpaulmathew committed Apr 30, 2020
1 parent 8899a8f commit 1190d80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public int onStartCommand(Intent intent, int flags, int startId) {
&& !ScriptManager.list().isEmpty()) {
for (final String script : ScriptManager.list()) {
if (Utils.getExtension(script).equals("sh")) {
RootFile file = new RootFile(script);
RootFile file = new RootFile(ScriptManager.scriptFile() + "/" + script);
file.execute();
}
}
Expand Down

0 comments on commit 1190d80

Please sign in to comment.