renderer: add theme switcher, go to about page button in main screen

This commit is contained in:
leejooy96 committed 2022-07-12 09:24:25 +09:00
1 parent 72f2ef94a6
commit df3906c1cc
4 files changed
+62

No files matched your search

+6
View File
@@ -1,5 +1,11 @@
import { shell } from 'electron'
export default class Utils {
static getCurrentLocale () {
return navigator?.language?.split('-')[0] || 'en'
}
static async openExternal (url) {
await shell.openExternal(url)
}
}