lucasew / nixcfg

Personal Nix/NixOS configuration files
68 stars 1 forks source link

wrapWine application versioning & desktop entry icons #9

Open dzervas opened 2 months ago

dzervas commented 2 months ago

Hello!

I successfully package EstlCAM using your wrapWine module but I have some suggestions/questions:

  1. Since the script isn't version-aware it's not able to implement updates later on (e.g. by re-running the firstrunScript or a custom upgradeScript
  2. How can I access an icon inside the wineprefix after the firstrunscript has ran? The idea is to create a desktop entry with the icon taken from inside the installation folder

Thank you!

lucasew commented 4 days ago

To get the icon you will need to run that first run part first then copy the icon to the code. I don't know any other way

BTW this is a personal repo and things may and probably will break without warning.

Today I basically only use this primitive with 7zip.

dzervas commented 3 days ago

No worries! More of a suggestion than a request - I use it on my personal repo too

BTW here's how I use it: https://github.com/dzervas/dotfiles/blob/main/home/wine/estlcam.nix