The launcher tiles carry the Steam mark #2

Merged
enricobuehler merged 1 commits from feat/launcher-icon-token into main 2026-08-12 22:43:23 +00:00
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
"": {
"name": "@punktfunk/plugin-steam",
"dependencies": {
"@punktfunk/plugin-kit": "^0.3.3",
"@punktfunk/plugin-kit": "^0.4.1",
"effect": "4.0.0-beta.99",
},
"devDependencies": {
@@ -48,7 +48,7 @@
"@punktfunk/host": ["@punktfunk/host@0.1.3", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fhost/-/0.1.3/host-0.1.3.tgz", { "optionalDependencies": { "undici": "^7.0.0" }, "peerDependencies": { "effect": "^4.0.0-beta.98" }, "bin": { "punktfunk-scripting": "dist/runner-cli.js" } }, "sha512-WpS0a3yavoqDBA3V8xSZW298HRUzF8TFuwSKf3hV1RFHZ2lM6V77E6mFJTej3p+B1wnNWzphtlY+WgcsUx/34A=="],
"@punktfunk/plugin-kit": ["@punktfunk/plugin-kit@0.3.3", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fplugin-kit/-/0.3.3/plugin-kit-0.3.3.tgz", { "peerDependencies": { "@punktfunk/host": "^0.1.3", "effect": "^4.0.0-beta.98", "react": "^19.2.0" }, "optionalPeers": ["react"] }, "sha512-XzqqYq++RqsIPc7F/cuqlXfk0aABccY2T6NuaVETlw4jR+kd2ayGkv8ny7k8qmb3gNiKW7e3+smhwp1600pDGg=="],
"@punktfunk/plugin-kit": ["@punktfunk/plugin-kit@0.4.1", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fplugin-kit/-/0.4.1/plugin-kit-0.4.1.tgz", { "peerDependencies": { "@punktfunk/host": "^0.1.3", "effect": "^4.0.0-beta.98", "react": "^19.2.0" }, "optionalPeers": ["react"] }, "sha512-yqDF9Zrt9IFbL3bCSjIUOW4abSltMKaL+vdljyUmA2rEeHzcYudVOczrE7S5Q6kipOkC5FoiCfjV8xwGBW2UUQ=="],
"@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
+1 -1
View File
@@ -36,7 +36,7 @@
"check": "bunx biome check ."
},
"dependencies": {
"@punktfunk/plugin-kit": "^0.3.3",
"@punktfunk/plugin-kit": "^0.4.1",
"effect": "4.0.0-beta.99"
},
"devDependencies": {
+6
View File
@@ -162,6 +162,10 @@ export const installedApps = (
* `steam_ui` is the one launch kind with two values, because Steam genuinely has two UIs. The host
* turns them into `steam -gamepadui` / `steam` (Linux) or the matching `steam://open/…` URI
* (Windows) — the plugin never constructs a command line (D1).
*
* Both carry `icon: "steam"` — the same mark, because they open the same client into different
* front ends; their titles are what tell them apart. The token names a mark each client draws from
* the vector it bundles rather than sending art, which a 2:3 cover-crop would reduce to a strip.
*/
export const launcherEntries = (cfg: Config): ProviderEntry[] => {
const out: ProviderEntry[] = [];
@@ -171,6 +175,7 @@ export const launcherEntries = (cfg: Config): ProviderEntry[] => {
external_id: "big-picture",
title: "Steam Big Picture",
role: "launcher",
icon: "steam",
launch: { kind: "steam_ui", value: "bigpicture" },
platform: "PC",
});
@@ -180,6 +185,7 @@ export const launcherEntries = (cfg: Config): ProviderEntry[] => {
external_id: "desktop",
title: "Steam",
role: "launcher",
icon: "steam",
launch: { kind: "steam_ui", value: "desktop" },
platform: "PC",
});