feat(settings): add minimal settings panel
- Add settings icon button next to app title - Create SettingsModal component with: - Show in Dock option (macOS) - Version info and check for updates button - Config file location with open folder button - Add settings-related APIs in tauri-api - Update type definitions for new API methods
This commit is contained in:
3
src/vite-env.d.ts
vendored
3
src/vite-env.d.ts
vendored
@@ -35,6 +35,9 @@ declare global {
|
||||
onProviderSwitched: (
|
||||
callback: (data: { appType: string; providerId: string }) => void,
|
||||
) => Promise<UnlistenFn>;
|
||||
getSettings: () => Promise<any>;
|
||||
saveSettings: (settings: any) => Promise<boolean>;
|
||||
checkForUpdates: () => Promise<void>;
|
||||
};
|
||||
platform: {
|
||||
isMac: boolean;
|
||||
|
||||
Reference in New Issue
Block a user