bundlers icon indicating copy to clipboard operation
bundlers copied to clipboard

feat: init appimage

Open tomberek opened this issue 3 years ago • 6 comments

Creating an arbitrary appimage. Needs more ability to encode icons and other parameters.

tomberek avatar Mar 18 '22 06:03 tomberek

I'd be against forcefully providing a desktop entry. Graphical applications should always ship a .desktop file, which should be used. (For command line applications, generating a default desktop file based on the executable name is fine though.)

piegamesde avatar Apr 23 '22 09:04 piegamesde

@piegamesde agreed. Can you add the logic necessary to detect and find the desktop entry that may already be in the package?

tomberek avatar Apr 28 '22 06:04 tomberek

Probably not, sorry.

piegamesde avatar Apr 28 '22 16:04 piegamesde

This seems to break if packages contain broken relative symlinks.

I wasn't able to build a package that used python3.10.5 because I was getting this error:

error: builder for '/nix/store/w5z9zvip9nlq07vk5wha66q7iplifx5f-neovim-master.drv' failed with exit code 1;
       last 2 log lines:
       > cp: cannot stat '/nix/store/qm1agyi0bhnddhlhsrj9mq4v09kagxsg-hello.AppDir/hello.AppDir/nix/store/8mps2vhkrpy7g2vin9j7664m8gj56fpw-python3-3.10.5-env/include/python3.10/python3.10m': No such file or directory
       > cp: cannot stat '/nix/store/qm1agyi0bhnddhlhsrj9mq4v09kagxsg-hello.AppDir/hello.AppDir/nix/store/9wa02q541sxq7372f8zv27rl57aribxj-python3-3.10.5/include/python3.10/python3.10m': No such file or directory
       For full logs, run 'nix log /nix/store/w5z9zvip9nlq07vk5wha66q7iplifx5f-neovim-master.drv'.

both /nix/store/8mps2vhkrpy7g2vin9j7664m8gj56fpw-python3-3.10.5-env/include/python3.10/python3.10m and /nix/store/9wa02q541sxq7372f8zv27rl57aribxj-python3-3.10.5/include/python3.10/python3.10m are broken symbolic links to ..python3.10m.

ralismark avatar Aug 04 '22 17:08 ralismark

Seems like this needs a cp -P option set.

tomberek avatar Aug 06 '22 01:08 tomberek

This would be great. However, I expect it to inherit the same issues as nix-bundle when it comes to OpenGL applications?

arximboldi avatar Oct 11 '22 19:10 arximboldi