Skip to content

Commit 01cda70

Browse files
committed
Repackage AppImage
1 parent 42c7b6d commit 01cda70

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

build/after-build.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ async function processAppImage() {
8686
const newAppImageName = `Emulsion-${version}-x86_64.AppImage`;
8787
execSync(`"${appimagetoolPath}" squashfs-root "${newAppImageName}"`, { stdio: 'inherit' });
8888
console.log(`AppImage repackaged as: ${newAppImageName}`);
89+
90+
// Remove the appimagetool binary after successful repackaging
91+
try {
92+
fs.unlinkSync(appimagetoolPath);
93+
console.log('Removed appimagetool-x86_64.AppImage');
94+
} catch (error) {
95+
console.warn('Failed to remove appimagetool-x86_64.AppImage:', error.message);
96+
}
8997
} else {
9098
console.log('appimagetool not found in bin directory, skipping repackaging');
9199
}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "emulsion",
3-
"version": "0.10.25",
3+
"version": "0.10.26",
44
"summary": "Better gaming throught chemistry",
55
"description": "Display your games collection into responsive galleries, manage game metadata, cover art and emulator configuration. Launch your games in style.",
66
"homepage": "https://yphil.gitlab.io/emulsion",

0 commit comments

Comments
 (0)