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,44 +1,44 @@
|
||||
{
|
||||
"name": "UpSnap",
|
||||
"slug": "upsnap",
|
||||
"categories": [
|
||||
4
|
||||
],
|
||||
"date_created": "2026-04-02",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 8090,
|
||||
"documentation": "https://github.com/seriousm4x/UpSnap/wiki",
|
||||
"website": "https://github.com/seriousm4x/UpSnap",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/upsnap.webp",
|
||||
"config_path": "",
|
||||
"description": "UpSnap is a simple Wake-on-LAN web app with device dashboard, scheduled wake events via cron, network scanning with nmap, custom shutdown commands, user management, and 35 themes.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/upsnap.sh",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 512,
|
||||
"hdd": 2,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
"name": "UpSnap",
|
||||
"slug": "upsnap",
|
||||
"categories": [
|
||||
4
|
||||
],
|
||||
"date_created": "2026-04-02",
|
||||
"type": "ct",
|
||||
"updateable": true,
|
||||
"privileged": false,
|
||||
"interface_port": 8090,
|
||||
"documentation": "https://github.com/seriousm4x/UpSnap/wiki",
|
||||
"website": "https://github.com/seriousm4x/UpSnap",
|
||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/upsnap.webp",
|
||||
"description": "UpSnap is a simple Wake-on-LAN web app with device dashboard, scheduled wake events via cron, network scanning with nmap, custom shutdown commands, user management, and 35 themes.",
|
||||
"install_methods": [
|
||||
{
|
||||
"type": "default",
|
||||
"script": "ct/upsnap.sh",
|
||||
"config_path": "",
|
||||
"resources": {
|
||||
"cpu": 1,
|
||||
"ram": 512,
|
||||
"hdd": 2,
|
||||
"os": "Debian",
|
||||
"version": "13"
|
||||
}
|
||||
}
|
||||
],
|
||||
"default_credentials": {
|
||||
"username": null,
|
||||
"password": null
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "The first user to register becomes the admin (visit `http://IP:8090/_/`).",
|
||||
"type": "info"
|
||||
},
|
||||
"notes": [
|
||||
{
|
||||
"text": "The first user to register becomes the admin (visit `http://IP:8090/_/`).",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "Do not expose UpSnap to the internet — shutdown commands can execute shell commands. Use a VPN for remote access.",
|
||||
"type": "warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"text": "Do not expose UpSnap to the internet — shutdown commands can execute shell commands. Use a VPN for remote access.",
|
||||
"type": "warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user