0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-25 06:44:38 +03:00
yandex-music-linux/patches/0005-Custom-title-bar.patch

15 lines
629 B
Diff
Raw Permalink Normal View History

2024-09-24 02:05:03 +03:00
diff --git a/main/index.js b/main/index.js
--- a/main/index.js
+++ b/main/index.js
@@ -50,9 +50,7 @@ Logger_js_1.Logger.setupLogger();
const trayEnabled = process.env.TRAY_ENABLED && process.env.TRAY_ENABLED > 0;
if (trayEnabled){createTray(window);}
await (0, loadURL_js_1.loadURL)(window);
- if (node_os_1.default.platform() === platform_js_1.Platform.WINDOWS) {
- (0, customTitleBar_js_1.createCustomTitleBar)(window);
- }
+ (0, customTitleBar_js_1.createCustomTitleBar)(window);
if (config_js_1.config.enableAutoUpdate) {
updater.start();
updater.onUpdate((version) => {