build theit pr

This commit is contained in:
Olivier Gagnon 2021-12-02 12:43:00 -05:00
parent 2b7acf6012
commit ffd1bd3ab0
3 changed files with 6 additions and 3 deletions

@ -44,6 +44,9 @@ function createWindow() {
// This is backward but the game fills in an array called `document.achievements` and we retrieve it from
// here. Hey if it works it works.
const achievements = greenworks.getAchievementNames();
// for (const ach of achievements) {
// greenworks.clearAchievement(ach, () => undefined);
// }
setInterval(async () => {
const achs = await win.webContents.executeJavaScript("document.achievements");
for (const ach of achs) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long