Skip to content

Commit 9d2d051

Browse files
kaishuu0123claude
andauthored
fix: add getAppVersion and checkForUpdates stubs to browser mode fallback (#38)
* feat: add About dialog - Add AboutDialog component with app icon, version, and auto-update status - Trigger dialog from footer "Text Diff View" button - Add get-app-version and check-for-updates-now IPC handlers - Expose getAppVersion() and checkForUpdates() via preload - Bump version to 1.8.0, update Electron to ^41.1.1 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore npmrc * fix: add getAppVersion and checkForUpdates stubs to browser mode fallback Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 38fa487 commit 9d2d051

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/renderer/src/main.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ if (window.api === undefined) {
1313
SetThemeName: async (themeName: string): Promise<void> => {
1414
localStorage.setItem('themeName', themeName)
1515
},
16-
installUpdate: (): void => {}
16+
installUpdate: (): void => {},
17+
getAppVersion: (): string => '0.0.0',
18+
checkForUpdates: (): void => {}
1719
}
1820
}
1921

0 commit comments

Comments
 (0)