mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 02:31:45 +00:00
Merge pull request #63 from th-ch/menu-visible
Ensure menu is visible on all platforms
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -1,12 +1,7 @@
|
||||
name: Build YouTube Music
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
1
index.js
1
index.js
@ -85,7 +85,6 @@ function createMainWindow() {
|
||||
},
|
||||
frame: !is.macOS(),
|
||||
titleBarStyle: is.macOS() ? "hiddenInset" : "default",
|
||||
autoHideMenuBar: true,
|
||||
});
|
||||
if (windowMaximized) {
|
||||
win.maximize();
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "youtube-music",
|
||||
"productName": "YouTube Music",
|
||||
"version": "1.6.2",
|
||||
"version": "1.6.3",
|
||||
"description": "YouTube Music Desktop App - including custom plugins",
|
||||
"license": "MIT",
|
||||
"repository": "th-ch/youtube-music",
|
||||
|
||||
@ -6,6 +6,9 @@ describe("YouTube Music App", () => {
|
||||
|
||||
const win = app.browserWindow;
|
||||
|
||||
const isMenuVisible = await win.isMenuBarVisible();
|
||||
expect(isMenuVisible).toBe(true);
|
||||
|
||||
const isVisible = await win.isVisible();
|
||||
expect(isVisible).toBe(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user