* 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(reversed-mode): add reversed mode & improvements to lyrics animation
* feat(lyrics-animation): improve `:active` style
* fix: extra white space after artist in lyrics view
* refactor: remove unused function
* feat: slightly add duration of transition to improve replication from Apple Music style
* 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.
* feat: more operations for close
* remove minimizeToTray form initLocalStorage
Co-authored-by: qier222 <qier222@outlook.com>
Co-authored-by: qier222 <qier2222@gmail.com>
* feat: init dynamic background
* feat: another way to achieve
* feat: add setting for dynamic background
* feat: add contrast and brightness for better UI
* fix: remove shadow when exit lyrics
* feat: UI improve, field name change
* refactor: scope variables