added checkbox

This commit is contained in:
sanjayk03-dev
2024-02-22 03:37:03 +05:30
parent 8fd0f763be
commit df50a22bd8
4 changed files with 49 additions and 30 deletions

View File

@@ -545,7 +545,11 @@ module.exports = {
}
try {
this.load();
this.macrosLoading = true;
if (this.config.macros[id].alert) {
this.macrosLoading = true;
} else {
setImmediate(() => this.start_pause());
}
} catch (error) {
console.warn("Error running program: ", error);
}