fix forwarder icon passing in the wrong size, fix github zip detection / extraction, add back url in json

- i was passing the wrong size for icon, so it always failed to load.
- i didnt realise zips can have many content types, so now i search for the name "zip" which works well.
- extracting a zip will fail if the files are all in the root, ie, no folder, and the subfolders do
  not already exist.
- fix misspelling of download.
This commit is contained in:
ITotalJustice
2024-12-31 10:15:30 +00:00
parent 9b1788d1ec
commit 45aa7c4e62
6 changed files with 34 additions and 18 deletions

View File

@@ -1,12 +1,8 @@
{
"owner": "ITotalJustice",
"repo": "ftpsrv",
"url": "https://github.com/ITotalJustice/ftpsrv",
"assets": [
{
"name": "switch_application.zip"
},
{
"name": "switch_sysmod.zip"
"name": "switch"
}
]
}

View File

@@ -1,4 +1,3 @@
{
"owner": "ITotalJustice",
"repo": "sphaira"
"url": "https://github.com/ITotalJustice/sphaira"
}

View File

@@ -1,4 +1,3 @@
{
"owner": "ITotalJustice",
"repo": "untitled"
"url": "https://github.com/ITotalJustice/untitled"
}