yangjie #49

Merged
yangqiang merged 71 commits from yangjie into master 2025-03-10 14:21:26 +08:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit ac00b4b2a9 - Show all commits

View File

@ -58,8 +58,9 @@ class AppWindow extends BrowserWindow {
this.loadURL('http://localhost:3000'); this.loadURL('http://localhost:3000');
} }
} else { } else {
this.loadFile(path.resolve(__dirname, './dist/index.html')) this.loadURL('https://meeting-api.23544.com/')
} }
// this.loadFile(path.resolve(__dirname, './dist/index.html'))
this.once('ready-to-show', () => { this.once('ready-to-show', () => {
this.show(); this.show();
}); });
@ -621,7 +622,8 @@ app.on('ready', () => {
} }
} else { } else {
// 测试 | 生产 // 测试 | 生产
child.loadURL(`file://${path.join(__dirname, './dist/index.html')}#/${config.key}`); child.loadURL(`https://meeting-api.23544.com/#/${config.key}`);
// child.loadURL(`file://${path.join(__dirname, './dist/index.html')}#/${config.key}`);
} }
child.hookWindowMessage(278, function (e) { child.hookWindowMessage(278, function (e) {
child.setEnabled(false);//窗口禁用 child.setEnabled(false);//窗口禁用