UI: Add option to enable/disable syncing Steam achievements (#2117)

This commit is contained in:
catloversg
2025-05-10 16:13:41 +07:00
committed by GitHub
parent 290557332c
commit 494ef0dff3
13 changed files with 197 additions and 64 deletions
+8
View File
@@ -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 });
}