Skip to content

Commit 0c819e9

Browse files
authored
Merge pull request #63 from th-ch/menu-visible
Ensure menu is visible on all platforms
2 parents 20d591c + 3bc8430 commit 0c819e9

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
name: Build YouTube Music
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
4+
- push
105

116
jobs:
127
build:

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ function createMainWindow() {
8585
},
8686
frame: !is.macOS(),
8787
titleBarStyle: is.macOS() ? "hiddenInset" : "default",
88-
autoHideMenuBar: true,
8988
});
9089
if (windowMaximized) {
9190
win.maximize();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "youtube-music",
33
"productName": "YouTube Music",
4-
"version": "1.6.2",
4+
"version": "1.6.3",
55
"description": "YouTube Music Desktop App - including custom plugins",
66
"license": "MIT",
77
"repository": "th-ch/youtube-music",

tests/index.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ describe("YouTube Music App", () => {
66

77
const win = app.browserWindow;
88

9+
const isMenuVisible = await win.isMenuBarVisible();
10+
expect(isMenuVisible).toBe(true);
11+
912
const isVisible = await win.isVisible();
1013
expect(isVisible).toBe(true);
1114

0 commit comments

Comments
 (0)