electrobun 1.3.0-beta.2 → 1.3.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -760,7 +760,14 @@ const Updater = {
760
760
 
761
761
  // Move new AppImage to app location
762
762
  renameSync(newAppBundlePath, runningAppBundlePath);
763
-
763
+
764
+ // Clean up the extracted inner directory (contains leftover icon, shortcut, metadata.json)
765
+ const innerDirName = localInfo.name.replace(/ /g, "");
766
+ const extractedInnerDir = join(extractionDir, innerDirName);
767
+ if (statSync(extractedInnerDir, { throwIfNoEntry: false })?.isDirectory()) {
768
+ rmdirSync(extractedInnerDir, { recursive: true });
769
+ }
770
+
764
771
  // Make AppImage executable
765
772
  execSync(`chmod +x "${runningAppBundlePath}"`);
766
773
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "1.3.0-beta.2",
3
+ "version": "1.3.0-beta.4",
4
4
  "description": "Build ultra fast, tiny, and cross-platform desktop apps with Typescript.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",