[bug] RPM installer places resources in wrong path #11993
Labels
good first issue
Good for newcomers
platform: Linux
scope: bundler
The bundler used in our cli to make installers
status: needs triage
This issue needs to triage, applied to new issues
type: bug
Describe the bug
DEB and MSI correctly place resources in the system, but RPM does not.
It seems that the configuration (
bundle
->resources
) for generating RPM is used incorrectly.Before running the build command, I place my resources next to
tauri.conf.json
in theres
folder.My config:
I want the installer to place my resources in the same way that almost all installers do:
<res-base>/resources/first.db
<res-base>/resources/second.bin
<res-base>/resources/third.db
<res-base>/resources/fourth.db
But RPM does like that:
<res-base>/res/resources/first.db
<res-base>/res/resources/second.bin
<res-base>/res/resources/third.db
<res-base>/res/resources/fourth.db
After installing such RPM I get a non-working application.
As a bonus here we see that the resource directories differ even without installing:
Reproduction
resources-problem
branchbuild:image
andbuild:container
commands to produce bundlesExpected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: