diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 9a0e2c5b..21ab20cc 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -37,7 +37,10 @@ const CANARY = process.env.USE_CANARY === "true"; const browser = await pup.launch({ headless: true, - executablePath: process.env.CHROMIUM_BIN + executablePath: process.env.CHROMIUM_BIN, + args: [ + '--shm-size=5gb' // Testing Value + ] }); const page = await browser.newPage(); diff --git a/src/plugins/pictureInPicture/index.tsx b/src/plugins/pictureInPicture/index.tsx index 81d75a25..20cedf45 100644 --- a/src/plugins/pictureInPicture/index.tsx +++ b/src/plugins/pictureInPicture/index.tsx @@ -24,13 +24,13 @@ const settings = definePluginSettings({ export default definePlugin({ name: "PictureInPicture", description: "Adds picture in picture to videos (next to the Download button)", - authors: [Devs.Nobody], + authors: [Devs.Lumap], settings, patches: [ { - find: ".nonMediaMosaicItem]", + find: ".removeMosaicItemHoverButton),", replacement: { - match: /\.nonMediaMosaicItem\]:!(\i).{0,50}?children:\[(\S)/, + match: /\.nonMediaMosaicItem\]:!(\i).{0,50}?children:\[\S,(\S)/, replace: "$&,$1&&$2&&$self.renderPiPButton()," }, }, diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 03081046..07a058c0 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -547,13 +547,33 @@ export const Devs = /* #__PURE__*/ Object.freeze({ surgedevs: { name: "Chloe", id: 1084592643784331324n - } + }, + Lumap: { + name: "Lumap", + id: 585278686291427338n, + }, } satisfies Record); export const EquicordDevs = Object.freeze({ - vmohammad: { - name: "vMohammad", - id: 921098159348924457n + thororen: { + name: "thororen", + id: 848339671629299742n + }, + nyx: { + name: "verticalsync", + id: 328165170536775680n, + }, + Cortex: { + name: "Cortex", + id: 825069530376044594n, + }, + KrystalSkull: { + name: "krystalskullofficial", + id: 929208515883569182n + }, + Naibuu: { + name: "hs50", + id: 1120045713867423835n, }, nexpid: { name: "Nexpid", @@ -575,10 +595,6 @@ export const EquicordDevs = Object.freeze({ name: "ryan", id: 479403382994632704n }, - thororen: { - name: "thororen", - id: 848339671629299742n - }, MrDiamond: { name: "MrDiamond", id: 523338295644782592n @@ -615,18 +631,10 @@ export const EquicordDevs = Object.freeze({ name: "cooles", id: 406084422308331522n, }, - KrystalSkull: { - name: "krystalskullofficial", - id: 929208515883569182n - }, SerStars: { name: "SerStars", id: 861631850681729045n }, - nyx: { - name: "verticalsync", - id: 328165170536775680n, - }, MaxHerbold: { name: "MaxHerbold", id: 1189527130611138663n, @@ -639,10 +647,6 @@ export const EquicordDevs = Object.freeze({ name: "Megal", id: 387790666484285441n }, - Cortex: { - name: "Cortex", - id: 825069530376044594n, - }, Woosh: { name: "w00shh.", id: 919239894327521361n, @@ -683,10 +687,6 @@ export const EquicordDevs = Object.freeze({ name: "Fafa", id: 428188716641812481n, }, - Naibuu: { - name: "hs50", - id: 1120045713867423835n, - }, Colorman: { name: "colorman", id: 298842558610800650n, @@ -751,6 +751,10 @@ export const EquicordDevs = Object.freeze({ name: "Hen", id: 279266228151779329n }, + vmohammad: { + name: "vMohammad", + id: 921098159348924457n + }, } satisfies Record); // iife so #__PURE__ works correctly