#πΎ-core-development
1 messages Β· Page 127 of 1
way better
- vesktop is fire
because theyre deranged
maybe css flexbox order
idfk
@austere talon
@austere talon
@austere talon
do you know
does appimager auto update
Links & Images (Copy/Open Link/Image), Text Area (Copy, Cut, Paste, SpellCheck)
all these context menus don't exist on web - the plugin adds them back
@austere talon not to be impatient but please could you hop on decor review soon it's been 2 weeks since it's been ready
i didnt meanto send like that but wtvr
you will wrap in appimageupdater
cause you'd need to use this insane shit https://www.npmjs.com/package/electron-updater
no
oh lol
i didn't add this because it adds like 200kb of bloat and only works on windows and appimage
and didnt find it useful enough to warrant it
appimage horror
add because windows users are incredibly lazy and will never update
then they will @austere talon @austere talon in support 300000 times why it doesnt work
true but 200kb bloat is insane
electron
so bloat
also btw
why do you need 100kb to parse a version string
can you make this upload artifacts
pr
do 200kb really matter when dc rushes to eat 1gb of ram?
working on ci is miserable
const semver = (s) => s.split(".")
true lmao
Yep can confirm. The splash screen disappears and the window opens just fine now.
i swear this package only exists to make dependabot and npm complain about a vuln
hm,,, i found a good stackexchange page with a solution to flipping 2 things in a list...
but.. only some of the fields are updating when things get swapped...
only the tickboxes..
LMAO
make sure you're using meaningful keys on everything
why tf does vencord not have react eslint setup
i will add

:/
i have no idea what that means
why do switches not toggle
whar
doesnt do the click animation thing
sinc its fake
i get it renders faster but guhhh ugly
wait
now it doesnt
guess you fixed it
nvm
the ones in plugins still do it
i guess... the switches have checked just be a pointer to the value of the bool it wants but... textinputs store their own text and then update the variable when changed- so i need a way to work backwards??
have to give it credit for trying really hard to toggle
i know i realized its only the plugin cards now
the code would surely be helpful
return (
<Switch
value={false}
title={"TITLE"}
note={"NOTE"}
onChange={(value: boolean): void => {
console.log("Switch changed to " + value.toString());
}}
>
{"TEST"}
</Switch>
);
how do you expect that to work
you need to pass a state as value
and set it in onChange
yes 
yall this is probably horrendous practise but at this point i just wanna get this functioning so someone who knows what they're doing can fix it- how can i force this... jsx element.. thing? that im returning, to rebuild itself
const [enabled, setEnabled] = useState(false)
<Switch value={enabled} onChange={setEnabled} />
whenever the length of the list changes it seems to rebuild or- something
but i wanna do that without changing the array length
show code
you wil lcry
possibly
also idk which part i'd need to show
sry
how/why change list length w/o changing array length?
what
oh damit i keep using l;ist and array interchangeably
the react component (???) seems to rebuild itself when the array changes size, but i want to rebuild it manually
yeah thats why i was confused about the switch
i thought it was only rendered once when it was returned
terrible practise im CERTAIN but also i just wanna finish this
want to rebuild it manually
why?
because iiiii don't know how else to achieve what i want lol
(
btw the answer to this q was: you are showing all the steps in replacement-processing the test string. Which is v cool π
also confusing at first: you used dice unicodes as a hack
yeah!
i think i could actually drop them whenever the multitudes of changes im hoping for are finished, but it works for now!
(
bit more of the layout/ screen real estate bikeshedding:
since you use a 2 line layout now, you could move the βguard fieldβ (3rd field) to the upper line
idk- anyway how do i rebuild the component or whatever
you should prbly show code
I've noticed only vesktop struggles with terrible screenshare performance (minutes per frame slow). Native discord only experiences random frame drops.
the nbewest comment
(also this is a pr to a fork which is why there was no popup here or whatever)
ik you didnt write this part but this is just lazy and bad practice
so many extra itterations when you could have just done a for loop π

for the love of all that is holy please fix everything about this plugin
this was autumnvn right?
uh i think so- i wanna say there were 2 devs attributes before i showed up
well they still are lol
just check the bottom IG
one of them
the flags
this is what js does to a mf
.map().filter().map().join()
just use a for loop π
its more performant
it doesnt matter
only 1 iteration
im so glad you're distracted by this and not my god awful component
wdym performance doesnt matter?
it doesnt
that function runs like 20 times when you view someones profile btw
it does not matter
when your code completes in 0.004ms instead of 0.008ms 
it literally does not matter
still bad practice
when taken too far yes
write readable clean code
then later if there are performance issues, figure out why and fix those specific things
but them same thing could have been easily done with a foor loop
if your code optimization ends up making it unmaintainable and you're not in a performance-relevant scenario what's the point
you're all missing the absolutely unreadable* chaos that is further down the file lmao
true but in that specific situation it could have been done easily while making it maintainable
^
like i said it literally does not matter
WHITE
do it
after i add this feature to my plugin ill look
you will cry
"optimising" code randomly without any actual info is stupid
v8 is very good at JIT
chances are, the .map().filter().map().join() might be faster because it's predictable so v8 compiles it better
always write ur code as readable and maintainable as possible. optimisation should only be a second thought - or if it ever ends up performing poorly: use proper tools to debug what exactly performs poorly and specifically optimise those parts
i love chaining a bunch of random array functions personally
its like functional programming except for insane people
i love array method chaining
javascript should get pipe operator and take advantage of it
[1, 2, 3]
|> contains(2)
|> map(v => v + 1)
would be fire
malware
gleam reference
wtf is contains(2) supposed to do
filter out everything that doesnt contain 2 (???)
actually i have literally no idea what i was cooking there
u get what i mean though
at least as syntax sugar over chaining i think it might look nice idk
how is that better than
[1, 2, 3]
.contains(2)
.map(...)
js already has pipe operator π₯:
thing
. filter()
. map()
lmao
the pipe operator is meant to replace the first argument of the function with the previous value
yeah it's more a replacement for deeply(nested(function(calls))))
yes
ohh
now that makes more sense
function pipeable(something, anotherThing) {
do(something, with(anotherThing));
}
thing |> pipeable("abc"); // pipeable(thing, "abc");
okay but it COULD be a replacement for my case too πππππ
but yeah it's like what ven said
literal malware wtf
its mainly to replace nesting functions with that
oh god what the fuck this is terrible
im so lost
i thought it would just support 1 param funcs
this is how a lot of functional languages' pipelines work though
wait no im wrong
invert the pipeline
yes
thing
|> calls()
|> function_()
|> nested()
|> deeply()

thats elixir style piping
which is my favourite
"Elixir rocks" |> String.upcase() |> String.split()
["ELIXIR", "ROCKS"]
"elixir" |> String.ends_with?("ixir")
true
piping seems cool
how do you have multiple values in the pipeline
brackets are optional in elixir so
"Elixir rocks" |> String.upcase |> String.split
["ELIXIR", "ROCKS"]
also works in a pipeline
you dont
so bad
:(
you work on one value in a pipeline silly
then pass it as one
silly
["ELIXIR", "ROCKS"] |> something |> that |> Means.something
:(
that's kinda husk
okay think about it this way
@Vendicated you can close this now
how do you operate on two values in a single argument
it makes sense it's just husk
also i wish js let you do ? and ! in function names but i know that wont be possible due to the null coalescing operators
this does nothing for me
I've noticed only vesktop struggles with terrible screenshare performance (minutes per frame slow). Native discord only experiences random frame drops.
Well honestly I have the exact same issue on native client...
Using OBS camera works fine tho
ig you could use some similar unicodes
seems to work fine
I cannot use this on my system atm since there is no flatpak nor a musl libc tarball. It would be nice if there was a flatpak provided so that Alpine/Gentoo users could use this.
nvm it broke stuff
Wdym?
I tested it on Ubuntu and it works
insane @placid wave
it doesnt only apply to AppImage
it doesnt even seem necessary
are u sure it is
its necessary as a stupid fix for permissions
you should fix perms so sandbox works instead
no
@austere talon stop
I applied it wrong lmao
you're only supposed to apply it to appimage target
fix
and ^
idk I'll see
I will do
iirc if you dont have chmod 4755 the sandbox explodes
if its 0755 it explod
has nothing to do with this
okay then add fix properly
i will
its broken if in appimage & that kernel option is off
but it told me its off
idk its a known thing according to appimage docs
that if that option is off and ur using appimage it will break on many platforms
fedora has weird selinux shit maybe that fixed it
idk
aactually i dont think workstation uses selinux
nvm just borked?
Whar.
it do
kernel version?
what the fuck lmaoo
Linux vendingmachine 6.5.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 20 15:53:48 UTC 2023 x86_64 GNU/Linux
anyway just pr fixed
and i will test
i think i need to fork this package
would you prefer that be on the vencord org or should i just like copy the scripts into the vesktop repo
"I would not make this the default, as Debian 11 also no longer requires the --no-sandbox. Since Debian 11 unprivileged processes can create namespaces by default: debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html#linux-user-namespaces"
From Linux 5.10, all users are allowed to create user namespaces by default. This will allow programs such as web browsers and container managers to create more restricted sandboxes for untrusted or less-trusted code, without the need to run as root or to use a setuid-root helper.
deck is a modern version tho what
also it doesnt exactly complain because of that
its some weird ass zygote error
lemme check smth
The previous Debian default was to restrict this feature to processes running as root, because it exposed more security issues in the kernel. However, as the implementation of this feature has matured, we are now confident that the risk of enabling it is outweighed by the security benefits it provides.
maybe steam deliberately enabled it
why appimage anyway
doesnt deck use pacman
Note that various desktop and container features will not work with this restriction in place, including web browsers, WebKitGTK, Flatpak and GNOME thumbnailing.
uh what?
no
to build the system yes
user cant use it sanely
so this is just AppImage insanity
because ro rootfs
horror
@austere talon
[9947:1031/192108.594014:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : Invalid argument (22)
this
wtf is that
only happens in game mode and doesnt happen with nosandbox
the error
wdym unrelated
can u try smth different
if (isDeckGameMode) app.commandLine.appendSwitch("--no-sandbox");
put this below src/main/mainWindow.ts line 30
ive tried this but ok
maybe i forgot the --
what do you mean line 30
thats in the middle of imports
lmao
bruh
I'm sure it is, I just don't want to get it wiped by the next update. After all, SteamOS is a distro like any other, there's no reason for it not to work.
the only mention of this error i can find is on some google groups page where a guy compiled their chrome on another server and didnt copy all files
fire
You don't need to install files in a system directory to get a current build. I personally built the AppImage on my PC and pushed it to the Deck via KDE Connect but there will be a new release with the fixes included soon so you can just download the AppImage then.
@austere talon
doesnt work
needs to be done pre-launch
i can just modify that package to make it a steamos only thing
you
good
Merlin May 9, 2023, 5:40:25β―PM
to Chromium-dev
I've just compiled Chromium on Arch Linux on a VPS. My local machine is on the same distro and they both are up to date.
I then downloaded out/build1/chrome onto my local machine and ran it. A few times it threw exceptions, which I dealt with downloading some files from the "out" directory onto my local machine. However, eventually I got into this one which I haven't been able to resolve thus far:
./my_chromium
[229623:229623:0509/140628.363314:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : No such file or directory (2)
zsh: trace trap (core dumped) ./my_chromium
If I use --no-sandbox flag it won't resolve the error but will make it a slightly more different:
./my_chromium --no-sandbox
zsh: trace trap (core dumped) ./my_chromium --no-sandbox
--no-zygote-sandbox -- the same as the 1st error
What's the matter? How to fix this?
this issue was opened by a SteamOS developer (unresolved)
you love

Can you elaborate on how you did that? Anyway I think is better for me to wait for the flatpak release since updating Appimages is boring
Yeah, unless you need it now it would be easier. And yes you'd need to manually update the AppImage.
But for reference if you need it basically just clone the repo and run the package script then you'll find the AppImage inside the dist folder
git clone https://github.com/Vencord/Vesktop
cd Vesktop
pnpm i
pnpm package
almost got it
we ball
it works
pr incoming
@austere talon love
only applies in game mode since desktop doesnt need it i think
huh so the setuid flag is basically how sudo works
lemme make sure
@austere talon i will riir doas and make it epic and super safe
mb
yes
duh

setuid is funny
you love
disables sandbox if running under game mode we love valve lol
did u even test the code
oh you just dont use the broekn function lmao
i was saying cause u dont import chalk
const log = (message, dotFormatting = chalk.blue) => {
console.log(` ${dotFormatting("β’")} ${message}`);
};
this func is unused
hop off
doesnt matter
it does
it only applies to game mode anyway
cause it breaks aur package
it shouldnt break aur package guhhh ill fix tho
it does
cause now you need to copy both .bin and normal binary
all at once
whats aur package target
dir
its just dir?
oh i meant
do you biild appimage at the same time as
non appimage
or do you do them in seperate commands
what lmao
its a github action that does it

jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Run Electron Builder
uses: samuelmeuli/action-electron-builder@e4b12cd06ddf023422f1ac4e39632bd76f6e6928
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE: true
idk how it works
dont care either
it works perfectly

i think electron-builder does most things
right its so little code lol
fuckin
i just copy pasted this from some other repo lol
it is all at once
god damnit
give me a bit
WHY DID THEY DO IT THIS WAY
GUIHHHH
Actually I'm think I'm going to do this. Just one more thing, how can I clean uninstall it when a new version/flatpak gets released? Only thing holding me back, I'm pretty paranoid about leftovers =P
Just delete the AppImage and the config folders ~/.config/Vencord, ~/.config/VencordDesktop
I think that's all
Thank you kindly for the help
@austere talonoh my god i found a way
monkeypatching target.build in the hook to be able to apply the script for appimage and then undo it after
this is cursed but it works
it doesnt change the run behaivour at all i just need it to detect when it starts/ends appimage build
Do I have to install pnpm? Kinda goes back to messing with installing things that will get wiped
cd Vesktop
pnpm i
pnpm package
Cloning into 'Vesktop'...
remote: Enumerating objects: 1623, done.
remote: Counting objects: 100% (788/788), done.
remote: Compressing objects: 100% (263/263), done.
remote: Total 1623 (delta 660), reused 574 (delta 524), pack-reused 835
Receiving objects: 100% (1623/1623), 694.30 KiB | 10.06 MiB/s, done.
Resolving deltas: 100% (996/996), done.
bas...
WTF
need it to detect when it starts/ends appimage build
does electron builder not have events
no
lmao
it has events but
none for this
that im aware of atleast
wait
maybe
hold on
omg why is this guy so scared
we will explode them soon
OH MY GOD WHY
WHAT
UNDOCUMENTED HOOK FOR THIS
WHY
ELECTRON BUILDER DEVS WILL EXPLODE NOW
oh its documented but
super badly
guhhhhhhhhhhh STOP BEING SO INSANE I HATE ELECTRON BUILD<ER
EDPLODE
electron builder docs suck hard
i said docs..
on that note did you see my message earlierrr
Did you do this directly on your Steam Deck? If yes it's probably best now to use a locally managed Node.js version for example with nvm like
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
nvm install --lts
nvm use --lts
npm i -g pnpm
(untested)
As I said, I've built it on my PC and then just transferred it.
Ha! I forgot about that, sorry. That's why it failed. I will try finding another method, thanks.
@austere talonlovee
they have to be seperate js files so i have to do funny shit to pass data between them
no more monkeypatch tho
@austere talon im gonna explode
this doesnt work because IT BUILDS ALL TARGETS AT ONCE

it dont
it does targets
it builds all targets for current platform
uhh
AppImage is just an archive right
could you patch the AppImage afterwards
its hell to do that
i think i have smth working
doesnt help electron builder takes 7 business days to create tar archive
brainrot has consumed me error: could not find `Cargo.toml` in `/home/rini/git/ventop` or any parent directory
why is it taking so long
ββββββββββββββββββββββββββββββββββββββββββββββ
β New version of electron-builder available! β
β Current Version: 24.6.3 β
β Latest Version: 24.6.4 β
ββββββββββββββββββββββββββββββββββββββββββββββ
electron builder so slowww
β¨― to build rpm, executable rpmbuild is required, please install: sudo apt-get install rpm
VIRUS
appimages are the .exes of executables
i have no idea how to do this
i think its fucked up windows' executable format is just called executable
they can also unpack themselves
wait what
lmao ? ?
but i mean u could use 7z to modify the appimage
people without 7z will simply explod
7z
yop 7z will become a build dep soon
this sounds like a lot of work for deck support
@austere talonLMAO
deranged monkeypatch
works
perfectly
β― pnpm run package --linux appimage
> VencordDesktop@0.4.3 package /home/aa/repos/Vesktop
> pnpm build && electron-builder "--linux" "appimage"
> VencordDesktop@0.4.3 build /home/aa/repos/Vesktop
> tsx scripts/build/build.mts
β’ electron-builder version=24.6.4 os=6.5.5-zen1-1-zen
β’ loaded configuration file=package.json ("build" field)
β’ description is missed in the package.json appPackageFile=/home/aa/repos/Vesktop/package.json
β’ writing effective config file=dist/builder-effective-config.yaml
β’ packaging platform=linux arch=x64 electron=27.0.0 appOutDir=dist/linux-unpacked
ran afterPack hook /home/aa/repos/Vesktop/dist/linux-unpacked vencorddesktop
patched target
got build args [ '/home/aa/repos/Vesktop/dist/linux-unpacked', 1 ]
copying to apply appimage fix /home/aa/repos/Vesktop/dist/linux-unpacked /home/aa/repos/Vesktop/dist/linux-unpacked-appimage-1-fix
copied
β’ building target=AppImage arch=x64 file=dist/Vesktop-0.4.3.AppImage
β’ default Electron icon is used reason=application icon is not set
build ret
cleaning up
lemme test on console rq
e37f62a imageZoom: dont close carousel modal on image c... - AutumnVN
NoTrack (found no module):
ID: -
Match: window.DiscordSentry=
None
None
Holy Hell they can count to three
oh FUCK
ViewIcons (had no effect):
ID: 763866
Match: /\{src:(\i)(?=,avatarDecoration)/
MessageDecorationsAPI (had no effect):
ID: 93332
Match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/
ShowMeYourName (had no effect):
ID: 93332
Match: /(?<=onContextMenu:\i,children:).*?\}/
NoTrack (found no module):
ID: -
Match: window.DiscordSentry=
None
None
what do these things mean
means our shit broke
nooooooooooooooo not smyn
oh wait
how do i set a settings name instead of it being autogenerated from the variable name
you cant
these seem not too bad anyway
message decors is the worst one but eh
chrome users will wait
so there just isnt a way to get a space inbetween Hide and 3y3?
This plugin is usrbg but for profile pictures in simple terms.
It allows for non-nitro users to have a gif and such as their profile picture.
not another db plugin 
why should we have to trust another person
i dont see why usrbg couldnt just add that as a feature
5 devs for a css plugin
definePluginSettings({
"Hide 3y3 Builder": {
should work
thanks ill try that
all this plugin does is import a css file. you should just turn it into a theme / post it in the snippets channel
literally only 5 because of the original plugin
@austere talon https://github.com/Vencord/Vesktop/pull/206/commits/c45f3f37f0c5cc967a9d156bba996f857433d7aa
have fun understanding this
I just simplified and fixed it
the events suck because you can only have async handlers
so while you start modifying one of the targets it starts building other targets on top of it
sanely designed build tool
it works
hi autumn- do you wanna look at my dogshit code
yop works
incredible
i looked
wonderful, how many times did you cry
cant be worse than this
idk i have like- 5 layers of divs just to position things iirc
i would call my textreplace PR a gold plated turd
it looks very nice on the outside
thats about it
i did
b245354 proper fix for disabling sandbox on steamos (#206) - AAGaming00
lmao
help why my vesktop broken @placid wave
NO
how to get people to stop pinging you: just nickname someone else to vendicated
vesktop dont launch?? it say "native java erro: SteamerOs is not defined"
true

amazing
Look into auto updating. Supported targets will be Windows and AppImage
i wish there was a good way to bundle different code per target
if (IS_NSIS || IS_APPIMAGE) require("electron-updater").init()
so u dont bundle 200kb useless code on non updatable targets
cant u do two esbuilds
squirrel jumpscare
oh squirrel
so bad
aww no forks
i wanted to see if there is a debloated fork
WAIT MONOREPO JUMPSCARE
wtf..
oh wait did cookies revert it
@crude raptor is there any reason to use import without merge
i think it's always better to merge, not at risk losing anything (cuz no warning lol), and people could just delete all rules before import if they really want to have a clean import
i personally couldn't imagine myself using a merge- but i kept it cause its what you already had
does merge properly deduplicate?
no
it just goes through the list of rules you supply and adds them to the end of the list
maybe a merge with deduplication would work- especially if the move up/down buttons get fixed lol
merge should definitely dedupe
although dupe rules are irrelevant if rules r written correctly
but still better to dedupe
idk i guess you could get like
^(h) -> hello
hey -> helloey -> helloelloey
so yeah i guess merge with deduplication would be fine
So no portable zip once this gets implemented?
done dedupe

just got an email about autumn working on things, just wanna mention that i thought rearranging the devs would make sense cause the pfps stack, and that weirdly puts me, the smallest and newest dev, on... top? and you, the creator.. on the bottom, mostly covered
god just looking at the changes its like "oh wow, that makes sense!!... why did i do it this way anyway??"
so if you have a profile effect set discord will force you to have profile theme colors
and you cant get the default profile look by changing the colors
I was working on a custom theme that takes advantage of the vibrancy option when I noticed the vibrancy option was "only" set to sidebar which isn't as see-through as fullscreen-ui so this PR adds a switch to allow for that.
I guess there could be a dropdown menu to choose a specific vibrancy type but I figured it might be a bit much. Open to feedback as t...
@placid hinge 
@austere talon I added the ability to create backwards compatible 3y3 strings to the plugin
so now it really can 100% replace FakeProfileThemes
wrong repo

that's normal vencord repo
why only sidebar anyway
Also how does electron know what the sidebar is
me neither
lol
i just tried it to dual vc and nope
back to jackbox
discord moment i guess
L
hi, author of the PR here, I could make a dropdown menu if that's fine for y'all π
I mostly used fullscreen-ui because I was trying to get the same effect as Slack's newest design and they use the fullscreen-ui material.
gotcha, should i just have the two options or just all the possible materials?
Cool, will look into this later this week.
If you get java error you deserve it
+1 on this, I noticed you offer an RPM but it seems to be Fedora compatible only as it doesn't run on OpenSUSE.
At this point I would favor a flatpak so you don't have to rewrite a new version for any distro.
Silly dev question that I couldn't find an answer for in the docs (maybe I missed something): is there a better/faster way to test changes to the patcher/settings stuff than running npm run build && npm run inject and re-patching Discord?
pnpm watch
that doesn't re-patch Discord tho, right? (but thx i didnt notice the watch script π )
restart discord (ctrl + r)
inject is only needed the first time
then you just need to rebuild and restart discord
or watch and you don't have to manually rebuild
One Day ven will rename himself to vvgaming and realize who is his long lost brother
WWGaming
done π«‘ https://github.com/Vendicated/Vencord/pull/1941 (I spent way too much time taking those screenshots π₯² )
Oops I forgor
Hold on
Done π
Can you add that in the PRβs comments so I donβt miss it tomorrow?
Inconsistent casing!
macosVibrancyStyle: undefined,
Maybe merge the two settings into one and migrate the old option to "sidebar"
The && false thing is there to make TS happy since I wanted to keep the old option to make it so ppl who had it enabled didnβt revert back to βno vibrancyβ.
I canβt check rn (pretty late here so Iβm in bed) but basically if I removed the option from the Settings type obviously I canβt βsafelyβ check for its value in the form but removing the switch while keeping the option in the type for the old option threw a TS error (I donβt remember exactly which one however).
So the && false basically made it so the switch isnβt displayed but is there βtechnicallyβ in the type like that other unstable transparency option a few lines above.
&& false would make the entire expression false
can i set up dependabot for https://github.com/Vencord/Vesktop/ ?
can this be bypassed
wym
whats this
google drive, anonfiles, workupload or whatever you prefer
imho dependabot is annoying and ven probably agrees lol
too late
i love scrolling through 500 bot prs trying to find something made by humans
thats why you give bots commit perms
no
use built in dependabot
it doesn't create a pr until you hit the button on the security issue
also this pr is useless you didn't set up npm
only actions
its built in to github
hi
ty for the years of bettertweetdeck
still techincally using it
omg why did u take all these Screenshots 
nop
Is it possible to make the badge color of MoreUserTags in the color that the user has as display color?
can't you edit the lnk file in the start menu folder?
if yes, probably? need to write code to detect obs
it's been a while since i touched windows
it's
that doesn't change it in taskbar
huh
that seems like something for duckoooo to add to arrpc
what if you pin it
seems to be the case
if you think you can manage that be my guest LMAO
i've implemented it before and the code was horrifying
it's actually very simple with js
there are multiple ways to do it
you could just make the element move and the other elements move around it
- add draggable=true to your elements
- add these handlers to all destinations https://github.com/Vendicated/SwapTheKnights/blob/main/index.html#L209-L256
**index.html: **Lines 209-256
field.addEventListener("dragover", e => {
if (canMoveFromTo(puzzleGrid, dragee.idx, i)) {
e.preventDefault();
}
});
field.addEventListener("dragstart", e => {
dragee = {
idx: i,
kind: puzzleGrid[i]
};
field.classList.add("field-dragging");
for (let i = 0; i < puzzleGrid.length; i++) {
if (canMoveFromTo(puzzleGrid, dragee.idx, i)) {
fields[i].classList.add("field-drop-target");
}
}
});
field.addEventListener("dragend", e => {
field.classList.remove("field-dragging");
for (let i = 0; i < puzzleGrid.length; i++) {
fields[i].classList.remove("field-drop-target");
}
});
field.addEventListener("drop", e => {
const { idx, kind } = dragee;
fields[idx].classList.remove("field-dragging");
const knight = fields[idx].firstElementChild;
// appending to field will remove it from the previous field
field.append(knight);
puzzleGrid[idx] = BLANK;
puzzleGrid[i] = kind;
moves++;
movesText.textContent = `Moves: ${moves}`;
if (moves === 1) {
startTime = Date.now();
setInterval(() => {
timeText.textContent = `${formatDuration(Date.now() - startTime)}`;
}, 1000);
}
});
obv the logic inside the handlers will look differently
wtf I didnt knew drag dropping was so easy
obv this is gonna be slightly more complicated with react because mixing dom with js is not that easy
btw discord also has their own drag and drop
maybe you can reuse theirs
like u know the role list sort?
does findByProps("useDrag") work?
the third one is it
react-dnd's docs are surprisingly good
they actually seem to be yeah

just re-exported
remember rspack update unmerged modules
sanest discord code
swc merged all modules together if exports were only used in one place
just findByProps("useDrag", "useDrop", "useDragDropManager", "DropTarget") :)
oh
(findByProps("useDrag", "DropTarget")) is enough
that's why we have a bunch of re-exports now
yeah
like
// hooks.ts
export useDrag;
// index.ts
export * from "./hooks.ts"
now you'll have two modules exporting useDrag

yeah
swc would merge these entirely but rspack doesn't
Content
Hi its not an issue more like a super important thing to me.
The message logger is so extremely helpful when it comes to moderating server and creeps in dms.
Never let it die its so amazing.
I might donate at some point. Thats it!
Request Agreement
- [X] I have read the requirements for opening an issue above
There already is a message logger plugin and you haven't read the requirements for opening an issue...
Wait till they hook up swc to their rspack config and we do another vencord rework
Rspack internally uses SWC to perform code downgrade compilation which you can configure by presetEnv, so there is no need to use babel-loader to perform code downgrade compilation.
Inchresting
Given this answer in the FAQ
Even if webpack + SWC-loader solves the performance problem of babel-loader, webpack itself still has many performance bottlenecks, such as the make and seal stages, which are single-threaded. However, Rspack breaks through these limitations, so Rspack has better performance than webpack + SWC-loader, especially in multi-core scenarios.
I don't think they'll hook up swc
yeah rspack is overall quite the W for client mods
I wanted to find out if there were βduplicatesβ lolsob (and also was just curious to know what the options looked like)
I love knowing what to name my variables
though I have to say the destructuring is quite annoying
(for regex matching)
uhhh so- i don't think ive updated vesktop yet- ive also not changed a single thing since yesterday....
anyone got any idea whats happening here? lmfao
did u just install it
WHY DO YOU USE WHATSAPP WEB π
probably missing some drivers
run with --disable-gpu

literally nothing- is what was happening, if anyone's interested LMAO
Content
Without this you can't copy or search any selected text via right click on vesktop
Request Agreement
- [X] I have read the requirements for opening an issue above
I'm not sure I get what you mean π
Do you meant change the type of macosTranslucency? Wouldn't that require a migration to support the old settings properly? (I couldn't find where to do that)
This is the part I was wondering about when using this plugin. Sorry if I am wrong as I am new to programming.
When the number of stamps increases, scrolling takes longer, so I think it's better to avoid this code.
It seems that all horizontal stamps are being output at 160 * 160 as well. How about doing it this way?
canvas.width = resizedWidth;
canvas.height = resizedHeight;
Content
Discord Account
_darkuwu
What is it that you'd like to see?
I would like to see the VolumeBooster plugin brought to web, I don't see why this wouldn't be a feasible thing so I'm asking. This is probably the only thing holding me back from using Vesktop
Request Agreement
- [X] I have read the requirements for opening an issue above
I forgor that plugin was there 
i managed to link the plugin...
but im using the css verison
@import url(https://css.f53.dev/discord/ClientTheme.css);
:root {
--theme-h: 223;
--theme-s: 22%;
--theme-l: 11%;
}
is there a way to request an plugin?
plugin request on the githup page is closed atm but maybe you can get some1 to code it for you
or the better option learn to make the plugin
I believe this is supported in the native discord app but not here. When I watch a stream on Vesktop, both the stream audio and the voice chat audio are playing back through the same stream.
Screenshot from pavucontrol, showing there is no separate stream for the screenshared audio.
If we could separate them into individual streams I can change which device the stream audio gets sent to,...
how can i install and test my own plugin?
he needs the first thing first
he needs to know how to build
dam im not that stupid
thanks
for vesktop you just choose the vencord folder in the settings
99% people asking that question are
lol
lol





