fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.08k stars 110 forks source link

Add junest-export #322

Closed ivan-hc closed 6 months ago

ivan-hc commented 1 year ago

This is the first draft of a tool to export apps inside Junest to the local home directory (strongly inspired to distrobox-export), it only works for ~/.junest and does not do much:

  1. copy the launcher from ~/.junest/usr/share/applications to ~/.local/share/applications (the internal "Exec=" is changed in the meantime, from $appbinary the string become sh -c '~/.local/share/junest/bin/junest -- $appbinary');
  2. ~/.junest/usr/share/icons/hicolor is synlinked to ~/.local/share/icons (I was too lazy to improve this), but if this is not enough, the icon will be found and copied from ~/.junest/usr/share/pixmaps.

I hope you look, edit and improve this feature, this helps me very much when I have to export my apps to my Debian host, I want to help you too.

Cheers.

fsquillace commented 1 year ago

Hi @ivan-hc !

Thanks for the great work. The PR sounds a good idea. I will have a look and try it when I get a chance, very busy lately :/

Ideally I'd like to keep a high standard on code to include tests and documentation. If you do not have time for that, no worries I will try to do it when I can later on.

Thanks again!