mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 21:07:04 +02:00
UI: Add option to enable/disable syncing Steam achievements (#2117)
This commit is contained in:
@@ -207,3 +207,11 @@ export function pushDisableRestore(): void {
|
||||
|
||||
bridge.send("push-disable-restore", { duration: 1000 * 60 });
|
||||
}
|
||||
|
||||
export function activateSteamAchievements(achievements: string[]): void {
|
||||
const bridge = window.electronBridge;
|
||||
if (!bridge) {
|
||||
return;
|
||||
}
|
||||
bridge.send("activate-achievements", { achievements });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user