2.8.0稳定版
This commit is contained in:
6
main.js
6
main.js
@@ -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;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "YOLO-ios-ai",
|
||||
"productName": "YOLO(AI助手ios)",
|
||||
"version": "2.7.1",
|
||||
"version": "2.8.0",
|
||||
"description": "Vue3 + WS 控制台",
|
||||
"author": "yourname",
|
||||
"main": "main.js",
|
||||
|
||||
Reference in New Issue
Block a user