View Single Post
  #4  
Old 03.08.2021, 16:20
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,338
Default

Code:
/*
    Update after reconnect
    Trigger: After a reconnect
*/

if (
    result == "SUCCESSFUL" &&
    callAPI("update", "isUpdateAvailable")
) {
    callAPI("update", "restartAndUpdate");
}
Reply With Quote