e832201669
The host plugin runner is de-privileged now (LocalService) and can't read the interactive user's %APPDATA%\Playnite\ExtensionsData — so it never saw the export. Bridge it through the host's user-writable ingest inbox: - exporter (C#): also drop punktfunk-library.json into %ProgramData%\punktfunk\ingest\playnite (best-effort, only when a punktfunk host is present), alongside its ExtensionsData home. - plugin (TS): locateExport() reads <config_dir>/ingest/playnite first, then falls back to the ExtensionsData scan (same-user/SYSTEM runner, Linux). The watcher also watches the inbox so a drop reconciles within seconds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "@punktfunk/plugin-playnite",
|
|
"version": "0.1.1",
|
|
"private": false,
|
|
"type": "module",
|
|
"description": "Punktfunk plugin: syncs your Playnite library into the host game library as a provider — every store and emulator Playnite manages, launched back through Playnite, with a console-hosted web UI. Pairs with the bundled Playnite exporter extension.",
|
|
"license": "MIT OR Apache-2.0",
|
|
"homepage": "https://git.unom.io/unom/punktfunk-plugin-playnite",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.unom.io/unom/punktfunk-plugin-playnite.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.unom.io/unom/punktfunk-plugin-playnite/issues"
|
|
},
|
|
"keywords": [
|
|
"punktfunk",
|
|
"plugin",
|
|
"playnite",
|
|
"game-library",
|
|
"game-streaming"
|
|
],
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"punktfunk-plugin-playnite": "./dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"registry": "https://git.unom.io/api/packages/unom/npm/"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "bun test",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"build:ui": "cd ui && bun install --silent && bun run build",
|
|
"build:all": "bun run build && bun run build:ui",
|
|
"sync": "bun src/cli.ts sync",
|
|
"where": "bun src/cli.ts where",
|
|
"preview": "bun src/cli.ts preview",
|
|
"prepublishOnly": "bun run build:all"
|
|
},
|
|
"dependencies": {
|
|
"@punktfunk/host": "^0.1.1",
|
|
"effect": "^4.0.0-beta.98"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.2",
|
|
"@types/bun": "^1.3.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|