pack: prettier now use space instead of tab

This commit is contained in:
leejooy96 committed 2022-11-13 11:21:33 +09:00
1 parent 2f55889ef8
commit ab7df03aa3
31 files changed
+705 -706

No files matched your search

+6 -6
View File
@@ -1,13 +1,13 @@
import { shell } from 'electron'
export default class Utils {
static getCurrentLocale(): string {
return navigator?.language?.split('-')[0] || 'en'
}
static getCurrentLocale(): string {
return navigator?.language?.split('-')[0] || 'en'
}
static async openExternal(url: string): Promise<void> {
await shell.openExternal(url)
}
static async openExternal(url: string): Promise<void> {
await shell.openExternal(url)
}
}
export const { getCurrentLocale, openExternal } = Utils