We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86aae5e commit 85127beCopy full SHA for 85127be
ElectronNET.Host/main.js
@@ -141,10 +141,10 @@ function activeCountDowInterval(manifestJsonFile) {
141
clearInterval(countDownInterval);
142
143
dialog.showMessageBox(loadingWindow, {
144
- type: 'error',
145
- buttons: ["前往安装"],
146
- title: '文件缺失提示',
147
- message: '计算机缺少组件无法启动该程序,点击前往安装组件后重试',
+ type: manifestJsonFile.timeout.messageBox.type || 'error',
+ buttons: manifestJsonFile.timeout.messageBox.buttons || ["前往安装"],
+ title: manifestJsonFile.timeout.messageBox.title || '文件缺失提示',
+ message: manifestJsonFile.timeout.messageBox.message || '计算机缺少组件无法启动该程序,点击前往安装组件后重试',
148
}, (res, isChecked) => {
149
if (manifestJsonFile.timeout.help)
150
shell.openExternal(manifestJsonFile.timeout.help)
0 commit comments