pack: vutron now uses the vite compiler
This commit is contained in:
1 parent
fce96211ba
commit
02b13d8fb7
30 files changed
+2064
-11005
No files matched your search
@@ -0,0 +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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user