Skip to content

fix(bundler): wrap Exec in desktop with quotes, rename appimage main binary if has spaces#11218

Merged
lucasfernog merged 2 commits intodevfrom
fix/linux-bundle-main-binary-name-spaces
Oct 6, 2024
Merged

fix(bundler): wrap Exec in desktop with quotes, rename appimage main binary if has spaces#11218
lucasfernog merged 2 commits intodevfrom
fix/linux-bundle-main-binary-name-spaces

Conversation

@amrbashir
Copy link
Member

No description provided.

@amrbashir amrbashir requested a review from a team as a code owner October 4, 2024 06:14
@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2024

Package Changes Through e6ac2e9

There are 4 changes which include @tauri-apps/api with patch, tauri-bundler with patch, tauri-cli with patch, @tauri-apps/cli with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.0.1 2.0.2
tauri-bundler 2.0.1 2.0.2
@tauri-apps/cli 2.0.1 2.0.2
tauri-cli 2.0.1 2.0.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

fs::copy(main_binary_path, new_path)?;

let main_binary = settings.main_binary_mut()?;
main_binary.set_name(main_binary_name_kebab);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure we need this? isn't the quotes enough?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately not, tried a couple of ways, wrapping in quotes, single quotes, replacing whitespace with \s, none of them worked for appimage

@lucasfernog lucasfernog merged commit a49a19f into dev Oct 6, 2024
@lucasfernog lucasfernog deleted the fix/linux-bundle-main-binary-name-spaces branch October 6, 2024 17:08
lucasfernog-crabnebula added a commit to crabnebula-dev/cargo-packager that referenced this pull request Feb 3, 2025
lucasfernog-crabnebula added a commit to crabnebula-dev/cargo-packager that referenced this pull request Feb 3, 2025
* fix(packager): rename main bin name for AppImage if it has spaces

ref tauri-apps/tauri#11218

* lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants