完善帮助文档

This commit is contained in:
fofolee
2022-05-02 02:28:18 +08:00
parent 916105aa3d
commit b41b262c8b
16 changed files with 436 additions and 3838 deletions

View File

@@ -407,13 +407,22 @@ window.getSelectFile = hwnd => {
}
}
window.showHelpPage = path => {
utools.ubrowser
.goto("https://www.yuque.com/fofolee-awga0/cpbg1m/bg31vl" + path)
.run({
width: 1380,
height: 750
});
let runUbrowser = path => {
utools.ubrowser.goto(path).run({
width: 1380,
height: 750
});
}
const docsRepoUrl = 'https://www.yuque.com/fofolee/mwsoos'
window.showUb = {
help: function(path = '') {
runUbrowser(docsRepoUrl + '/bg31vl' + path)
},
docs: function(path = '') {
runUbrowser(docsRepoUrl + '/pt589p' + path)
}
}
window.clipboardReadText = () => electron.clipboard.readText()