diff --git a/README.md b/README.md index 4d826439..42e5e4d7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ 所用技术栈: -- Electron 7.x +- Electron 6.x - Vue 2.x 其他说明:TODO @@ -40,3 +40,7 @@ npm run pack:dir npm run pack ``` + +## License + +Apache License 2.0 diff --git a/package.json b/package.json index bdd6655e..bf0602dd 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ }, "keywords": [], "author": "lyswhut", - "license": "MIT", + "license": "Apache License 2.0", "bugs": { "url": "https://github.com/lyswhut/lx-music-desktop/issues" }, diff --git a/src/renderer/assets/styles/index.less b/src/renderer/assets/styles/index.less index b40b46ef..008cb8a6 100644 --- a/src/renderer/assets/styles/index.less +++ b/src/renderer/assets/styles/index.less @@ -92,6 +92,9 @@ table { small { font-size: .8em; } +.small { + font-size: .9em; +} strong { font-weight: bold; } diff --git a/src/renderer/utils/index.js b/src/renderer/utils/index.js index 26722fdb..f86d4c6b 100644 --- a/src/renderer/utils/index.js +++ b/src/renderer/utils/index.js @@ -194,3 +194,11 @@ export const updateSetting = setting => { } return setting } + +/** + * 在浏览器打开URL + * @param {*} url + */ +export const openUrl = url => { + shell.openExternal(url) +} diff --git a/src/renderer/views/Setting.vue b/src/renderer/views/Setting.vue index 98a915da..10060ffc 100644 --- a/src/renderer/views/Setting.vue +++ b/src/renderer/views/Setting.vue @@ -59,36 +59,35 @@ div.scroll(:class="$style.setting") material-btn(:class="[$style.btn, $style.gap]" min @click="handleExportAllData") 导出 dt 关于洛雪音乐 dd + p.small + | 本软件完全免费,代码已开源,开源地址: + span.hover(@click="handleOpenUrl('https://github.com/lyswhut/lx-music-desktop')") https://github.com/lyswhut/lx-music-desktop p small 当前版本: | {{version.version}} - p - small By: - | 落雪无痕 - p - small - | 本软件仅用于学习交流使用,禁止将本软件用于 - strong 非法用途 - | 或 - strong 商业用途 - | 。 - p - small + p.small + | 本软件仅用于学习交流使用,禁止将本软件用于 + strong 非法用途 + | 或 + strong 商业用途 + | 。 + p.small | 使用本软件造成的一切后果由 strong 使用者 | 承担! - p - small + p.small | 本软件的部分接口使用自 https://github.com/messoer ,非常感谢 strong @messoer | ! + p.small 若有问题可 mail to:lyswhut@qq.com 或到 github 提交 issue p - small 若有问题可 mail to:lyswhut@qq.com + small By: + | 落雪无痕 @@ -345,7 +347,7 @@ export default { margin: 25px 0 15px; } p { - padding: 3px 0; + padding: 5px 0; .btn { + .btn { margin-left: 10px;