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 committed 2024-12-31 10:15:30 +00:00
1 parent 9b1788d1ec
commit 45aa7c4e62
6 files changed
+34 -18

No files matched your search

+2 -6
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"
}
]
}
+1 -2
View File
@@ -1,4 +1,3 @@
{
"owner": "ITotalJustice",
"repo": "sphaira"
"url": "https://github.com/ITotalJustice/sphaira"
}
+1 -2
View File
@@ -1,4 +1,3 @@
{
"owner": "ITotalJustice",
"repo": "untitled"
"url": "https://github.com/ITotalJustice/untitled"
}