What changed, and why it matters
This commit fixes the filename of the built AppImage package. The build tool was producing a file named like 'Skylight_Wallet-...' but the script later looked for 'skylight-wallet-...' (lowercase), so the final output message and any downstream steps could not find the file. The patch renames the generated file to the expected lowercase name and adds a clear error if it is missing. There is no security relevance.
No security action needed. Treat as a normal build-fix commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change is in appimage/build_appimage.sh. After running appimagetool, the generated filename uses a capitalized ‘Skylight_Wallet-${VERSION}-.AppImage’ pattern. The original script then tried to locate ‘skylight-wallet-v${VERSION}-.AppImage’ and would fail to report the output. The patch captures the generated filename, renames it to the desired lowercase ‘skylight-wallet-v${VERSION}-x86_64.AppImage’, and updates the final check to verify the renamed file exists, exiting with an error if not. This is a build-script robustness/cosmetic fix only.
Changed components
appimage/build_appimage.shInspect captured patch +13 / −5
diff --git a/appimage/build_appimage.sh b/appimage/build_appimage.sh
index c8d7c29..4668c7a 100755
--- a/appimage/build_appimage.sh
+++ b/appimage/build_appimage.sh
@@ -134,16 +134,24 @@ export VERSION
export ARCH=x86_64
./$APPIMAGETOOL_FILENAME AppDir
+GENERATED_APPIMAGE=$(ls -1 Skylight_Wallet-${VERSION}-*.AppImage 2>/dev/null | head -n1)
+DESIRED_NAME="skylight-wallet-v${VERSION}-x86_64.AppImage"
+
+if [ -n "$GENERATED_APPIMAGE" ]; then
+ echo "Renaming to: $DESIRED_NAME"
+ mv "$GENERATED_APPIMAGE" "$DESIRED_NAME"
+fi
+
# Clean up temporary files
echo "Cleaning up..."
rm -rf AppDir
echo ""
echo "✓ AppImage created successfully!"
-APPIMAGE_FILE=$(ls -1 skylight-wallet-v${VERSION}-*.AppImage 2>/dev/null | head -n1)
-if [ -n "$APPIMAGE_FILE" ]; then
- echo "Output: $APPIMAGE_FILE"
- echo "Run with: ./appimage/$APPIMAGE_FILE"
+if [ -f "$DESIRED_NAME" ]; then
+ echo "Output: $DESIRED_NAME"
+ echo "Run with: ./appimage/$DESIRED_NAME"
else
- echo "Output: Check appimage/ directory for skylight-wallet-v${VERSION}-*.AppImage"
+ echo "Error: AppImage file not found!"
+ exit 1
fi
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.