feat: Add initial plugin structure and configuration settings #3166
No reviewers
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -144,1 +310,4 @@
"@playwright/test": "1.51.1",
"@stylistic/eslint-plugin-js": "4.2.0",
"@total-typescript/ts-reset": "0.6.1",
"@types/electron": "^1.4.38",
@types/electron
is deprecated.Electron has own type definitions.
@ -0,0 +1,23 @@
declare module './default' {
?
@ -0,0 +1,14 @@
module.exports = {
What is this file?
@ -40,1 +37,4 @@
import { setUpTray } from 'tray';
import { setupSongInfo } from 'providers/song-info';
import { restart, setupAppControls } from 'providers/app-controls';
import {
Why did you use
./
instead of@/
?@ -369,11 +364,8 @@ async function createMainWindow() {
}),
We don't use oauth. Also, this is not the valid code.
@ -0,0 +1,22 @@
export const MenuTemplate = [
?
@ -1,14 +1,14 @@
{
"extends": "./node_modules/@electron-toolkit/tsconfig/tsconfig.node.json",
"extends": "./node_modules/@electron-toolkit/tsconfig/tsconfig.node.json", // Updated path
"compilerOptions": {
The standard JSON specification doesn't have “comments”, and this code is not valid.
Ditto
Pull Request Overview
This PR introduces the initial plugin structure along with configuration settings and basic menu functionality. Key changes include adding plugin utility functions, setting up new menu entries, and enhancing configuration and initialization logic with an added login flow.
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
The openBrowserLogin function uses 'shell' and 'ipcMain' without importing them. Please add 'import { shell, ipcMain } from "electron";' at the top of the file to avoid runtime errors.
We're sorry, but this PR is suspected to be an AI slop. We can't approve this PR.
Pull request closed