mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-11-12 20:23:48 +08:00
2.5版本 增加dall-e 优化mj 对接mj-plus
This commit is contained in:
@@ -5,11 +5,11 @@ const path = require('path')
|
||||
function configureAppMenu(mainWindow) {
|
||||
|
||||
let tray = new Tray(path.join(__dirname, '../icons/16x16.png'));
|
||||
// tray.setToolTip('Nine Ai');
|
||||
// tray.setToolTip('YiAi Ai');
|
||||
|
||||
const template = [
|
||||
{
|
||||
label: 'NineAi',
|
||||
label: 'YiAi',
|
||||
submenu: [
|
||||
{
|
||||
label: '退出应用',
|
||||
|
||||
@@ -26,7 +26,7 @@ function createMainWindow() {
|
||||
|
||||
if (app.isPackaged) {
|
||||
// mainWindow.loadFile(filePath)
|
||||
mainWindow.loadURL('https://ai.jiangly.com')
|
||||
// mainWindow.loadURL('https://ai.jiangly.com')
|
||||
}
|
||||
else {
|
||||
mainWindow.loadURL('http://127.0.0.1:1002')
|
||||
|
||||
Reference in New Issue
Block a user