Skip to content

Commit

Permalink
guard to prevent InMoov2.py from executing until ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Apr 28, 2024
1 parent ab281af commit 3e89d81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/myrobotlab/service/InMoov2.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ public InMoov2Config apply(InMoov2Config c) {
setLocale(getSupportedLocale(Runtime.getInstance().getLocale().toString()));
}

execScript();
if (c.execScript) {
execScript();
}

loadAppsScripts();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ public class InMoov2Config extends ServiceConfig {
public String unlockInsult = "forgive me";

public boolean virtual = false;

/**
* Prevent InMoov2.py from executing until ready for release
*/
public boolean execScript = false;

public InMoov2Config() {
}
Expand Down

0 comments on commit 3e89d81

Please sign in to comment.