Skip to content

Commit

Permalink
Update plugin-unblockneteasemusic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayideyia committed Oct 27, 2024
1 parent 5539c5d commit f0e8e99
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion plugins/Generic/plugin-unblockneteasemusic.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,14 @@ const InstallUnblockMusic = async () => {

const ca = 'data/.cache/ca.crt'
await Plugins.Download('https://raw.githubusercontent.com/UnblockNeteaseMusic/server/enhanced/ca.crt', ca)
await Plugins.alert('最后一步', '请手动安装CA证书。\n\n证书路径:' + ca + '\n\n安装教程:https://github.com/UnblockNeteaseMusic/server/discussions/426')
const path = await Plugins.AbsolutePath(ca)
await Plugins.alert(
'最后一步',
`请手动安装CA证书,该证书来自项目,但我们建议你使用自签证书。\n\n> 证书路径:${ca} [](${path.replaceAll('\\', '/')} "点击安装")\n\n安装教程:[](https://github.com/UnblockNeteaseMusic/server/discussions/426 "https://github.com/UnblockNeteaseMusic/server/discussions/426")`,
{
type: 'markdown'
}
)
}

/**
Expand Down

0 comments on commit f0e8e99

Please sign in to comment.