mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
no message
This commit is contained in:
parent
8d6b4a1d2e
commit
b78f93979d
21
electron/build.js
vendored
21
electron/build.js
vendored
@ -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",
|
||||||
@ -774,14 +773,14 @@ if (["dev"].includes(argv[2])) {
|
|||||||
name: "是",
|
name: "是",
|
||||||
value: true
|
value: true
|
||||||
}],
|
}],
|
||||||
default: (cachedConfig && cachedConfig.publish !== undefined) ?
|
default: (cachedConfig && cachedConfig.publish !== undefined) ?
|
||||||
(cachedConfig.publish ? 1 : 0) : 0
|
(cachedConfig.publish ? 1 : 0) : 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'list',
|
type: 'list',
|
||||||
name: 'release',
|
name: 'release',
|
||||||
message: "选择升级方式",
|
message: "选择升级方式",
|
||||||
when: ({ publish }) => publish,
|
when: ({publish}) => publish,
|
||||||
choices: [{
|
choices: [{
|
||||||
name: "弹出提示",
|
name: "弹出提示",
|
||||||
value: true
|
value: true
|
||||||
@ -789,14 +788,14 @@ if (["dev"].includes(argv[2])) {
|
|||||||
name: "静默",
|
name: "静默",
|
||||||
value: false
|
value: false
|
||||||
}],
|
}],
|
||||||
default: (cachedConfig && cachedConfig.release !== undefined) ?
|
default: (cachedConfig && cachedConfig.release !== undefined) ?
|
||||||
(cachedConfig.release ? 0 : 1) : 0
|
(cachedConfig.release ? 0 : 1) : 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
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
|
||||||
@ -804,8 +803,8 @@ if (["dev"].includes(argv[2])) {
|
|||||||
name: "是",
|
name: "是",
|
||||||
value: true
|
value: true
|
||||||
}],
|
}],
|
||||||
default: (cachedConfig && cachedConfig.notarize !== undefined) ?
|
default: (cachedConfig && cachedConfig.notarize !== undefined) ?
|
||||||
(cachedConfig.notarize ? 1 : 0) : 0
|
(cachedConfig.notarize ? 1 : 0) : 0
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
@ -2017,6 +2017,7 @@ API请求的URL路径
|
|||||||
报告不存在或已被删除
|
报告不存在或已被删除
|
||||||
文件读取失败:(*)
|
文件读取失败:(*)
|
||||||
独立窗口显示
|
独立窗口显示
|
||||||
|
独立窗口
|
||||||
在消息中显示
|
在消息中显示
|
||||||
|
|
||||||
添加机器人
|
添加机器人
|
||||||
@ -2032,3 +2033,5 @@ API请求的URL路径
|
|||||||
|
|
||||||
后退
|
后退
|
||||||
前进
|
前进
|
||||||
|
|
||||||
|
你可能要发送的照片
|
||||||
|
|||||||
6
resources/assets/sass/pages/page-apply.scss
vendored
6
resources/assets/sass/pages/page-apply.scss
vendored
@ -414,9 +414,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.modal-item-btns {
|
.modal-item-btns {
|
||||||
button + button {
|
display: flex;
|
||||||
margin-left: 12px;
|
flex-wrap: wrap;
|
||||||
}
|
gap: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user