diff --git a/eslint.config.mjs b/eslint.config.mjs index 04db88fd..baf299ce 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,14 +1,14 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ //@ts-check import stylistic from "@stylistic/eslint-plugin"; import pathAlias from "eslint-plugin-path-alias"; -import header from "eslint-plugin-simple-header"; +import simpleHeader from "eslint-plugin-simple-header"; import importSort from "eslint-plugin-simple-import-sort"; import unusedImports from "eslint-plugin-unused-imports"; import tseslint from "typescript-eslint"; @@ -20,7 +20,7 @@ export default tseslint.config( { files: ["src/**/*.{tsx,ts,mts,mjs,js,jsx}"], plugins: { - header, + simpleHeader, stylistic, importSort, unusedImports, @@ -42,10 +42,11 @@ export default tseslint.config( } }, rules: { - "header/header": [ + "simpleHeader/header": [ "error", { - files: ["scripts/header.txt"] + files: ["scripts/header.txt"], + templates: { author: [".*", "Vendicated and Vesktop contributors"] } } ], diff --git a/package.json b/package.json index 0553f1de..3a31179a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "Vesktop is a custom Discord desktop app", "keywords": [], "homepage": "https://vencord.dev/", - "license": "GPL-3.0", + "license": "GPL-3.0-or-later", "author": "Vendicated ", "main": "dist/js/main.js", "scripts": { diff --git a/scripts/build/build.mts b/scripts/build/build.mts index 243381ba..b4455177 100644 --- a/scripts/build/build.mts +++ b/scripts/build/build.mts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { BuildContext, BuildOptions, context } from "esbuild"; diff --git a/scripts/build/injectReact.mjs b/scripts/build/injectReact.mjs index f9ce52b1..4ead9e33 100644 --- a/scripts/build/injectReact.mjs +++ b/scripts/build/injectReact.mjs @@ -1,9 +1,3 @@ -/* - * SPDX-License-Identifier: GPL-3.0 - * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors - */ - export const VencordFragment = /* #__PURE__*/ Symbol.for("react.fragment"); export let VencordCreateElement = (...args) => (VencordCreateElement = Vencord.Webpack.Common.React.createElement)(...args); diff --git a/scripts/build/sandboxFix.js b/scripts/build/sandboxFix.js index 327ee24e..ff047325 100644 --- a/scripts/build/sandboxFix.js +++ b/scripts/build/sandboxFix.js @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ // Based on https://github.com/gergof/electron-builder-sandbox-fix/blob/master/lib/index.js diff --git a/scripts/build/vencordDep.mts b/scripts/build/vencordDep.mts index d2859409..ac888c06 100644 --- a/scripts/build/vencordDep.mts +++ b/scripts/build/vencordDep.mts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { globalExternalsWithRegExp } from "@fal-works/esbuild-plugin-global-externals"; diff --git a/scripts/header.txt b/scripts/header.txt index 9fdad8f1..744309c6 100644 --- a/scripts/header.txt +++ b/scripts/header.txt @@ -1,5 +1,5 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) {year} {author} + * SPDX-License-Identifier: GPL-3.0-or-later */ diff --git a/scripts/startWatch.mts b/scripts/startWatch.mts index 4a6f2e55..ae332b67 100644 --- a/scripts/startWatch.mts +++ b/scripts/startWatch.mts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import "./start"; diff --git a/scripts/utils/dotenv.ts b/scripts/utils/dotenv.ts index 1dd697f5..cbeaca40 100644 --- a/scripts/utils/dotenv.ts +++ b/scripts/utils/dotenv.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { config } from "dotenv"; diff --git a/scripts/utils/spawn.mts b/scripts/utils/spawn.mts index a2c0a5f7..eddb9658 100644 --- a/scripts/utils/spawn.mts +++ b/scripts/utils/spawn.mts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { spawn as spaaawn, SpawnOptions } from "child_process"; diff --git a/scripts/utils/updateMeta.mts b/scripts/utils/updateMeta.mts index 44327b7e..2771f92f 100644 --- a/scripts/utils/updateMeta.mts +++ b/scripts/utils/updateMeta.mts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { promises as fs } from "node:fs"; diff --git a/src/globals.d.ts b/src/globals.d.ts index 4d39c4c7..6d95b92f 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ declare global { diff --git a/src/main/about.ts b/src/main/about.ts index 4d9f5415..88c3d658 100644 --- a/src/main/about.ts +++ b/src/main/about.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { BrowserWindow } from "electron"; diff --git a/src/main/appBadge.ts b/src/main/appBadge.ts index 46abe1db..21bddb27 100644 --- a/src/main/appBadge.ts +++ b/src/main/appBadge.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { app, NativeImage, nativeImage } from "electron"; diff --git a/src/main/arrpc.ts b/src/main/arrpc.ts index da29a77c..9f6ee323 100644 --- a/src/main/arrpc.ts +++ b/src/main/arrpc.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import Server from "arrpc"; diff --git a/src/main/autoStart.ts b/src/main/autoStart.ts index 19d7e00b..958dbb94 100644 --- a/src/main/autoStart.ts +++ b/src/main/autoStart.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { app } from "electron"; diff --git a/src/main/constants.ts b/src/main/constants.ts index 81cfd53b..01bdd80b 100644 --- a/src/main/constants.ts +++ b/src/main/constants.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { app } from "electron"; diff --git a/src/main/firstLaunch.ts b/src/main/firstLaunch.ts index 9c2edec1..69e01a0d 100644 --- a/src/main/firstLaunch.ts +++ b/src/main/firstLaunch.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { app } from "electron"; diff --git a/src/main/index.ts b/src/main/index.ts index 9e9244fe..f1bc6170 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import "./ipc"; diff --git a/src/main/ipc.ts b/src/main/ipc.ts index 17983392..1dfb8e6e 100644 --- a/src/main/ipc.ts +++ b/src/main/ipc.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ if (process.platform === "linux") import("./venmic"); diff --git a/src/main/ipcCommands.ts b/src/main/ipcCommands.ts index 2349b756..51332b48 100644 --- a/src/main/ipcCommands.ts +++ b/src/main/ipcCommands.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { randomUUID } from "crypto"; diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index cbb0def7..c4159f57 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { diff --git a/src/main/mediaPermissions.ts b/src/main/mediaPermissions.ts index f7765bec..6e7e6646 100644 --- a/src/main/mediaPermissions.ts +++ b/src/main/mediaPermissions.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { session, systemPreferences } from "electron"; diff --git a/src/main/screenShare.ts b/src/main/screenShare.ts index 888e41bb..5ba93a8c 100644 --- a/src/main/screenShare.ts +++ b/src/main/screenShare.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { desktopCapturer, session, Streams } from "electron"; diff --git a/src/main/settings.ts b/src/main/settings.ts index b2aeea9b..128ea54c 100644 --- a/src/main/settings.ts +++ b/src/main/settings.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs"; diff --git a/src/main/splash.ts b/src/main/splash.ts index 2a267613..fe9c7c17 100644 --- a/src/main/splash.ts +++ b/src/main/splash.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { BrowserWindow } from "electron"; diff --git a/src/main/utils/http.ts b/src/main/utils/http.ts index baee81eb..7d737b62 100644 --- a/src/main/utils/http.ts +++ b/src/main/utils/http.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { createWriteStream } from "fs"; diff --git a/src/main/utils/ipcWrappers.ts b/src/main/utils/ipcWrappers.ts index eeb4de8f..7e8da42e 100644 --- a/src/main/utils/ipcWrappers.ts +++ b/src/main/utils/ipcWrappers.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { ipcMain, IpcMainEvent, IpcMainInvokeEvent, WebFrameMain } from "electron"; diff --git a/src/main/utils/makeLinksOpenExternally.ts b/src/main/utils/makeLinksOpenExternally.ts index 12f2c3d3..5d6cc75c 100644 --- a/src/main/utils/makeLinksOpenExternally.ts +++ b/src/main/utils/makeLinksOpenExternally.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { BrowserWindow, shell } from "electron"; diff --git a/src/main/utils/popout.ts b/src/main/utils/popout.ts index cdeea619..dd268967 100644 --- a/src/main/utils/popout.ts +++ b/src/main/utils/popout.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { BrowserWindow, BrowserWindowConstructorOptions } from "electron"; diff --git a/src/main/utils/steamOS.ts b/src/main/utils/steamOS.ts index e61166c1..10291689 100644 --- a/src/main/utils/steamOS.ts +++ b/src/main/utils/steamOS.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { BrowserWindow, dialog } from "electron"; diff --git a/src/main/utils/vencordLoader.ts b/src/main/utils/vencordLoader.ts index c0bac6a7..a368c374 100644 --- a/src/main/utils/vencordLoader.ts +++ b/src/main/utils/vencordLoader.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { mkdirSync } from "fs"; diff --git a/src/main/venmic.ts b/src/main/venmic.ts index c127e906..b6a0d083 100644 --- a/src/main/venmic.ts +++ b/src/main/venmic.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import type { LinkData, Node, PatchBay as PatchBayType } from "@vencord/venmic"; diff --git a/src/preload/VesktopNative.ts b/src/preload/VesktopNative.ts index 1d200bc2..69884cd7 100644 --- a/src/preload/VesktopNative.ts +++ b/src/preload/VesktopNative.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Node } from "@vencord/venmic"; diff --git a/src/preload/index.ts b/src/preload/index.ts index 75bf9cd3..5003cc7b 100644 --- a/src/preload/index.ts +++ b/src/preload/index.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { contextBridge, ipcRenderer, webFrame } from "electron"; diff --git a/src/preload/typedIpc.ts b/src/preload/typedIpc.ts index e8b519c8..91129e0c 100644 --- a/src/preload/typedIpc.ts +++ b/src/preload/typedIpc.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { ipcRenderer } from "electron"; diff --git a/src/renderer/appBadge.ts b/src/renderer/appBadge.ts index a6491c2b..97f3e363 100644 --- a/src/renderer/appBadge.ts +++ b/src/renderer/appBadge.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { filters, waitFor } from "@vencord/types/webpack"; diff --git a/src/renderer/arrpc.ts b/src/renderer/arrpc.ts index b307d376..d19d8e75 100644 --- a/src/renderer/arrpc.ts +++ b/src/renderer/arrpc.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Logger } from "@vencord/types/utils"; diff --git a/src/renderer/components/ScreenSharePicker.tsx b/src/renderer/components/ScreenSharePicker.tsx index f69f9d5c..dbecfc68 100644 --- a/src/renderer/components/ScreenSharePicker.tsx +++ b/src/renderer/components/ScreenSharePicker.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import "./screenSharePicker.css"; diff --git a/src/renderer/components/index.ts b/src/renderer/components/index.ts index 97ca03ec..220c793a 100644 --- a/src/renderer/components/index.ts +++ b/src/renderer/components/index.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ export * as ScreenShare from "./ScreenSharePicker"; diff --git a/src/renderer/components/settings/AutoStartToggle.tsx b/src/renderer/components/settings/AutoStartToggle.tsx index e0350d6f..2fec7a67 100644 --- a/src/renderer/components/settings/AutoStartToggle.tsx +++ b/src/renderer/components/settings/AutoStartToggle.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Switch, useState } from "@vencord/types/webpack/common"; diff --git a/src/renderer/components/settings/DeveloperOptions.tsx b/src/renderer/components/settings/DeveloperOptions.tsx index eabfbd37..3d75b69b 100644 --- a/src/renderer/components/settings/DeveloperOptions.tsx +++ b/src/renderer/components/settings/DeveloperOptions.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { diff --git a/src/renderer/components/settings/DiscordBranchPicker.tsx b/src/renderer/components/settings/DiscordBranchPicker.tsx index c0b840d2..10ccd637 100644 --- a/src/renderer/components/settings/DiscordBranchPicker.tsx +++ b/src/renderer/components/settings/DiscordBranchPicker.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Select } from "@vencord/types/webpack/common"; diff --git a/src/renderer/components/settings/NotificationBadgeToggle.tsx b/src/renderer/components/settings/NotificationBadgeToggle.tsx index 1cf1d195..598bfa73 100644 --- a/src/renderer/components/settings/NotificationBadgeToggle.tsx +++ b/src/renderer/components/settings/NotificationBadgeToggle.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Switch } from "@vencord/types/webpack/common"; diff --git a/src/renderer/components/settings/Settings.tsx b/src/renderer/components/settings/Settings.tsx index 25314693..7baae7c1 100644 --- a/src/renderer/components/settings/Settings.tsx +++ b/src/renderer/components/settings/Settings.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import "./settings.css"; diff --git a/src/renderer/components/settings/WindowsTransparencyControls.tsx b/src/renderer/components/settings/WindowsTransparencyControls.tsx index 0ef9a8ac..14d3f8e9 100644 --- a/src/renderer/components/settings/WindowsTransparencyControls.tsx +++ b/src/renderer/components/settings/WindowsTransparencyControls.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Margins } from "@vencord/types/utils"; diff --git a/src/renderer/fixes.ts b/src/renderer/fixes.ts index 90e7da5c..c9650b53 100644 --- a/src/renderer/fixes.ts +++ b/src/renderer/fixes.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import "./fixes.css"; diff --git a/src/renderer/index.ts b/src/renderer/index.ts index 80b93716..0f863cc2 100644 --- a/src/renderer/index.ts +++ b/src/renderer/index.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import "./themedSplash"; diff --git a/src/renderer/ipcCommands.ts b/src/renderer/ipcCommands.ts index cf964358..1c41769a 100644 --- a/src/renderer/ipcCommands.ts +++ b/src/renderer/ipcCommands.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { SettingsRouter } from "@vencord/types/webpack/common"; diff --git a/src/renderer/logger.ts b/src/renderer/logger.ts index abdf9a23..313fdb96 100644 --- a/src/renderer/logger.ts +++ b/src/renderer/logger.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Logger } from "@vencord/types/utils"; diff --git a/src/renderer/patches/enableNotificationsByDefault.ts b/src/renderer/patches/enableNotificationsByDefault.ts index 58549775..e4ca67a0 100644 --- a/src/renderer/patches/enableNotificationsByDefault.ts +++ b/src/renderer/patches/enableNotificationsByDefault.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addPatch } from "./shared"; diff --git a/src/renderer/patches/hideDownloadAppsButton.ts b/src/renderer/patches/hideDownloadAppsButton.ts index 09e60b01..99e2f5fd 100644 --- a/src/renderer/patches/hideDownloadAppsButton.ts +++ b/src/renderer/patches/hideDownloadAppsButton.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addPatch } from "./shared"; diff --git a/src/renderer/patches/hideSwitchDevice.tsx b/src/renderer/patches/hideSwitchDevice.tsx index 20aa51a8..f0a75977 100644 --- a/src/renderer/patches/hideSwitchDevice.tsx +++ b/src/renderer/patches/hideSwitchDevice.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addPatch } from "./shared"; diff --git a/src/renderer/patches/hideVenmicInput.tsx b/src/renderer/patches/hideVenmicInput.tsx index ca706ce7..357582c2 100644 --- a/src/renderer/patches/hideVenmicInput.tsx +++ b/src/renderer/patches/hideVenmicInput.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addPatch } from "./shared"; diff --git a/src/renderer/patches/index.ts b/src/renderer/patches/index.ts index 299753b1..439d5582 100644 --- a/src/renderer/patches/index.ts +++ b/src/renderer/patches/index.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ // TODO: Possibly auto generate glob if we have more patches in the future diff --git a/src/renderer/patches/nativeFocus.tsx b/src/renderer/patches/nativeFocus.tsx index 475577da..fe8720dd 100644 --- a/src/renderer/patches/nativeFocus.tsx +++ b/src/renderer/patches/nativeFocus.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addPatch } from "./shared"; diff --git a/src/renderer/patches/platformClass.tsx b/src/renderer/patches/platformClass.tsx index 58767a83..8c382fed 100644 --- a/src/renderer/patches/platformClass.tsx +++ b/src/renderer/patches/platformClass.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Settings } from "renderer/settings"; diff --git a/src/renderer/patches/screenShareFixes.ts b/src/renderer/patches/screenShareFixes.ts index 21f50495..5a78bbd6 100644 --- a/src/renderer/patches/screenShareFixes.ts +++ b/src/renderer/patches/screenShareFixes.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Logger } from "@vencord/types/utils"; diff --git a/src/renderer/patches/shared.ts b/src/renderer/patches/shared.ts index 3cd370aa..dd8952e1 100644 --- a/src/renderer/patches/shared.ts +++ b/src/renderer/patches/shared.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Patch } from "@vencord/types/utils/types"; diff --git a/src/renderer/patches/spellCheck.tsx b/src/renderer/patches/spellCheck.tsx index 040d41bb..5396b497 100644 --- a/src/renderer/patches/spellCheck.tsx +++ b/src/renderer/patches/spellCheck.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addContextMenuPatch } from "@vencord/types/api/ContextMenu"; diff --git a/src/renderer/patches/streamerMode.ts b/src/renderer/patches/streamerMode.ts index 252a4c34..c2b31790 100644 --- a/src/renderer/patches/streamerMode.ts +++ b/src/renderer/patches/streamerMode.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2023 Vendicated and Vencord contributors + * Copyright (c) 2025 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { addPatch } from "./shared"; diff --git a/src/renderer/patches/windowsTitleBar.tsx b/src/renderer/patches/windowsTitleBar.tsx index 401e1c51..f5ef07c3 100644 --- a/src/renderer/patches/windowsTitleBar.tsx +++ b/src/renderer/patches/windowsTitleBar.tsx @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Settings } from "renderer/settings"; diff --git a/src/renderer/settings.ts b/src/renderer/settings.ts index 5c5ed32c..0a5ba806 100644 --- a/src/renderer/settings.ts +++ b/src/renderer/settings.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { useEffect, useReducer } from "@vencord/types/webpack/common"; diff --git a/src/renderer/themedSplash.ts b/src/renderer/themedSplash.ts index f5226964..13d762b0 100644 --- a/src/renderer/themedSplash.ts +++ b/src/renderer/themedSplash.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { Settings } from "./settings"; diff --git a/src/renderer/utils.ts b/src/renderer/utils.ts index 307b1d46..e72775ca 100644 --- a/src/renderer/utils.ts +++ b/src/renderer/utils.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ // Discord deletes this from the window so we need to capture it in a variable diff --git a/src/shared/IpcEvents.ts b/src/shared/IpcEvents.ts index 4fdd7369..dd05e3ba 100644 --- a/src/shared/IpcEvents.ts +++ b/src/shared/IpcEvents.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ export const enum IpcEvents { diff --git a/src/shared/browserWinProperties.ts b/src/shared/browserWinProperties.ts index b1906971..89063eb1 100644 --- a/src/shared/browserWinProperties.ts +++ b/src/shared/browserWinProperties.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import type { BrowserWindowConstructorOptions } from "electron"; diff --git a/src/shared/paths.ts b/src/shared/paths.ts index 483250ac..a935d825 100644 --- a/src/shared/paths.ts +++ b/src/shared/paths.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { join } from "path"; diff --git a/src/shared/settings.d.ts b/src/shared/settings.d.ts index 659143e3..0279aeba 100644 --- a/src/shared/settings.d.ts +++ b/src/shared/settings.d.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import type { Rectangle } from "electron"; diff --git a/src/shared/utils/SettingsStore.ts b/src/shared/utils/SettingsStore.ts index 2e835e89..fe753f62 100644 --- a/src/shared/utils/SettingsStore.ts +++ b/src/shared/utils/SettingsStore.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ import { LiteralUnion } from "type-fest"; diff --git a/src/shared/utils/debounce.ts b/src/shared/utils/debounce.ts index 17fdc74c..d3b8d7fe 100644 --- a/src/shared/utils/debounce.ts +++ b/src/shared/utils/debounce.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ /** diff --git a/src/shared/utils/guards.ts b/src/shared/utils/guards.ts index cba71d76..8827edcd 100644 --- a/src/shared/utils/guards.ts +++ b/src/shared/utils/guards.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ export function isTruthy(item: T): item is Exclude { diff --git a/src/shared/utils/once.ts b/src/shared/utils/once.ts index 59cc1e2d..074c1817 100644 --- a/src/shared/utils/once.ts +++ b/src/shared/utils/once.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ /** diff --git a/src/shared/utils/sleep.ts b/src/shared/utils/sleep.ts index 948c5a33..7b4b3907 100644 --- a/src/shared/utils/sleep.ts +++ b/src/shared/utils/sleep.ts @@ -1,7 +1,7 @@ /* - * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience * Copyright (c) 2023 Vendicated and Vencord contributors + * SPDX-License-Identifier: GPL-3.0-or-later */ export function sleep(ms: number): Promise {