Loading your awesome experience...
```
Bundle Identifier [#bundle-identifier]
The bundle identifier in `tauri.conf.json` is important for:
| Platform | Usage |
| -------- | ---------------------------------- |
| macOS | Bundle ID, code signing, App Store |
| Windows | Application User Model ID |
| Linux | Desktop entry file name |
Choose a unique identifier following reverse-domain notation. Here are some examples:
* `com.yourcompany.appname` — For company apps
* `dev.yourname.appname` — For personal projects
* `io.github.username.appname` — For open source projects
Version Management [#version-management]
Keep versions synchronized across all configuration files. When releasing a new version, update:
1. `package.json`
2. `src-tauri/Cargo.toml`
3. `src-tauri/tauri.conf.json`
Current theme: {settings.theme}
Logging enabled: {settings.enableLogging ? "Yes" : "No"}
);
}
```
Updating Settings [#updating-settings]
Call `updateSettings` with a partial settings object. Only the fields you provide will be updated:
```typescript
import { useSettings } from "@/stores/settings";
function ThemeToggle() {
const updateSettings = useSettings((state) => state.updateSettings);
const switchToDark = async () => {
await updateSettings({ theme: "dark" });
};
return