Skip to content

[feat] Should NOT read .gitignore to check if tauri.conf.json exists #3636

@xuchaoqian

Description

@xuchaoqian

Describe the problem

We use tauri.conf.template.json to generate tauri.conf.json, and commit tauri.conf.template.json to the repo, but ignore tauri.conf.json.

Then different OS hosts will pull the code to run different build script which generates tauri.conf.json on demand. It works in the earlier version of tauri , but does NOT work any more after upgrading to the latest release.

I think it's better to let the users decide whether or not to put tauri.conf.json to the .gitignore.

Describe the solution you'd like

Allow the users to put tauri.conf.json to .gitignore.

Alternatives considered

No response

Additional context

thread 'main' panicked at 'Couldn't recognize the current folder as a Tauri project. It must contain a tauri.conf.json or tauri.conf.json5 file in any subfolder.', src/helpers/app_paths.rs:64:4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions