summaryrefslogtreecommitdiff
path: root/src/types.d.ts
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-08 16:25:11 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-08 16:25:11 -0400
commit8352ee74e8a437c1f4a4dadb75d63049f45b164b (patch)
treebd59691eb01f5fbf4b5a6aede5ae4d0295e6643d /src/types.d.ts
parentb3749ecc4b094a46d2ab9f638ee810f70840f67a (diff)
downloaddecky-lsfg-vk-8352ee74e8a437c1f4a4dadb75d63049f45b164b.tar.gz
decky-lsfg-vk-8352ee74e8a437c1f4a4dadb75d63049f45b164b.zip
add back workarounds sections, scope out of now playing
Diffstat (limited to 'src/types.d.ts')
-rw-r--r--src/types.d.ts24
1 files changed, 24 insertions, 0 deletions
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<void>;
+ SetShortcutLaunchOptions(appId: number, options: string): void | Promise<void>;
+ GetAllShortcuts?(): Promise<unknown[]>;
+}
+
+declare const SteamClient: {
+ Apps: SteamApps;
+};