Squash merge refactor into main
This commit is contained in:
parent
529c9e5fa7
commit
b82cd59f4f
35 changed files with 498 additions and 358 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue