mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-30 07:39:54 +08:00
⬆️ 升级 electron 到 26
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import messages from './langs';
|
||||
const { remote } = window.require('electron');
|
||||
const remote = window.require('@electron/remote');
|
||||
const { perf } = remote.getGlobal('OP_CONFIG').get();
|
||||
|
||||
console.log(messages);
|
||||
console.log(perf);
|
||||
|
||||
// 2. Create i18n instance with options
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
|
||||
Reference in New Issue
Block a user