修正与更新软件说明

pull/96/head
lyswhut 2019-08-17 00:13:10 +08:00
parent 14f7bd10a3
commit 43bc2b6b90
5 changed files with 36 additions and 19 deletions

View File

@ -20,7 +20,7 @@
所用技术栈: 所用技术栈:
- Electron 7.x - Electron 6.x
- Vue 2.x - Vue 2.x
其他说明TODO 其他说明TODO
@ -40,3 +40,7 @@ npm run pack:dir
npm run pack npm run pack
``` ```
## License
Apache License 2.0

View File

@ -58,7 +58,7 @@
}, },
"keywords": [], "keywords": [],
"author": "lyswhut", "author": "lyswhut",
"license": "MIT", "license": "Apache License 2.0",
"bugs": { "bugs": {
"url": "https://github.com/lyswhut/lx-music-desktop/issues" "url": "https://github.com/lyswhut/lx-music-desktop/issues"
}, },

View File

@ -92,6 +92,9 @@ table {
small { small {
font-size: .8em; font-size: .8em;
} }
.small {
font-size: .9em;
}
strong { strong {
font-weight: bold; font-weight: bold;
} }

View File

@ -194,3 +194,11 @@ export const updateSetting = setting => {
} }
return setting return setting
} }
/**
* 在浏览器打开URL
* @param {*} url
*/
export const openUrl = url => {
shell.openExternal(url)
}

View File

@ -59,36 +59,35 @@ div.scroll(:class="$style.setting")
material-btn(:class="[$style.btn, $style.gap]" min @click="handleExportAllData") 导出 material-btn(:class="[$style.btn, $style.gap]" min @click="handleExportAllData") 导出
dt 关于洛雪音乐 dt 关于洛雪音乐
dd dd
p.small
| 本软件完全免费代码已开源开源地址
span.hover(@click="handleOpenUrl('https://github.com/lyswhut/lx-music-desktop')") https://github.com/lyswhut/lx-music-desktop
p p
small 当前版本 small 当前版本
| {{version.version}} | {{version.version}}
p p.small
small By | 本软件仅用于学习交流使用禁止将本软件用于
| 落雪无痕 strong 非法用途
p |
small strong 商业用途
| 本软件仅用于学习交流使用禁止将本软件用于 |
strong 非法用途 p.small
|
strong 商业用途
|
p
small
| 使用本软件造成的一切后果由 | 使用本软件造成的一切后果由
strong 使用者 strong 使用者
| 承担 | 承担
p p.small
small
| 本软件的部分接口使用自 https://github.com/messoer | 本软件的部分接口使用自 https://github.com/messoer
strong @messoer strong @messoer
| |
p.small 若有问题可 mail tolyswhut@qq.com 或到 github 提交 issue
p p
small 若有问题可 mail tolyswhut@qq.com small By
| 落雪无痕
</template> </template>
<script> <script>
import { mapGetters, mapMutations } from 'vuex' import { mapGetters, mapMutations } from 'vuex'
import { openDirInExplorer, openSelectDir, openSaveDir, updateSetting } from '../utils' import { openDirInExplorer, openSelectDir, openSaveDir, updateSetting, openUrl } from '../utils'
import fs from 'fs' import fs from 'fs'
export default { export default {
name: 'Setting', name: 'Setting',
@ -308,6 +307,9 @@ export default {
this.exportPlayList(result.filePath) this.exportPlayList(result.filePath)
}) })
}, },
handleOpenUrl(url) {
openUrl(url)
},
}, },
} }
</script> </script>
@ -345,7 +347,7 @@ export default {
margin: 25px 0 15px; margin: 25px 0 15px;
} }
p { p {
padding: 3px 0; padding: 5px 0;
.btn { .btn {
+ .btn { + .btn {
margin-left: 10px; margin-left: 10px;