update fyne to 2.5.1

This commit is contained in:
aynakeya
2024-08-26 17:15:31 -07:00
parent e7f7ddfe4a
commit 7960299f09
4 changed files with 6 additions and 10 deletions

BIN
assets/icon2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

6
go.mod
View File

@@ -10,7 +10,7 @@ replace (
)
require (
fyne.io/fyne/v2 v2.5.0
fyne.io/fyne/v2 v2.5.1
github.com/AynaLivePlayer/liveroom-sdk v0.1.0
github.com/AynaLivePlayer/miaosic v0.1.5
github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b
@@ -52,7 +52,7 @@ require (
github.com/fyne-io/glfw-js v0.0.0-20240101223322-6e1efdc71b7a // indirect
github.com/fyne-io/image v0.0.0-20220602074514-4956b0afb3d2 // indirect
github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
github.com/go-text/render v0.1.0 // indirect
github.com/go-text/render v0.1.1-0.20240418202334-dd62631dae9b // indirect
github.com/go-text/typesetting v0.1.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/google/uuid v1.5.0 // indirect
@@ -63,7 +63,7 @@ require (
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/nicksnyder/go-i18n/v2 v2.4.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rymdport/portal v0.2.2 // indirect
github.com/rymdport/portal v0.2.6 // indirect
github.com/sahilm/fuzzy v0.1.0 // indirect
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
github.com/spf13/cast v1.5.1 // indirect

View File

@@ -77,10 +77,6 @@ func StopPlayer() {
// Stop player async but wait for at most 1 second
go func() {
//err := libmpv.SetOptionString("vo", "no")
//if err != nil {
// log.Error("fail to reseting window handle to 0")
//}
// todo: when call TerminateDestroy after wid has been set, a c code panic will arise.
// maybe because the window mpv attach to has been closed. so handle was closed twice
// for now. just don't destroy it. because it also might fix configuration
@@ -92,8 +88,8 @@ func StopPlayer() {
select {
case <-done:
log.Info("mpv player stopped")
case <-time.After(1 * time.Second):
log.Error("mpv player stop timed out")
case <-time.After(2 * time.Second):
log.Error("mpv player stop timed out (2s) ")
}
}

View File

@@ -18,7 +18,7 @@
----
Finished
- 2024.08.25 : 添加是否播放闲置歌单选项
- 2024.08.25 : 添加是否播放闲置歌单选项,修复退出时panic的问题
- 2024.08.14 : 网页输出模版上线
- 2024.08.06 : 修复使用身份码连接的时候房管无法切歌的问题
- 2024.07.25 : 或许修复配置无法正确保存的问题