修正与更新软件说明

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
其他说明TODO
@ -40,3 +40,7 @@ npm run pack:dir
npm run pack
```
## License
Apache License 2.0

View File

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

View File

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

View File

@ -194,3 +194,11 @@ export const updateSetting = 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") 导出
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 tolyswhut@qq.com 或到 github 提交 issue
p
small 若有问题可 mail tolyswhut@qq.com
small By
| 落雪无痕
</template>
<script>
import { mapGetters, mapMutations } from 'vuex'
import { openDirInExplorer, openSelectDir, openSaveDir, updateSetting } from '../utils'
import { openDirInExplorer, openSelectDir, openSaveDir, updateSetting, openUrl } from '../utils'
import fs from 'fs'
export default {
name: 'Setting',
@ -308,6 +307,9 @@ export default {
this.exportPlayList(result.filePath)
})
},
handleOpenUrl(url) {
openUrl(url)
},
},
}
</script>
@ -345,7 +347,7 @@ export default {
margin: 25px 0 15px;
}
p {
padding: 3px 0;
padding: 5px 0;
.btn {
+ .btn {
margin-left: 10px;