From 8352ee74e8a437c1f4a4dadb75d63049f45b164b Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Tue, 8 Sep 2026 16:25:11 -0400 Subject: add back workarounds sections, scope out of now playing --- src/types.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/types.d.ts') diff --git a/src/types.d.ts b/src/types.d.ts index dfc0472..4b88d3d 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -12,3 +12,27 @@ declare module "*.jpg" { const content: string; export default content; } + +interface SteamAppDetails { + strLaunchOptions?: string; + strShortcutLaunchOptions?: string; + strShortcutExe?: string; +} + +interface SteamAppDetailsRegistration { + unregister: () => void; +} + +interface SteamApps { + RegisterForAppDetails( + appId: number, + callback: (details: SteamAppDetails) => void, + ): SteamAppDetailsRegistration; + SetAppLaunchOptions(appId: number, options: string): void | Promise; + SetShortcutLaunchOptions(appId: number, options: string): void | Promise; + GetAllShortcuts?(): Promise; +} + +declare const SteamClient: { + Apps: SteamApps; +}; -- cgit v1.2.3 From 1b932fd69c3dba925e0cbf027e05508b2daf5e8c Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 9 Sep 2026 01:01:42 -0400 Subject: add back launcher script and correct pathing --- src/types.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/types.d.ts') diff --git a/src/types.d.ts b/src/types.d.ts index 4b88d3d..7b5d055 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -30,6 +30,7 @@ interface SteamApps { ): SteamAppDetailsRegistration; SetAppLaunchOptions(appId: number, options: string): void | Promise; SetShortcutLaunchOptions(appId: number, options: string): void | Promise; + SetShortcutExe(appId: number, executable: string): void | Promise; GetAllShortcuts?(): Promise; } -- cgit v1.2.3 From cc1e6f47dd9838b066822162a607d2859c043aff Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 9 Sep 2026 19:16:30 -0400 Subject: refactor: unify flatpak targets with steam profiles --- src/types.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/types.d.ts') diff --git a/src/types.d.ts b/src/types.d.ts index 7b5d055..df433e0 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -17,6 +17,7 @@ interface SteamAppDetails { strLaunchOptions?: string; strShortcutLaunchOptions?: string; strShortcutExe?: string; + strShortcutStartDir?: string; } interface SteamAppDetailsRegistration { -- cgit v1.2.3 From 209ab92cc3baeb15ce808fc53ce9041a761d8df4 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Thu, 10 Sep 2026 10:33:08 -0400 Subject: only warn quit on real steam games --- src/types.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/types.d.ts') diff --git a/src/types.d.ts b/src/types.d.ts index df433e0..e5db40d 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -32,6 +32,7 @@ interface SteamApps { SetAppLaunchOptions(appId: number, options: string): void | Promise; SetShortcutLaunchOptions(appId: number, options: string): void | Promise; SetShortcutExe(appId: number, executable: string): void | Promise; + TerminateApp(appId: string, param1: boolean): void; GetAllShortcuts?(): Promise; } -- cgit v1.2.3 From a69ab9976905640f816b3a84d13fbc5848ffae65 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Thu, 10 Sep 2026 16:38:38 -0400 Subject: refactor: remove shortcut target api types --- src/types.d.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/types.d.ts') diff --git a/src/types.d.ts b/src/types.d.ts index e5db40d..ebcf32c 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -16,7 +16,6 @@ declare module "*.jpg" { interface SteamAppDetails { strLaunchOptions?: string; strShortcutLaunchOptions?: string; - strShortcutExe?: string; strShortcutStartDir?: string; } @@ -31,7 +30,6 @@ interface SteamApps { ): SteamAppDetailsRegistration; SetAppLaunchOptions(appId: number, options: string): void | Promise; SetShortcutLaunchOptions(appId: number, options: string): void | Promise; - SetShortcutExe(appId: number, executable: string): void | Promise; TerminateApp(appId: string, param1: boolean): void; GetAllShortcuts?(): Promise; } -- cgit v1.2.3 From 9783834314956ea4765faadff7ae964151a7ff18 Mon Sep 17 00:00:00 2001 From: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> Date: Thu, 10 Sep 2026 16:45:15 -0400 Subject: refactor: trim unused steam detail fields --- src/types.d.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/types.d.ts') diff --git a/src/types.d.ts b/src/types.d.ts index ebcf32c..4adad61 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -16,7 +16,6 @@ declare module "*.jpg" { interface SteamAppDetails { strLaunchOptions?: string; strShortcutLaunchOptions?: string; - strShortcutStartDir?: string; } interface SteamAppDetailsRegistration { -- cgit v1.2.3