Skip to content

Commit 5fcda15

Browse files
authored
fix logic error
1 parent ccc56f0 commit 5fcda15

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

citron-appimage.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ export DEPLOY_OPENGL=1
8484
export DEPLOY_VULKAN=1
8585
export DEPLOY_PIPEWIRE=1
8686

87-
if [ "$DEVEL" = 'true' ]; then
88-
sed -i 's|Name=citron|Name=citron nightly|' ./AppDir/*.desktop
89-
UPINFO="$(echo "$UPINFO" | sed 's|latest|nightly|')"
90-
fi
91-
9287
# ADD LIBRARIES
9388
wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun
9489
chmod +x ./quick-sharun
9590
./quick-sharun /usr/bin/citron* /usr/lib/libgamemode.so*
9691

92+
if [ "$DEVEL" = 'true' ]; then
93+
sed -i 's|Name=citron|Name=citron nightly|' ./AppDir/*.desktop
94+
UPINFO="$(echo "$UPINFO" | sed 's|latest|nightly|')"
95+
fi
96+
9797
# allow the host vulkan to be used for aarch64 given the sad situation
9898
if [ "$ARCH" = 'aarch64' ]; then
9999
echo 'SHARUN_ALLOW_SYS_VKICD=1' > ./AppDir/.env

0 commit comments

Comments
 (0)