diff --git a/public/img/logos/yesplaymusic-white24x24.png b/public/img/logos/yesplaymusic-white24x24.png new file mode 100644 index 0000000..d8e4715 Binary files /dev/null and b/public/img/logos/yesplaymusic-white24x24.png differ diff --git a/src/background.js b/src/background.js index 8af41eb..276d790 100644 --- a/src/background.js +++ b/src/background.js @@ -180,7 +180,10 @@ class Background { minWidth: 1080, minHeight: 720, titleBarStyle: 'hiddenInset', - frame: !isWindows, + frame: !( + isWindows || + (isLinux && this.store.get('settings.linuxEnableCustomTitlebar')) + ), title: 'YesPlayMusic', show: false, webPreferences: { diff --git a/src/components/LinuxTitlebar.vue b/src/components/LinuxTitlebar.vue new file mode 100644 index 0000000..8575c6c --- /dev/null +++ b/src/components/LinuxTitlebar.vue @@ -0,0 +1,132 @@ + + + + + diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 6b01a48..b6af865 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -1,27 +1,8 @@