no message

This commit is contained in:
kuaifan 2022-02-23 00:19:32 +08:00
parent cbf2e6a140
commit 2e0c262d32
7 changed files with 21 additions and 16 deletions

View File

@ -19,7 +19,7 @@ jobs:
uses: loopwerk/tag-changelog@v1
with:
token: ${{ secrets.GH_PAT }}
exclude_types: other,chore
exclude_types: other,chore,build
- name: Create release
uses: actions/create-release@latest

View File

@ -21,9 +21,9 @@ Group No.: `546574618`
# 1、Clone the repository
# Clone projects on github
git clone https://github.com/kuaifan/dootask.git
git clone --depth=1 https://github.com/kuaifan/dootask.git
# Or you can use gitee
git clone https://gitee.com/aipaw/dootask.git
git clone --depth=1 https://gitee.com/aipaw/dootask.git
# 2、Enter directory
cd dootask

View File

@ -21,9 +21,9 @@
# 1、克隆项目到您的本地或服务器
# 通过github克隆项目
git clone https://github.com/kuaifan/dootask.git
git clone --depth=1 https://github.com/kuaifan/dootask.git
# 或者你也可以使用gitee
git clone https://gitee.com/aipaw/dootask.git
git clone --depth=1 https://gitee.com/aipaw/dootask.git
# 2、进入目录
cd dootask

View File

@ -0,0 +1,14 @@
# Change
## js/diagramly/ElectronApp.js
- 隐藏文件中的无用菜单
## js/app.min.js
- 隐藏帮助菜单
- 取消未保存关闭窗口提示
## index.html
- 隐藏加载中的提示

View File

@ -364,6 +364,7 @@
color:#606060;
}
.geBlock {
display: none;
z-index:-3;
margin:100px;
margin-top:40px;
@ -372,9 +373,6 @@
text-align:center;
min-width:50%;
}
.geBlock h1, .geBlock p {
display: none;
}
.geBlock h1, .geBlock h2 {
margin-top:0px;
padding-top:0px;

5
electron/preload.js vendored
View File

@ -56,11 +56,6 @@ contextBridge.exposeInMainWorld(
},
sendSyncMessage: (action, args) => {
ipcRenderer.sendSync(action, args);
},
openExternal: (url) => {
return new Promise((resolve, reject) => {
shell.openExternal(url).then(resolve).catch(reject)
});
}
}
);

View File

@ -366,9 +366,7 @@
return
}
if ($A.Electron) {
$A.Electron.openExternal(url).catch(() => {
$A.modalError("下载失败");
});
$A.Electron.sendMessage('openExternal', url);
} else {
window.open(url)
}