Skip to content

[feat] Specify resource file target path #3539

@J-F-Liu

Description

@J-F-Liu

Describe the problem

The resource files in tauri.conf.json bundle config go to separate folders when the package is installed.
For example,

  "resources": [
    "system.ini",
    "config.ron"
  ],

Run the bundled MSI file and get the following result:
image
This is a strange behavior.

Describe the solution you'd like

My expection is to put the resources files in the same folder as the executable file.

To be more flexible, should use the same relative path as it is in the "resources" config.
For example, "conf/system.ini" is installed as "%Program Files%/%ProgramName%/conf/system.ini".

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions