no message

This commit is contained in:
kuaifan 2025-03-27 20:46:12 +08:00
parent 8d6b4a1d2e
commit b78f93979d
4 changed files with 17 additions and 15 deletions

9
electron/build.js vendored
View File

@ -695,7 +695,6 @@ if (["dev"].includes(argv[2])) {
}); });
} else { } else {
// 手编译(默认) // 手编译(默认)
let cachedConfig = {}; let cachedConfig = {};
try { try {
const buildConfigPath = path.join(__dirname, '.build'); const buildConfigPath = path.join(__dirname, '.build');
@ -736,7 +735,7 @@ if (["dev"].includes(argv[2])) {
type: 'checkbox', type: 'checkbox',
name: 'arch', name: 'arch',
message: "选择系统架构", message: "选择系统架构",
choices: ({ platform }) => { choices: ({platform}) => {
const array = [ const array = [
{ {
name: "arm64", name: "arm64",
@ -781,7 +780,7 @@ if (["dev"].includes(argv[2])) {
type: 'list', type: 'list',
name: 'release', name: 'release',
message: "选择升级方式", message: "选择升级方式",
when: ({ publish }) => publish, when: ({publish}) => publish,
choices: [{ choices: [{
name: "弹出提示", name: "弹出提示",
value: true value: true
@ -795,8 +794,8 @@ if (["dev"].includes(argv[2])) {
{ {
type: 'list', type: 'list',
name: 'notarize', name: 'notarize',
message: ({ platform }) => platform.length > 1 ? "选择是否公证仅MacOS" : "选择是否公证", message: ({platform}) => platform.length > 1 ? "选择是否公证仅MacOS" : "选择是否公证",
when: ({ platform }) => platform.find(item => item === 'build-mac'), when: ({platform}) => platform.find(item => item === 'build-mac'),
choices: [{ choices: [{
name: "否", name: "否",
value: false value: false

View File

@ -6,7 +6,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"start": "electron-forge start", "start": "electron-forge start",
"start-quiet": "sleep 3 && electron-forge start &> /dev/null", "start-quiet": "sleep 3 && electron-forge start",
"build": "electron-builder", "build": "electron-builder",
"build-mac": "electron-builder --mac", "build-mac": "electron-builder --mac",
"build-win": "electron-builder --win", "build-win": "electron-builder --win",

View File

@ -2017,6 +2017,7 @@ API请求的URL路径
报告不存在或已被删除 报告不存在或已被删除
文件读取失败:(*) 文件读取失败:(*)
独立窗口显示 独立窗口显示
独立窗口
在消息中显示 在消息中显示
添加机器人 添加机器人
@ -2032,3 +2033,5 @@ API请求的URL路径
后退 后退
前进 前进
你可能要发送的照片

View File

@ -414,9 +414,9 @@
} }
.modal-item-btns { .modal-item-btns {
button + button { display: flex;
margin-left: 12px; flex-wrap: wrap;
} gap: 12px;
} }
} }
} }