Skip to content

Commit

Permalink
updating kernel to remove depricated autoupdate flag
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Mar 13, 2024
1 parent c692111 commit d91b15c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ public void open(URI toOpe) {
ScriptingEngine.waitForLogin();
if (ScriptingEngine.isLoginSuccess()) {

if (BowlerStudio.hasNetwork()) {
ScriptingEngine.setAutoupdate(true);

}
// if (BowlerStudio.hasNetwork()) {
// ScriptingEngine.setAutoupdate(true);
//
// }
renderSplashFrame(15, "Load Configs");
try {
firstVer = (String) ConfigurationDatabase.getObject("BowlerStudioConfigs", "firstVersion",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,6 @@ assert getMeneBarBowlerStudio() != null
new Thread() {
public void run() {
try {
ScriptingEngine.setAutoupdate(true);
File f = ScriptingEngine.fileFromGit(
"https://github.com/CommonWealthRobotics/BowlerStudioExampleRobots.git", // git
// repo,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,7 @@ public void initializeUI(BowlerAbstractDevice pm) {
// TODO Auto-generated method stub
setText(pm.getScriptingName());

try {
ScriptingEngine.setAutoupdate(true);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

MobileBase device = (MobileBase) pm;

// Button save = new Button("Save Configuration");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,7 @@ private void start() {
}
BowlerStudio.clearConsole();
BowlerStudioController.clearHighlight();
try {
ScriptingEngine.setAutoupdate(false);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

running = true;
BowlerStudio.runLater(() -> {
runfx.setText("Stop");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,7 @@ public void loadCodeFromGist(String a, WebEngine e) throws Exception {

private void start() {
BowlerStudio.clearConsole();
try {
ScriptingEngine.setAutoupdate(true);
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}

running = true;
BowlerStudio.runLater(() -> {
runfx.setText("Stop");
Expand Down

0 comments on commit d91b15c

Please sign in to comment.