Files
browser/plugins/tests/fixtures/unsafe-runtime-profile-manifest.json
T

39 lines
1.4 KiB
JSON

{
"$schema": "../../manifests/game-plugin.manifest.schema.json",
"id": "game.unsafe-runtime",
"name": "Unsafe Runtime Fixture",
"description": "Fixture with unsafe runtime profile values.",
"version": "0.1.0",
"kind": "game-plugin",
"server": {
"type": "unsafe-runtime",
"displayName": "Unsafe Runtime Fixture",
"createFormSchema": "create-form.valid.json"
},
"capabilities": ["process.start", "process.stop", "logs.read"],
"permissions": ["server.read", "server.lifecycle", "server.logs.read"],
"runtimeProfiles": {
"discovery": [
{"key": "leaky", "kind": "command.version", "targetKey": "java", "expected": "password=super-secret"}
],
"installPlans": [
{"key": "unsafe-install", "title": "bash -c installer", "steps": [{"type": "manual", "targetKey": "manual"}]}
],
"clientManagers": [
{
"key": "unsafe-client",
"repository": {"url": "https://github.com/F88888/scum_client.git", "revisionPolicy": "branch", "branch": "main"},
"supportedTargets": [{"os": "windows", "arch": "amd64"}],
"build": {"system": "go", "workspaceRef": "scum_client", "entryRef": "main.go"},
"configTemplates": [{"key": "bad", "templateRef": "/Users/tasia/client.json", "outputRef": "config.json"}],
"outputArtifacts": ["scum_client.exe"]
}
]
},
"actions": {
"install": "actions/install.json",
"start": "actions/start.json",
"stop": "actions/stop.json"
}
}