This is just a workaround, and the core issue is on UNM.
However, refactoring UNM is time-comsuming and also requires
a lot of hard work. Therefore, we disable "migu" at this moment
simply.
Fixed#1713Fixed#1711 (?)
* refactor: use unm-rust-napi
* ci(build): install UNM dependencies for certain platforms
* feat: add the ability to configure UNM
* feat: add the UNM configuration in settings page
* refactor(jsconfig): jsx -> preserve
* fix(ci/build): use bash to get unm version
* chore(deps): upgrade UNM to 0.3.0-pre.0
* refactor(electron/ipcMain): update default sources
* fix(views/settings): remove duplicated config entry
* feat(settings): allow configuring QQ cookie
We also removed some duplicate entries in views/settings.vue.
* chore(deps): UNM -> 0.3.0-pre.1
* refactor: remove unused old UNM
* fix(utils/player): do not include rust-napi in client code
As we only imported the constant, I just expand it as the integer.
Co-authored-by: qier222 <qier222@outlook.com>
* feat: support set tray icon tooltip info
* fix: name
* refactor tray impl and add tray playing state change
* fix: linux impl
* add pause icon
* add tray like state
* fix
* fix: linux impl
* better pause icon
* feat(ipcMain/unm): allow passing customized source
* feat(utils/Player): pass settings.unmSource
According to c280221a44608777a69038306a6ea8e92953fb9a,
we can let users customize their desired source now.
* feat(views/settings): allow configuring sources
We haven't supported specifying the environment variable in YPM yet.
* refactor: use @unblockneteasemusic/server
we also use ipcMain.handle for unblock-music.
* refactor(utils/nativeAlert): remove the deprecated "remote"
* refactor(ipcMain): use our default sources
* style(config/vue): prettier
* feat(README): update for new UNM
* feat: more operations for close
* remove minimizeToTray form initLocalStorage
Co-authored-by: qier222 <qier222@outlook.com>
Co-authored-by: qier222 <qier2222@gmail.com>
* Add OSD Lyrics
* tidy files
* fix OSDLyrics: last line of lyrics not showing, performance
* tidy files
* make user can resize the lyrics window
* Fix bug of initial window size
* Fix: 1. auto resize osdlyrics window after packaging; 2. lyric parser problem with %;
* tidy files
1. Increase the timeout time to prevent blocking the rendering process
2. Use the modification package to solve the problem that song information may not be available and repeatedly requested.