Skip to content
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

Load custom_packs.json from a link #272

Open
slslasher opened this issue Sep 4, 2023 · 7 comments
Open

Load custom_packs.json from a link #272

slslasher opened this issue Sep 4, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@slslasher
Copy link

Is it possible to load custom_packs.json from a link hardcoded in custom_packs.json itself but it is hidden from AIO UI?

This is so that we can just update the custom_packs.json from the link itself and AIO Updated will pick up the latest custom_packs.json from the link.

@slslasher slslasher added the enhancement New feature or request label Sep 4, 2023
@HamletDuFromage
Copy link
Owner

I don't think I understand what you're trying to do here. Can you rephrase it, or use an example for that?

@slslasher
Copy link
Author

Hi, what I mean is custom_packs.json there are fields to input our own links to download. Is there a way I can upload custom_packs.json to a link then put the link in custom_packs.json. So everytime when AIO launches it will load the custom_packs.json from the custom link.

@HeikesFootSlave
Copy link

Sounds incrdible confusing to me!?!

Why all this work?
Put the file into your pack or whatever and if it's downloaded the person will get the file with all the links in it (packs and misc)!

Or if it's in the pack then just give a link inside "custom_packs.json" under the "misc" with a zipfile containing the "new" custom_packs.json then it can be downloaded hundred times!

What??? Sounds like a loop for me and I'm still confused (and I think HamletDuFromage also)

@HamletDuFromage
Copy link
Owner

Hi, what I mean is custom_packs.json there are fields to input our own links to download. Is there a way I can upload custom_packs.json to a link then put the link in custom_packs.json. So everytime when AIO launches it will load the custom_packs.json from the custom link.

What Mr. Foot slave suggested kinda does what you want

Or if it's in the pack then just give a link inside "custom_packs.json" under the "misc" with a zipfile containing the "new" custom_packs.json then it can be downloaded hundred times!

If you're able to provide a static link for that custom_packs.json stored on your server, I'd assume you'd be able to provide static links for all the other files you want to download. I will not implement what you're asking for, it's just too confusing and too specific

@slslasher
Copy link
Author

alright, yeah that is what I am currently doing now example:

{
"ams": {
"Atmosphere 1.6.1 Firmware 17.0.0": "http://tiny.cc/ams"
},
"misc": {
"Firmware 17.0.0": "http://tiny.cc/firmware",
"Update AIO List": "http://tiny.cc/config"
}
}

So the person would have the manually press "Update AIO List" every time, I just thought it would be more convenient to auto load from a static link which I can update the custom_packs.json from the backend. It was hard to explain in words in my 1st post.

@HamletDuFromage
Copy link
Owner

Why don't you just do a key called "latest firmware" and "latest atmosphere"? Sure your user wouldn't know which version you're talking about, but it'd be straight forward. But yeah, other than that your current method will have to do I'm afraid

@slslasher
Copy link
Author

Why don't you just do a key called "latest firmware" and "latest atmosphere"? Sure your user wouldn't know which version you're talking about, but it'd be straight forward. But yeah, other than that your current method will have to do I'm afraid

yeah that works too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants