mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 03:41:46 +00:00
lint
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
const is = require("electron-is");
|
const is = require("electron-is");
|
||||||
|
|
||||||
const iconPath = path.resolve(__dirname, "../assets/youtube-music-tray.png");
|
const iconPath = path.join(__dirname, "..", "assets", "youtube-music-tray.png");
|
||||||
const customTitlebarPath = path.join(__dirname, "prompt-custom-titlebar.js");
|
const customTitlebarPath = path.join(__dirname, "prompt-custom-titlebar.js");
|
||||||
|
|
||||||
const promptOptions = is.macOS() ? {
|
const promptOptions = is.macOS() ? {
|
||||||
@ -9,7 +9,6 @@ const promptOptions = is.macOS() ? {
|
|||||||
icon: iconPath
|
icon: iconPath
|
||||||
} : {
|
} : {
|
||||||
customStylesheet: "dark",
|
customStylesheet: "dark",
|
||||||
icon: iconPath,
|
|
||||||
// The following are used for custom titlebar
|
// The following are used for custom titlebar
|
||||||
frame: false,
|
frame: false,
|
||||||
customScript: customTitlebarPath,
|
customScript: customTitlebarPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user