Squash merge refactor into main

This commit is contained in:
danny 2025-08-09 22:22:19 +08:00
parent 529c9e5fa7
commit b82cd59f4f
35 changed files with 498 additions and 358 deletions

View file

@ -2,6 +2,11 @@ final: prev:
let
discordIcon = prev.lib.readFile ../../pkgs/assets/discord.svg;
discordSplash = prev.lib.readFile ../../pkgs/assets/peepoLeave.gif.base64;
hideChannels = prev.pkgs.fetchurl {
url = "https://raw.githubusercontent.com/Farcrada/DiscordPlugins/cf906b358eddfe75edba215e33020c234be514b7/Hide-Channels/HideChannels.plugin.js";
hash = "sha256-JdwKnGHMtJU1hKRlx1TXSHWUA2hT5D6vw1Ez46Hhe5c=";
};
in
{
vesktop = prev.vesktop.overrideAttrs (oldAttrs: {
@ -12,6 +17,12 @@ in
}
);
postPatch = ''
# Add plugins
mkdir -p src/userplugins
cp ${hideChannels} src/userplugins/hideChannels.js
'';
patches = oldAttrs.patches ++ [
../../pkgs/patches/splash.patch
];