You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I was trying to create an AppImage for UnityHub v3, as Unity provides an APT repo to get the .deb, and ended up with the following:
app: UnityHub
ingredients:
dist: jammy
sources:
- deb http://us.archive.ubuntu.com/ubuntu/ jammy main
- deb https://hub.unity3d.com/linux/repos/deb stable main
script:
- touch opt/unityhub/resources/app-update.yml
- ( cd usr/bin/ ; rm -f * ; mv ../../opt/unityhub/* . )
- rmdir -p opt/unityhub
But realized that, instead of getting the latest version of the unityhub package (3.1.2 at the moment of writing), I got the oldest one available (3.0.0). I had to use a custom functions.sh script to change this behavior, looks like the Unity repo stores the older packages and, hence, they appear in cache.txt first.
Shouldn't this be the default behavior? I mean, assume that you want the latest version of all packages whenever you want to build an AppImage, specially from a deb source. Or, at least, have some flexibility regarding package versions.
P.S.: You can add the UnityHub yml under recipes/ if you wish, works fine.
The text was updated successfully, but these errors were encountered:
So I was trying to create an AppImage for UnityHub v3, as Unity provides an APT repo to get the .deb, and ended up with the following:
But realized that, instead of getting the latest version of the unityhub package (3.1.2 at the moment of writing), I got the oldest one available (3.0.0). I had to use a custom
functions.sh
script to change this behavior, looks like the Unity repo stores the older packages and, hence, they appear incache.txt
first.Shouldn't this be the default behavior? I mean, assume that you want the latest version of all packages whenever you want to build an AppImage, specially from a deb source. Or, at least, have some flexibility regarding package versions.
P.S.: You can add the UnityHub yml under
recipes/
if you wish, works fine.The text was updated successfully, but these errors were encountered: