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

Custom downloads - non .zip files #248

Open
Adamados opened this issue May 2, 2023 · 3 comments
Open

Custom downloads - non .zip files #248

Adamados opened this issue May 2, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@Adamados
Copy link

Adamados commented May 2, 2023

What feature are you suggesting?

I would like to add at the custom_packs.json with url of .nro or other file type and be able to specify the location where i would like to download them and overwrite.

@Adamados Adamados added the enhancement New feature or request label May 2, 2023
@HeikesFootSlave
Copy link

HeikesFootSlave commented May 2, 2023

Good Idea, but not needed if you setup the folderstructure on your own!

A zip file with a folder will extract the folder on SD and a zip file without a folder will extract the content to SD!

Example1 = If you have your own Pack with the folders

  • yourPackfolder
    • atmosphere
    • bootloader
    • config

If you make a zip of the folder it will be extracted on SD in the "yourPackfolder" folder!
If you make a zip inside your pack folder with atmosphere, bootloader, config, ... folders and files they will be directly extracted to SD!
NOT good because if atmosphere is running... you get the point!

But you could make a zip with link in misc in that file for, let's say DBI:
Example2 =

  • yourzip.zip
    • switch
      • DBI
        • DBI.nro
        • dbi.config

Now the switch folder will be extracted an put anything on the right place!

Even checked that I got you wrong because you want to make a URL to a file (other than zip)
Would be nice indeed, but I can live with my solution above :)

@HamletDuFromage
Copy link
Owner

As said above, working with archives ensures the correct directory structure. That's also how the scene has been working.

I could implement downloading non-zips to the root of the sd card, but I'm not interested in writing a file manager just to set the download path for a file

@Adamados
Copy link
Author

Adamados commented May 2, 2023

What i wanted is to download/update the DBI once its release just by pitting this link https://github.com/rashevskyv/dbi/releases/latest/download/DBI.nro and specify where it should be downloaded.
With this way it always download latest release.

If its not possible, at least allow to download non .zip file and i will manage to move the files via copy_files.txt

what i want is to create a list of applications/add-ons and once an update release i can update them directly without creating by myself the .zip file and upload it somewhere and then download it to switch or transfer via USB/FTP (still need to download first on PC and then transfer to Switch)

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