-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] allow QR to point to an .setup.json
address
#1
Comments
Added (though in a slightly different way) in e1f665b What I did is put the JSON right into the QR itself as my goal in this is to a very simplistic downloader and that's simpler imo. It supports either arrays or objects, with arrays simply being a list of URLs that it prompts the user for location/name like normal and objects allowing you to set both the URL and the output path. Examples: [
"It'll print anything that doesn't start 'http'",
"https://example.com",
"http://uwu.xn--rck9c.xn--tckwe",
"Thanks for downloading!"
] {
"sd:/example.html": "https://example.com",
"": "Comments still work",
"sd:/uwu.html": "http://uwu.xn--rck9c.xn--tckwe"
} |
Added external scripts in cc5b3a4, I did it a little differently as I don't particularly like relying on file extensions so to start one you put this in a QR: {"dsidl:src": "https://example.test/script.json"} ( then the script file is: {
"dsidl": 1,
"script": {
"/program.nds": "http://example.test/data/program.nds"
}
} or such, with I did |
Id say this is an fair compromise, so you can have {
"/game.nds":"https://example.com/roms/game.nds",
"dsidl:src":"https://example.com/roms/game.json",
} and have game.json pont out an series of other files needed as well that may or may not update at some point? EDIT: I am also working on making release-workflows for you so you can just write an new release and have an QR code that points to the latest release always |
testing opening new issue specifically for this |
basically, the thought process is that it can be used to point to an "setup.json" rather than an normal file
kinda like
where it then prompts the user that this is an multi-download QR, and then were they want this data saved (select for all or for single file at an time)
The text was updated successfully, but these errors were encountered: