Closed VortexAcherontic closed 7 months ago
Wow, this is great, thank you!
That was fast. I was still reading my PR for spelling errors and wording issues 😆 Many thanks!
Was funny timing, I was just releasing 1.2.1 when this came in.
I'll release this as 1.3.0 soon, depending if I'm free tomorrow.
About
While working on the volumes feature (still very WIP) I also noticed we have no support for distrobox assemble files.
Typically those are ini files containing one or more distrobox specifications.
An example could look like this:
With the command
distrobox assemble --file /path/to/file
distrobox can created one ore more distroboxes at once.I added a new button to the header bar for the assemble feature instead of adding it to the new distrobox popup because I found the assemble feature rather different from the create feature.
This button will only show if host_access is true for flatpak users.
Clicking this button will open up a FileDialog with a file filter for the MIME-Types: text/plain, application/textedit and application/zz-winassoc-ini
Then a popup will shown with a status message and a spinner as long as distrobox is busy which will then auto close and trigger a re render of the main window to show the new boxes.
I did not yet provided any additional translations for this new feature as I plan on adding all missing translations later if more stuff was added.
Notice: The user would be able to create distrobox containers without nvidia integration this way!
But also I assume user to have those ini files do also know about the nvidia flag.
Kind regards, V.