refactor: move config_path from root into install_methods
Migrated all 80 app JSON files to place config_path inside each install_methods object instead of at the root level. This allows different install methods (e.g. Debian vs Alpine) to have distinct config paths. Also updated AGENTS.md JSON structure example to reflect the change.
This commit is contained in:
@@ -1,43 +1,43 @@
|
||||
{
|
||||
"name":"Ownfoil",
|
||||
"slug":"ownfoil",
|
||||
"categories": [
|
||||
24
|
||||
],
|
||||
"description": "Ownfoil is a Nintendo Switch library manager, that will also turn your library into a fully customizable and self-hosted Shop, supporting multiple clients like Tinfoil, Cyberfoil and Sphaira.",
|
||||
"type": "ct",
|
||||
"privileged": false,
|
||||
"updateable": true,
|
||||
"interface_port": 8465,
|
||||
"documentation": "https://github.com/a1ex4/ownfoil",
|
||||
"website":" https://github.com/a1ex4/ownfoil",
|
||||
"logo": null,
|
||||
"config_path": "/opt/ownfoil/app/config/settings.yaml",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/ownfoil.sh",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 1024,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
"name": "Ownfoil",
|
||||
"slug": "ownfoil",
|
||||
"categories": [
|
||||
24
|
||||
],
|
||||
"description": "Ownfoil is a Nintendo Switch library manager, that will also turn your library into a fully customizable and self-hosted Shop, supporting multiple clients like Tinfoil, Cyberfoil and Sphaira.",
|
||||
"type": "ct",
|
||||
"privileged": false,
|
||||
"updateable": true,
|
||||
"interface_port": 8465,
|
||||
"documentation": "https://github.com/a1ex4/ownfoil",
|
||||
"website": " https://github.com/a1ex4/ownfoil",
|
||||
"logo": null,
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/ownfoil.sh",
|
||||
"config_path": "/opt/ownfoil/app/config/settings.yaml",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 1024,
|
||||
"hdd": 4,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "Ownfoil requires an admin user to be created to enable Authentication. Go to the Settings tab to create a first user that will have admin rights.",
|
||||
"type": "warning"
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "Ownfoil requires an admin user to be created to enable Authentication. Go to the Settings tab to create a first user that will have admin rights.",
|
||||
"type": "warning"
|
||||
},
|
||||
{
|
||||
"text": "More CPU/RAM may be required depening on library size and number of concurrent users",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"text": "More CPU/RAM may be required depening on library size and number of concurrent users",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user