Skip to content

Commit

Permalink
ref!: bump version & new json import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed May 22, 2024
1 parent 2607d66 commit 7b296af
Show file tree
Hide file tree
Showing 16 changed files with 146 additions and 146 deletions.
86 changes: 43 additions & 43 deletions dist/BetterYTM.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name BetterYTM
// @namespace https://github.com/Sv443/BetterYTM
// @version 1.1.1
// @version 2.0.0
// @description Lots of configurable layout and user experience improvements for YouTube Music™ and YouTube™
// @description:de-DE Konfigurierbare Layout- und Benutzererfahrungs-Verbesserungen für YouTube Music™ und YouTube™
// @description:en-US Configurable layout and user experience improvements for YouTube Music™ and YouTube™
Expand All @@ -17,7 +17,7 @@
// @license AGPL-3.0-only
// @author Sv443
// @copyright Sv443 (https://github.com/Sv443)
// @icon https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/logo/logo_48.png
// @icon https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/logo/logo_48.png
// @match https://music.youtube.com/*
// @match https://www.youtube.com/*
// @run-at document-start
Expand All @@ -35,44 +35,44 @@
// @grant GM.openInTab
// @grant unsafeWindow
// @noframes
// @resource css-bundle https://raw.githubusercontent.com/Sv443/BetterYTM/develop/dist/BetterYTM.css
// @resource css-above_queue_btns https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/aboveQueueBtns.css
// @resource css-anchor_improvements https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/anchorImprovements.css
// @resource css-fix_hdr https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/fixHDR.css
// @resource css-fix_spacing https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/fixSpacing.css
// @resource css-vol_slider_size https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/style/volSliderSize.css
// @resource doc-changelog https://raw.githubusercontent.com/Sv443/BetterYTM/develop/changelog.md
// @resource icon-advanced_mode https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/plus_circle_small.svg
// @resource icon-arrow_down https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/arrow_down.svg
// @resource icon-clear_list https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/clear_list.svg
// @resource icon-delete https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/delete.svg
// @resource icon-error https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/error.svg
// @resource icon-experimental https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/beaker_small.svg
// @resource icon-globe https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/globe.svg
// @resource icon-globe_small https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/globe_small.svg
// @resource icon-help https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/help.svg
// @resource icon-image_filled https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/image_filled.svg
// @resource icon-image https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/image.svg
// @resource icon-link https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/link.svg
// @resource icon-lyrics https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/lyrics.svg
// @resource icon-reload https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/refresh.svg
// @resource icon-skip_to https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/skip_to.svg
// @resource icon-spinner https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/icons/spinner.svg
// @resource img-logo https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/logo/logo_48.png
// @resource img-close https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/close.png
// @resource img-discord https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/external/discord.png
// @resource img-github https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/external/github.png
// @resource img-greasyfork https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/external/greasyfork.png
// @resource img-openuserjs https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/images/external/openuserjs.png
// @resource trans-de_DE https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/de_DE.json
// @resource trans-en_US https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/en_US.json
// @resource trans-en_UK https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/en_UK.json
// @resource trans-es_ES https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/es_ES.json
// @resource trans-fr_FR https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/fr_FR.json
// @resource trans-hi_IN https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/hi_IN.json
// @resource trans-ja_JA https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/ja_JA.json
// @resource trans-pt_BR https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/pt_BR.json
// @resource trans-zh_CN https://raw.githubusercontent.com/Sv443/BetterYTM/develop/assets/translations/zh_CN.json
// @resource css-bundle https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/dist/BetterYTM.css
// @resource css-above_queue_btns https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/style/aboveQueueBtns.css
// @resource css-anchor_improvements https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/style/anchorImprovements.css
// @resource css-fix_hdr https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/style/fixHDR.css
// @resource css-fix_spacing https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/style/fixSpacing.css
// @resource css-vol_slider_size https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/style/volSliderSize.css
// @resource doc-changelog https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/changelog.md
// @resource icon-advanced_mode https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/plus_circle_small.svg
// @resource icon-arrow_down https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/arrow_down.svg
// @resource icon-clear_list https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/clear_list.svg
// @resource icon-delete https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/delete.svg
// @resource icon-error https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/error.svg
// @resource icon-experimental https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/beaker_small.svg
// @resource icon-globe https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/globe.svg
// @resource icon-globe_small https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/globe_small.svg
// @resource icon-help https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/help.svg
// @resource icon-image_filled https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/image_filled.svg
// @resource icon-image https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/image.svg
// @resource icon-link https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/link.svg
// @resource icon-lyrics https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/lyrics.svg
// @resource icon-reload https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/refresh.svg
// @resource icon-skip_to https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/skip_to.svg
// @resource icon-spinner https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/icons/spinner.svg
// @resource img-logo https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/logo/logo_48.png
// @resource img-close https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/close.png
// @resource img-discord https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/external/discord.png
// @resource img-github https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/external/github.png
// @resource img-greasyfork https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/external/greasyfork.png
// @resource img-openuserjs https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/images/external/openuserjs.png
// @resource trans-de_DE https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/de_DE.json
// @resource trans-en_US https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/en_US.json
// @resource trans-en_UK https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/en_UK.json
// @resource trans-es_ES https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/es_ES.json
// @resource trans-fr_FR https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/fr_FR.json
// @resource trans-hi_IN https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/hi_IN.json
// @resource trans-ja_JA https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/ja_JA.json
// @resource trans-pt_BR https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/pt_BR.json
// @resource trans-zh_CN https://raw.githubusercontent.com/Sv443/BetterYTM/v2.0.0/assets/translations/zh_CN.json
// @require https://cdn.jsdelivr.net/npm/@sv443-network/[email protected]/dist/index.global.js
// @require https://cdn.jsdelivr.net/npm/[email protected]/dist/fuse.basic.js
// @require https://cdn.jsdelivr.net/npm/[email protected]/lib/marked.umd.js
Expand Down Expand Up @@ -226,7 +226,7 @@ I welcome every contribution on GitHub!
const modeRaw = "production";
const branchRaw = "main";
const hostRaw = "github";
const buildNumberRaw = "72eece3";
const buildNumberRaw = "c78e3a7";
/** The mode in which the script was built (production or development) */
const mode = (modeRaw.match(/^#{{.+}}$/) ? "production" : modeRaw);
/** The branch to use in various URLs that point to the GitHub repo */
Expand Down Expand Up @@ -1496,7 +1496,7 @@ I welcome every contribution on GitHub!

var name = "betterytm";
var userscriptName = "BetterYTM";
var version = "1.1.1";
var version = "2.0.0";
var description = "Lots of configurable layout and user experience improvements for YouTube Music™ and YouTube™";
var homepage = "https://github.com/Sv443/BetterYTM";
var main = "./src/index.ts";
Expand Down Expand Up @@ -4969,7 +4969,7 @@ I welcome every contribution on GitHub!
advancedMode: {
type: "toggle",
category: "general",
default: mode === "development",
default: false,
textAdornment: () => getFeatures().advancedMode ? adornments.advanced() : undefined,
change: (_key, prevValue, newValue) => prevValue !== newValue &&
emitSiteEvent("recreateCfgMenu"),
Expand Down
Loading

0 comments on commit 7b296af

Please sign in to comment.