Skip to content

Commit

Permalink
适配 Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
tangshimin committed Jan 3, 2024
1 parent 3ce9fa7 commit ba9dfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jvmMain/kotlin/player/MediaPlayerComponent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fun createMediaPlayerComponent(): Component {
val message = JEditorPane()
message.contentType = "text/html"
message.text = "<p>幕境 需要 <a href='https://www.videolan.org/'>VLC 视频播放器</a> 播放视频和单词发音</p><br>" +
" <a href='https://www.videolan.org/'>下载地址</a> "
"必须使用命令行 sudo apt-get install vlc 安装VLC,不要从 Snap Store 安装VLC."
message.addHyperlinkListener {
if(it.eventType == HyperlinkEvent.EventType.ACTIVATED){
Desktop.getDesktop().browse(it.url.toURI())
Expand Down

0 comments on commit ba9dfa9

Please sign in to comment.