Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for tauri configuration files #1376

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bdbelevate
Copy link

@bdbelevate bdbelevate commented Mar 20, 2025

This adds Tauri configuration files support for Knope

Closes #1375

Copy link

netlify bot commented Mar 20, 2025

Deploy Preview for knope ready!

Name Link
🔨 Latest commit 833ba20
🔍 Latest deploy log https://app.netlify.com/sites/knope/deploys/67dc9fff77a425000806d2be
😎 Deploy Preview https://deploy-preview-1376--knope.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@dbanty dbanty left a comment

Choose a reason for hiding this comment

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

Nice, thanks! I actually have a Tauri app I maintain, but I use the Cargo.toml version 😁. It would be very handy to increment versions for different platforms independently, though.

Comment on lines +40 to +43
TauriConf(TauriConfJson),
TauriMacosConf(TauriConfJson),
TauriWindowsConf(TauriConfJson),
TauriLinuxConf(TauriConfJson),
Copy link
Member

Choose a reason for hiding this comment

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

I see what you mean about the 1-1 file type to path being problematic. We should definitely decouple those and let there be multiple file names per type. I'll take a stab at that

Comment on lines +168 to +169

`dependency` isn't supported yet.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`dependency` isn't supported yet.

I don't think there is anything dependency-like to version in here in the future.

#[cfg_attr(
feature = "miette",
diagnostic(
code(package_json::deserialize),
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
code(package_json::deserialize),
code(tauri_conf_json::deserialize),

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.

Support Tauri configuration files
2 participants