fix: Linux portable naming incorrect

This commit is contained in:
LukeGus
2025-11-04 21:24:35 -06:00
parent 42b82eaed5
commit 247d9647dc
2 changed files with 3 additions and 13 deletions

View File

@@ -187,21 +187,8 @@ jobs:
- name: Rename Linux artifacts for consistency
run: |
VERSION=$(node -p "require('./package.json').version")
cd release
if [ -f "termix-${VERSION}.tar.gz" ]; then
mv "termix-${VERSION}.tar.gz" "termix_linux_x64_portable.tar.gz"
fi
if [ -f "termix-${VERSION}-arm64.tar.gz" ]; then
mv "termix-${VERSION}-arm64.tar.gz" "termix_linux_arm64_portable.tar.gz"
fi
if [ -f "termix-${VERSION}-armv7l.tar.gz" ]; then
mv "termix-${VERSION}-armv7l.tar.gz" "termix_linux_armv7l_portable.tar.gz"
fi
if [ -f "termix_linux_amd64_deb.deb" ]; then
mv "termix_linux_amd64_deb.deb" "termix_linux_x64_deb.deb"
fi

View File

@@ -64,6 +64,9 @@
"arch": ["x64", "arm64", "armv7l"]
}
],
"portable": {
"artifactName": "termix_linux_${arch}_portable.${ext}"
},
"icon": "public/icon.png",
"category": "Development",
"executableName": "termix",