Skip to content

Commit

Permalink
Don't send changelog notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Maingron committed Jul 15, 2022
1 parent dd466e5 commit 5728645
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Program Files/notifications/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (needinit == 1) {
}

function is_online() {
return (1);
return 1;
}


Expand Down Expand Up @@ -95,7 +95,7 @@ setTimeout(function() {

document.documentElement.style.setProperty("--font", parent.setting.font);

if (parent.loadfile(parent.setting.userdata + "Notifications/notify_changelog.dat") !== "") {
send_notification("Changes to MainOS - What's new:", parent.loadfile(parent.loadfile(parent.setting.userdata + "Notifications/notify_changelog.dat")));
parent.savefile(parent.setting.userdata + "Notifications/notify_changelog.dat", "", 1, "t=txt");
}
// if (parent.loadfile(parent.setting.userdata + "Notifications/notify_changelog.dat") !== "") {
// send_notification("Changes to MainOS - What's new:", parent.loadfile(parent.loadfile(parent.setting.userdata + "Notifications/notify_changelog.dat")));
// parent.savefile(parent.setting.userdata + "Notifications/notify_changelog.dat", "", 1, "t=txt");
// }

0 comments on commit 5728645

Please sign in to comment.