mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-03 03:47:35 +01:00
build theit pr
This commit is contained in:
parent
2b7acf6012
commit
ffd1bd3ab0
@ -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
Loading…
Reference in New Issue
Block a user