2.8.0稳定版

This commit is contained in:
2025-11-06 21:10:00 +08:00
parent 0a7aaa7508
commit f7e1cad639
2 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ process.on('unhandledRejection', (reason, p) => {
app.on('web-contents-created', (_, contents) => {
contents.on('render-process-gone', (_event, details) => {
console.error('⚠️ 渲染崩溃:', details);
if (['launch-failed', 'abnormal-exit'].includes(details.reason)) {
if (['launch-failed', 'abnorm al-exit'].includes(details.reason)) {
const c = readCompat(); c.safeMode = true; writeCompat(c);
console.warn('[Compat] set safeMode=true (persisted), will auto-use SAFE_MODE next launch');
}
@@ -344,8 +344,8 @@ function createWindow() {
// 自动判断环境使用不同的页面地址
const isProd = app.isPackaged;
// const targetURL = isProd ? 'https://iosaitest.yolozs.com' : 'http://192.168.1.128:8080';
const targetURL = isProd ? 'https://iosai.yolozs.com' : 'http://192.168.1.128:8080';
const targetURL = isProd ? 'https://iosaitest.yolozs.com' : 'http://192.168.1.128:8080';
// const targetURL = isProd ? 'https://iosai.yolozs.com' : 'http://192.168.1.128:8080';
console.log('[页面加载] 使用地址:', targetURL);
let retryIntervalId = null;

View File

@@ -1,7 +1,7 @@
{
"name": "YOLO-ios-ai",
"productName": "YOLOAI助手ios",
"version": "2.7.1",
"version": "2.8.0",
"description": "Vue3 + WS 控制台",
"author": "yourname",
"main": "main.js",