Jelajahi Sumber

fix(bundler): Fix appimage bundler crashing if path has spaces (#4471)

* fix(bundler): Fix appimage bundler crashing if path has spaces

* add changefile
Fabian-Lars 3 tahun lalu
induk
melakukan
82eb6e79e8

+ 5 - 0
.changes/bundler-appimage-fix-space.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+---
+
+Fixes AppImage bundler crashes when the file path contains whitespace.

+ 1 - 1
tooling/bundler/src/bundle/linux/templates/appimage

@@ -70,4 +70,4 @@ chmod +x linuxdeploy-${ARCH}.AppImage
 
 OUTPUT="{{appimage_filename}}" ./linuxdeploy-${ARCH}.AppImage --appimage-extract-and-run --appdir "{{app_name}}.AppDir" --plugin gtk ${gst_plugin}  --output appimage
 rm -r "{{app_name}}.AppDir"
-mv "{{appimage_filename}}" $OUTDIR
+mv "{{appimage_filename}}" "$OUTDIR"