Skip to content

fix(rpm): use product name for output package#9974

Merged
amrbashir merged 3 commits intodevfrom
fix/bundler/rpm-output-path
Jun 5, 2024
Merged

fix(rpm): use product name for output package#9974
amrbashir merged 3 commits intodevfrom
fix/bundler/rpm-output-path

Conversation

@amrbashir
Copy link
Member

@amrbashir amrbashir requested a review from a team as a code owner June 4, 2024 22:27
@amrbashir
Copy link
Member Author

@FabianLars even though the product name is used for the output bundle, the main binary name is still used in the RPM manifest, I assume the main binary name affects how you call the binary from command line? can you test if this aligns with .deb?

@FabianLars
Copy link
Member

.deb:

  • .deb file uses productName as is
  • binary to invoke in console is from cargo.toml
  • apt knows the installed app as productName as kebab-case (!)

.rpm:

  • .rpm file uses productName as is
  • binary to invoke in console is from cargo.toml
  • dnf knows the installed app as name from cargo.toml (!)

@amrbashir
Copy link
Member Author

@FabianLars can you retest with the last commit?

@FabianLars
Copy link
Member

as far as i can tell it behaves the same now

@amrbashir amrbashir merged commit de7da04 into dev Jun 5, 2024
@amrbashir amrbashir deleted the fix/bundler/rpm-output-path branch June 5, 2024 16:57
pewsheen pushed a commit to pewsheen/tauri that referenced this pull request Jun 13, 2024
* fix(rpm): use product name for output package

ref: tauri-apps#9375
ref: tauri-apps#9375 (comment)

* use kebab-case product-name for rpm

* fmt
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