#๐Ÿ‘พ-core-development

1 messages ยท Page 152 of 1

austere talon
#

don't do what

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

grizzled halo
#

real ones know the link from memory

bleak gyro
#

what does it just open the tab

grizzled halo
charred monolithBOT
bleak gyro
#

Does anyone know how I could see if a user and the user in UserStore.getCurrentUser() are friends

austere talon
#

RelationshipStore

#

btw to whoever is making lgmtfy plugin, it won't be merged

bleak gyro
#

oh yeah xd i just saw that as you sent that

#

thank you

median rapids
austere talon
#

none?

#

it uses locally available data

slim marsh
#

u already receive the raw message content, why make any api requests?

charred monolithBOT
#
[Vencord/Installer] New branch created: self-update
charred monolithBOT
charred monolithBOT
austere talon
#

now its time to test on windowss

spark pivot
#

ร–l SAS1989;43

austere talon
#

IT WORKS??

#

this is massive

bleak gyro
#

?

austere talon
#

i love when my code works first try

bleak gyro
#

w

charred monolithBOT
austere talon
#

@turbid hatch :)

#

if u wanna review / test

austere talon
charred monolithBOT
#

this is not a bad idea, but i don't like the implementation

It would be much simpler to

  • download the cli
  • create a shortcut (or .desktop file on linux) that calls vencord-installer-cli --install --location C:\Path\To\Discord && discord. the user can then just use that shortcut instead of the normal discord shortcut and it'll always patch discord before launching it
austere talon
#

so it will purely patch

#

(currently, patch will always first update ur vencord files)

#

also jeez going back from crystal to go makes me want crystal back so bad

#

go sucks ass compared to crystal

charred monolithBOT
charred monolithBOT
median rapids
charred monolithBOT
stoic echo
#

WYFSI

#

WYFSI

#

GOD DAMN IT

charred monolithBOT
charred monolithBOT
still wasp
#

also yeah idrc about merging anything i just thought it was funny

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

@Vendicated yeah, that's unfortunately very true. Do you think is there any way to leverage the VAAPI codecs already present in FlatHub? If you tap into those builds you should be able to have a fast video rendering with HW acceleration no? To give an idea this package has the full support for hardware rendering.
org.freedesktop.Platform.ffmpeg-full

This would be the best way to fix screen sharing using any discord client on Linux until Discord fixes it themselves.

Some...

charred monolithBOT
turbid hatch
#

did it completely in place

#

yep

#

works even if the filename is different

#

code looks fine to me too

charred monolithBOT
#

this is not a bad idea, but i don't like the implementation

It would be much simpler to

  • download the cli
  • create a shortcut (or .desktop file on linux) that calls vencord-installer-cli --install --location C:\Path\To\Discord && discord. the user can then just use that shortcut instead of the normal discord shortcut and it'll always patch discord before launching it

it could also very easily be made a service using that exact same set of steps, and then the user doesn't have t...

turbid hatch
#

what is the obsession with making the installer a system service

#

no

#

its dumb

#

stop

austere talon
# charred monolith

my idea is to have an option in the installer to create multiple different shortcuts

  • vanilla discord shortcut
  • auto repatch shortcut
#

then they can pin those to taskbar or have them wherever they want

charred monolithBOT
#

installing a system service is extremely undesirable and i will outright say the worst possible solution - it usually requires admin privileges and that should be completely unnecessary to install a client mod...

it does not require admin services to create a service, nor would this be undesirable. It could be a simple additional option for those who don't want to have to redownload and repair vendors every discord update.

Many other client mods, self hosted, and various other projects ...

turbid hatch
#

literally does

#

on windows

#

there is no concept of a user service

#

you have to have admin to install a service

#

you can RUN them as another user, but it requires admin to install

#

and usually running them as a user account that's interactive is actually an extremely bad idea

austere talon
#

(the service idea is rejected from the getgo anyway im not doing that)

turbid hatch
#

genuinely want to say this

limber skiff
#

Amoguscord

charred monolithBOT
#

it does not require admin services to create a service

windows does, there's no concept of a set of user services and every service should run under a system service account (either one of the existing ones or something under the NT SERVICE\ domain), not a user account. you can't even start and stop services without admin, let alone install one.

nor would this be undesirable

you can't.. state that our own viewpoint is wrong. we see it as undesirable and we won't be doing ...

austere talon
#

why are u even arguing

#

just say no we aren't doing a service

turbid hatch
#

more correcting, but yes im not going to respond to him anymore like this

#

this is silly

#

and yeah i told him we arent doing it like this

#

we have our own plans for implementation that involves shortcuts like vee previously mentioned.

#

now i have slightly gotten this wrong

#

windows does have per-user services, but not on the desktop operating systems

#

only on windows server

#

i think?

#

or maybe its for desktop experience on windows server

#

well either way it still requires admin rights to install

charred monolithBOT
#

it does not require admin services to create a service

windows does, there's no concept of a set of user services (i am wrong, but it still requires admin to install and configure) and every service should really run under a service account (either one of the existing ones or something under the NT SERVICE\ domain), not a user account. you can't even start and stop services without admin, let alone install one.

nor would this be undesirable

you can't.. state that ou...

turbid hatch
#

ok this is getting silly

charred monolithBOT
#

we dont expect users to change anything, we're giving them a shortcut to use instead, they can just repin it to the taskbar or whatever.

we will NOT do a service because installing one varies on the operating system and varies in permission level, plus overall it is a very strange thing for a client mod installer to run a service on someone's system in the background. doing it on linux, for instance, will be a nightmare because different service managers exist and we'd have to write a us...

turbid hatch
#

๐Ÿ”’

charred monolithBOT
turbid hatch
#

oh yeah

#

@placid wave did you test the steamos changes

#

with the promise queue

#

i forgot

charred monolithBOT
placid wave
turbid hatch
#

poi_thumbsup ty

#

@ me when you've confirmed if they work so i can merge

#

i merged in dev recently

#

is it already out of date

#

np

#

hopefully it'll be mainline soon ๐Ÿคž

#

do post reviews and comments on it btw

#

does help

charred monolithBOT
turbid hatch
#

they need to be in the themes folder with .user.css as the extension, otherwise they'll be loaded as BD themes

#

if it's not loading, open devtools

#

BD themes are just loaded as regular css files

#

with metadata

#

they have no concept of configuration or anything so the best we can do is give you info about them

#

usercss on the other hand does so we'll give you a config window

#

oh

#

uh

#

yes

#

it should do that

#

i believe something was written into the theme manager

#

like

#

thing.user.css ?

#

or just user.css

#

must ask

#

have you rebuilt

#

did you pnpm i && pnpm build too

#

or just build

#

hm

#

wonky poi_think

#

you're missing a namespace btw

#

but it should still load it just without the metadata

#

or

#

well

#

load on a best case effort

#

it shows up here for me

#

can you double check devtools

#

i am bewildered then

#

are you using the "open themes folder" button to get the right folder?

#

and then using load missing themes after

#

and the commit hash it shows is 85b510b

#

?

#

wat

#

yeah that means its on the right hash

#

im just confused on why the feature isnt working

charred monolithBOT
turbid hatch
#

should be

#

but use the button since its guaranteed to load from wherever that button goes

#

hmmmm

#

@austere talon just want to do a quick recap for the end of the year on what projects i've got running:

  • usercss
    • glory to usercss
    • seems to basically be done, just needs codereview and some minor testing it seems on the mac side of things
  • translations
    • new but plenty to talk about
    • seems like the demand for translations is going up, i've been seeing a couple of people wondering if we'll ever translate vencord
    • will be difficult but i think it'd be worth it in the end
  • wailsinstaller
    • hasn't been updated in a while but seems to [still be quite useful](#๐Ÿฅ-vencord-support-๐Ÿฅ message)
    • we should take a look at updating this with the new go installer stuff and potentially moving to it over the old imgui installer? with the new updates it'll take a little bit to add the right things on the frontend but after that it should be smooth sailing
#

can you go to your vencord data dir

#

config

#

and that themes folder is where you're putting your usercss?

#

and none of those are loading?

#

specifically?

#

that's odd

#

are you using vesktop or discord?

#

i mean even then

#

worst case it'll fall back to loading them as betterdiscord styles

#

so there's no errors at all?

#

hm?

#

magic ig

#

whaaaaaaa?

#

i mean for me your theme does actually do nothing

#

its being loaded

#

i can see the contents here

#

but its not actually doing anything to discord

austere talon
#

writing ui with giu gives me cancer so wails might be better

#

but even writing it in go itself gives me moderate cancer at this point

turbid hatch
#

bleh

austere talon
#

io heavy code is NOT FUN to write in go

turbid hatch
#

i mean yeah

#

with the if statements and stuff its awful

#

in devtools, if you go to elements, find a style tag with id vencord-themes, is anything actually in there?

turbid hatch
#

so i think we should just keep it go/wails for future dev

austere talon
#

lollll

turbid hatch
#

for now

austere talon
#

electron soon

turbid hatch
#

cry

#

god no

#

at least with webview stuff its rare you'll get prompted to download it xd

#

when the theme is on there should be an import with a blob url

#

do bd themes work?

austere talon
#

we will shrimply deprecate the gui

#

only cli from now on

turbid hatch
#

that doesnt seem like a me thing then

#

or

#

well

#

it might be

#

but it seems like the theme loader just

#

isnt working

#

let me take a look, give me a few

turbid hatch
#

if you restart discord does it work @crystal walrus

#

after enabling a theme

#

the fuck

#

hm?

#

lol amazing

#

it should've ignored that file but

#

oih well

#

okay so its creating the style

#

but then its not loading any of the links

#

its one of the first things it should be doing

#

thats ery odd

#

on vesktop it should result in the same issue so im unsure

#

can you open devtools and reload?

#

see if there's any errors there

#

it could be that its erroring out when initing themes

#

hence why its not working anymore

#

ah

#

yeah that'll do it

#

i think this is a bug in how the theme loader works

#

let me add a fix

#

before i go any further, can you click the quickCss.ts:104 and show me the file

#

wat

#

right okay

#

@crystal walrus pull and build

#

should fix the issue

#

npnp

#

just made it soft fail instead of failing hard

#

:p

#

make sure to use a preprocessor to make life easy with if statements

#

it'll compile it for you

bleak gyro
#

Could anyone help me, I'm trying to make a patch where if it shows this pop up it will run a certain function but im not sure what patches to make

#

and obviously hide the popup

austere talon
#

what are you actually trying to do

bleak gyro
#

I'm creating a MessageSplitter basically it splits long messages over the char limit into multiple messages, I've coded all of that and tested it on 2k and it splits, the only thing i need to do now is get rid of that pop up and still call the preSend

lime stone
#

how is that now api abuse /gen

austere talon
#

now?

austere talon
#

just upload as file

still wasp
#

i mean its not not useless

dapper crest
#

You can't view files on mobile

median rapids
#

just make sure to handle slowmode

vivid bough
austere talon
vale osprey
north knoll
#

@austere talon can you take 5mins to reply to my PR? been waiting nearly two months

bleak gyro
#

Your PR is a draft PR.

#

You need to make it an official one if you want them to merge it or anything

north knoll
#

not asking to merge, just been waiting for a reply to my questions in my latest comment in the PR

bleak gyro
#

Ohhh right mb

charred monolithBOT
#

Built from:

[46538:1227/163949.950135:ERROR:shared_screencast_stream.cc(241)] PipeWire stream state error: no more input formats
[46538:1227/163949.950174:ERROR:shared_screencast_stream.cc(204)] PipeWire remote error: no more input formats
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
    at CreateVkInstance (../../third_...
austere talon
#

least broken nixos setup agony

lime stone
#

one day your brain will run nixos

charred monolithBOT
#

Built from:

[46538:1227/163949.950135:ERROR:shared_screencast_stream.cc(241)] PipeWire stream state error: no more input formats
[46538:1227/163949.950174:ERROR:shared_screencast_stream.cc(204)] PipeWire remote error: no more input formats
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
    at CreateVkInstance (../../third_...
austere talon
#

u cannot make this shit up ๐Ÿ˜ญ

slim marsh
# charred monolith

Because I think the issue is with PipeWire, and if I'm right, that's more difficult.
vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER

#

hmmm

#

or i guess both errored

austere talon
#

i love that it takes like 2 seconds to google the library in the stacktrace and see that it's a WebGPU library

slim marsh
#

lmao

austere talon
#

buddy u just need gpu drivers.. mesa...

slim marsh
#

vulkan initialization failed due to unsupported drivers? looks like a vesktop issue to me tbh

spark pivot
#

it isnt

slim marsh
#

i am being sarcastic

spark pivot
#

oh lol

charred monolithBOT
#

Please do not reply to fresh (and valid) issues or support requests dismissively, condemning the author for their choice of technological stack. As any other Linux user, it is your obligation to respect people's choice. What is not your obligation is providing support; however doing so is very appreciated. And what you should not do is dismiss people rudely. If you follow basic social contract and exercise proper etiquette, people will like you. If you do not behave yourself, people w...

slim marsh
#

holy fucking shit

#

that looks ai generated

spark pivot
#

the author

slim marsh
#

how often do you have to deal with stuff like this?

#

i feel kinda bad

spark pivot
#

never

#

it's this one guy

slim marsh
#

okay thank god

turbid hatch
#

okay

#

right

#

ill deal with it

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

austere talon
#

no just block him lol

#

dont reply further

turbid hatch
#

yes

#

thats what im doing

spark pivot
#

def coming back on an alt

#

im calling it

turbid hatch
#

but i really really did want to point out his hypocrisy

austere talon
#

no dont reply

turbid hatch
#

i know

#

but like

spark pivot
#

If you do not behave yourself, people will disrespect you and disregard your wishes, and open duplicate issues, which may prove to be a nuisance.
it sounds like this guy is the teacher of a kindergarten class

frail skyBOT
#
Bad Patches

None

Bad Webpack Finds

None

Bad Starts

None

Discord Errors

None

turbid hatch
#

If you do not behave yourself, people will disrespect you and disregard your wishes, and open duplicate issues, which may prove to be a nuisance.
wow, ok, so you're going to act in bad faith because we dont want to support something we explicitly have said we do not support in the past

austere talon
#

DO NOT REPLY

#

DO NOT FEED THE TROLLS

turbid hatch
#

YES I KNOW .

#

I AM NOT WRITING A REPLY.

spark pivot
#

i wont lol

turbid hatch
#

I AM POINTING OUT THE HYPOCRISY.

austere talon
#

u need to stop arguging with these people and just ignore them ๐Ÿ˜ญ

slim marsh
#

whats sad is that they dont seem like a troll

austere talon
#

the installer service guy as well

slim marsh
#

their profile looks serious

#

maybe i should just shut up because ive never actually used linux although i really doubt that driver issues have anything to do with vesktop, lol

spark pivot
#

I do not believe that you know nothing about the issues below
we know enough to realize it's not our problem

turbid hatch
#

anyway

#

back to work

#

usercss

#

๐Ÿ‘ ๐Ÿ‘

thick kestrel
# charred monolith

I mean, this is obviously none of your business, but you could have been more professional with something along the lines of "This is a downstream issue, report the issue to NixOS."

#

saying "your OS is bad" is dismissive and can make people mad when there's no reason to do so

spark pivot
#

i agree it was a little unprofessional but it didnt constitute the last issue

austere talon
#

HUIDASHIJUOFUJIOEHUJNIGEWHUJIEGWOIJEWGIOJEGWIOUJEGIOJERGDSIOJERGJOIEGJOIEGIOJE

turbid hatch
#

we have no reason to provide help to someone who demands support for something that isnt even our problem

spark pivot
#

NOOO

turbid hatch
#

we dont know nix

#

we dont know how to fix the problem

spark pivot
#

all we know that it's not our problem

spark pivot
#

and that's what i said

turbid hatch
#

and his issue complaining about our conduct accuses us of knowing how to fix it but not telling

austere talon
#

WHAT IS WRONG WITH THIS GUY HAHAHA

turbid hatch
#

we literally know fuck all

#

we dont maintain the nix package

#

we maintain a flatpak

#

that's IT

austere talon
#

hold on let me check if hes typing in my dms now

#

thank god he isnt

slim marsh
#

make sure he doesnt

turbid hatch
#

im reading through how the nixpkg even works

#

i dont know why they're doing half of this shit

#

there's probably some good reason why but i dont get it

thick kestrel
turbid hatch
#

it's a running joke and if he genuinely got hurt by it then i dont know what to say

austere talon
#

fucking hell i cant stop laughing

turbid hatch
#

this is genuinely hilarious to us

olive aurora
#

cant this mf open an issue wherever the vencord package is

turbid hatch
#

yeah you can

#

nixos/nixpkgs

thick kestrel
#

they should

spark pivot
#

(so we dont have to deal with him)

turbid hatch
#

but he immediately comes to us blaming us, and then refuses to go to them even though we've said its not our problem

austere talon
thick kestrel
#

well ok

spark pivot
#

so true

olive aurora
#

vencord is a personal project originating from a joke

turbid hatch
#

i do not understand what he gets out of trying to file an issue on our own repo reporting our conduct to us

slim marsh
#

me when "the cutest discord client" isnt meant to be professional

turbid hatch
#

like i get the sentiment

slim marsh
#

๐Ÿคฏ

turbid hatch
#

but it's not going to do anything in the end

#

then he comes in here

spark pivot
#

it's like reporting an employee that is unprofessional to the employee that's unprofessional

turbid hatch
#

explicitly ignores the modmail reasons

#

and then tries to talk to us

#

modmail is for the SERVER

#

not for DEVELOPMENT or the MOD

austere talon
olive aurora
#

fr read our cock

turbid hatch
#

because said people violating conduct can just delete the issue

#

(which is what i did, because its stupid)

#

and im willing to be very clear in saying that i did it because vesktop issues should be reserved for.. vesktop issues

#

not someone complaining that we refused to help with nixos and being accused that we're hiding info on how to fix it

thick kestrel
#

idk this guy is definitely weird, I just thought they could've been handled better

turbid hatch
#

i have actually read through that issue and i literally dont know whats going on beyond that its some nixos weirdness with how drivers work

austere talon
#

funniest thing is i accidently closed that modmail

i didnt mean to
i was gonna check if its him and then close it but misclicked cause cold hands

but thankfully it was indeed him so the close was okay

thick kestrel
#

not trying to tell you your business

#

just feedback

austere talon
turbid hatch
#

i mean in the end

#

OSS is ran by the people who maintain the projects

#

we can do whatever we like as long as we're within github's rules

#

and we are!

thick kestrel
#

yeah ofc

turbid hatch
#

also yeah i have no idea what this nixpkg does

#

but also searching up "nixos vulkan" gives a bunch of things talking about how vulkan doesnt really work properly

charred monolithBOT
#
[Vencord/Vesktop] branch deleted: fix/steamos-pipe-security
turbid hatch
#

oh yeah

#

@placid wave there you go its in main now

#

i dont know if you tested it but shrug

#

it should be fine

thick kestrel
#

buggy packaging happens but reporting buggy packaging to upstream is dumb

turbid hatch
#

the only packaging that can be reported to us upstream is what we ship on releases and flatpak

thick kestrel
#

how tf is upstream supposed to fix your issue

turbid hatch
#

how are we meant to fix driver issues

#

like

#

just install the drivers?? idk

spark pivot
#

that's what i said ๐Ÿ˜ญ

#

i looked up the error and found a stack exchange forum that seemed to fix the issue

charred monolithBOT
turbid hatch
#

im unsure if this pr works with that though

charred monolithBOT
#

this is pretty cool, thanks for working on this!

Can implement the badge image creation live instead of in build step in case other modifications to the tray icon are needed (voice connected, etc.)

that does sound like the most future proof / maintainable solution, i agree. just passing the arrayBuffer to the renderer, creating the image with canvas api and passing it back to node. i think that's actually also what the Discord app does

austere talon
#

does mac not have a tray?

turbid hatch
#

menu bar top right

austere talon
#

i remember there being some issue with the vencord tray icon being MASSIVE on mac in the past

turbid hatch
#

oh yeah lmfao

#

icons usually go up here though

#

which is mac's equivalent to the system tray

austere talon
#

i think its kinda funny that vesktop has a fully reactive settings api for vencord settings but vencord itself doesnt xd

turbid hatch
#

we could port it SilvGiggle

austere talon
#

and i made it so that when u change a setting in renderer, it notifies the main process of what changed

#

which is amazing cause u can have code like this

// main process
Settings.addChangeListener("someSetting", () => {
  doThing();
})

// renderer process
settings.store.someSetting = 42
#

vencord can only DREAM of having that

turbid hatch
#

i remember we have something similar cause we have change listeners for uhhhh

#

quickcss

#

but its not like that

grave mangoBOT
turbid hatch
#

ahh thats it

austere talon
#

vencord main process code has horrible access to settings

#

basically it reads and parses the file on demand

#

and has no way of detecting settings changes

turbid hatch
#

Provided to YouTube by Universal Music Group

Buddy Holly ยท Weezer

Weezer

โ„— A Geffen Records Release; โ„— 1994 UMG Recordings, Inc.

Released on: 1994-01-01

Producer: Ric Ocasek
Studio Personnel, Engineer: Chris Shaw
Studio Personnel, Asst. Recording Engineer: Hal Bellknap
Studio Personnel, Asst. Recording Engineer: David Heglmeirer
Stud...

โ–ถ Play video
#

whoops

#

that wasnt the

#

right link

austere talon
#

YES IT WAS FYM

turbid hatch
#

LOL I WAS GOING TO POST LIKE

#

HOW IT WORKS IN USERCSS ATM

#

BUT I HAD WEEZER

austere talon
#

also another thing i dislike is having to copy paste code between vencord and vesktop

#

optimally i would want to make a separate stdlib package

grave mangoBOT
turbid hatch
#

there we go

austere talon
#

yes but thats only in renderer

#

vesktop has the same but across processes

turbid hatch
#

yeah that was it.. i had to add a new false thing to prevent it from like

#

yes that was it

#

we had no wildcard listener

#

so i had to add exact

austere talon
#

the urge to monorepo...

turbid hatch
austere talon
#

you pass null or empty string as first arg

turbid hatch
#

as in

#

specific wildcard

#

usercss.*

austere talon
#

ohhh

turbid hatch
#

:P

turbid hatch
#

so we use a wildcard listener that checks if the path starts with userCssVars

#

sorry

#

if it includes userCssVars

#

its sorta shitty but works

#

actually that should really be changed to startswith

austere talon
#

i dont like the boolean

#
const enum PathMatchStrategy {
  Exact,
  StartsWith,
  EndsWith,
  SubString
}

function addSettingsListener(path: string, callback: yes, patchMatchStrategy = PathMatchStrategy.Exact);
turbid hatch
#

yeah i need to switch it

#

the entire thing is trash

austere talon
#

well i'll rework settings anyway

#

do u have any better idea for stdlib than to use npm / monorepo

turbid hatch
#

should i leave it for now and we can add those strategies into the rework?

turbid hatch
austere talon
#

u still have to edit two git repos which sucks

turbid hatch
#

hm

#

github packages?

austere talon
#

how do i monorepo without monorepo

#

need

charred monolithBOT
turbid hatch
#

hm

#

hmm

#

hmmmmmmmmmmmmmm

#

wtf

#

why is mcr on

#

okay

#

sure

#

wait

#

could manage through npm using github as the release method, so we arent distributing a package but we can just download it or update it easily via a pnpm up

charred monolithBOT
turbid hatch
#

thats

#

not true

turbid hatch
#

i mean

#

we can make a black/clear version of the vencord icon

#

thats easy

austere talon
#

i think submodule is the cleanest way to have always up to date shared files

turbid hatch
#

does the vesktop icon have oneko at small sizes

#

i forget

turbid hatch
turbid hatch
thick kestrel
#

I added this toggle to SendTimestamps as I don't like the default behavior and I'd like to have the option to disable it

#

should I also add a corresponding toggle for the button?

austere talon
#

12:23

#

how do u trigger it again

#

<t:1703762580:t>

turbid hatch
austere talon
#

oh

turbid hatch
#

that looks shit

austere talon
#

wtf is thjat lewi ๐Ÿ˜ญ

turbid hatch
#

vencord mac logo

#

but because it has black borders

#

just making it black doesnt work

#

hm

thick kestrel
turbid hatch
#

its too

#

thick

thick kestrel
#

as I feel like mine are shit

turbid hatch
#

ah well

#

ill work it out later

placid wave
#

hii i forgor

#

ill test steam rn

turbid hatch
#

dw

#

its merged now

#

but it should work

#

give it a go anyway

placid wave
#

i will test NOW

austere talon
#

can u please test that ur nvidia pr still works aagamer

#

cause there were also other changes to the window show logic

placid wave
#

uhhhh sure

#

soon

#

very soon

#

steamer first

#

i still hate that that is the nvidia fix

#

we will fork chromium to fix soon

#

vromium

charred monolithBOT
austere talon
#

actually

#

let me try bump to electron 28

placid wave
#

also this is literally wrong

austere talon
#

and see if that fixes it first

placid wave
#

you need transparency true

#

on linux

#

for transparency to work

#

ive tested it

austere talon
#

transparencyOption = windows mica

placid wave
#

unless they changed very recenly

#

GUHHHH WHY IS MY DECK BOOTING WINDOWS

placid wave
#

didnt work

austere talon
#

wdym

placid wave
#

could be remembering wrong tho

austere talon
#

transparencyOption is windows only shiggy

placid wave
#

oh

#

i mean

#

you need

#

transparent: true

#

but im just misreading

#

anyway time to shutdown terrible windows and boot steameros

austere talon
#

well according to that issue you don't need it for mica to work

placid wave
#

deck bios has a horrible bug where if it detects a windows partition it overrides the boot order to put windows first

#

so you have to use the boot menu or make a systemd service set bootnext every boot

#

also i love the ssd showing up as efi hard drive

#

sanest bios

charred monolithBOT
placid wave
#

valve is getting creative with steamos codenames

#

"SteamOS 3.5.12 Preview: Elves in Tuxedos"

turbid hatch
#

amazing

placid wave
#

FIXED A SYSTEM REBOOT WHEN CONNECTING JOY-CON CONTROLLERS

#

HOW DID THEY MANAGE

#

oh my god 6 minute update for 3 bug fixes

#

guhhh

#

still faster than windossw updates

#

@austere talonlmk when electro 28 pushed

#

i will test

charred monolithBOT
fiery jungle
#

is that actually the entire movie

austere talon
#

yop

#

report him for piracy

charred monolithBOT
shy veldt
turbid hatch
#

wont be happening for a bit

placid wave
placid wave
#

i will test NOW

#

once everything updates

turbid hatch
#

good

placid wave
#

i need to update my desktop fedora

#

it will take years cuz i havent used it in ages

austere talon
placid wave
#

we love export let

#

least unhinged js behaivour

lime stone
#

it's better than if let in rust

austere talon
#

what's a cross platform way to detect first launch of the app (including first launch after reinstall)

#

currently vencord just has a "setting" firstLaunch

placid wave
#

I don't think you really can do that

turbid hatch
#

write a file somewhere and then delete that file in the installer every time you uninstall/reinstall/repair/etc.

placid wave
#

like at sll

austere talon
austere talon
#

this is for vesktop

placid wave
#

yeah I think you have to just live with that

austere talon
#

it needs to work on all packaging formats

turbid hatch
#

hm

#

to put it bluntly

#

you're fucked

#

there is no crossplat way that is guaranteed to work every time

austere talon
#

my first idea was to write the file in the exe dir (cause i assume that directory is nuked on uninstall) but that won't work on linux cause most of the time that dir will be root owned

#

can we use the create date of the exe dir?

turbid hatch
#

what do we actually need to do first time every time

#

just so we arent x/y probleming ourselves

austere talon
#

basically

const installedAt = stat(dirname(exePath)).createdAt;
if (!settings.firstLaunch !== installedAt) {
  isFirstLaunch = true;
  settings.firstLaunch = installedAt;
}
#

will this work

turbid hatch
#

no

placid wave
#

okay fedora is updating 600 pa kagss

turbid hatch
#

well

#

maybe

#

it depends

placid wave
#

find to test steamer

turbid hatch
#

windows create date can be finnicky

charred monolithBOT
grave mangoBOT
placid wave
turbid hatch
#

ah i see

placid wave
turbid hatch
#

xd

placid wave
#

no reason not to

placid wave
turbid hatch
#

ah shit

#

this wont work in flatpak

placid wave
#

lol

austere talon
#

that code in paritcular uses localStorage

#

isnt that supposed to get pruned after reinstall...

placid wave
#

no

turbid hatch
#

no

placid wave
#

not on linux

#

on Windows maybe

austere talon
#

then why do you get logged out after reinstall

turbid hatch
#

is this on vesktop too

#

or just vanilla

austere talon
#

vesktop only

turbid hatch
austere talon
#

desktop notifications are disabled by default on web (cause of permissions)

we want to enable them by default

#

but we also don't want to enable them after the user explicitly disabled them

#

so we can't just unconditionally enable them, we need a way to determine first launch

thick kestrel
#

you could also say you need to determine whether the user explicitly disabled them

turbid hatch
#

honestly do the

#

wait

#

<t:1703768400:t>

#

ah i do have that on

#

ok

placid wave
#

patch the check that makes them not on by default

#

ez

turbid hatch
#

i think just doing it in settings is fine enough

#

if they've turned it back off then i dont think we should do it again if they reinstall

austere talon
austere talon
#

but also even then we still need a reliable way to detect first launch

placid wave
#

no

austere talon
#

there are so many things i wanna do better on clean installs

placid wave
#

just patch discords default value on web

#

to be true

#

oh

#

alright

austere talon
#

so if vencord is broken users can reinstall vesktop to fix it

#

that was so easy to find

#

i will patch it you're right aagamer

placid wave
#

HOW DO I CANCEL GIT STUPID ASS REBASE ON PULL

charred monolithBOT
#

SendTimestamps adds two features allowing to send timestamps: the button in the input area, and the replacement of timestamps in message contents. This allows disabling content replacement if the user only wants to have the input area button.

Something I'm not sure on is whether a corresponding setting for the input area button should be added as well. The description of the setting might also use some improvement.

placid wave
#

GUHHHH

turbid hatch
placid wave
#

genius

#

why was that so hard

#

insane git

austere talon
#

my most used command /hj

placid wave
#

@austere talon good news

#

electron or nvidier fixed

#

it works

turbid hatch
#

hey you said cancel

placid wave
#

no errors at all

turbid hatch
#

not abort

#

:^)

#

anyway

placid wave
#

no i was dumb i was trying to do git rebase abort xd

#

not --abort

austere talon
#

without ur fix?

placid wave
#

ye

#

update electron to latest and close pr

#

im doing steamer now

turbid hatch
#

i keep forgetting that like

#

i have git aliases

turbid hatch
austere talon
gleaming trellis
#

@austere talon I'll confirm since we're pulling Settings into appBadge.ts now as well: you would prefer the right version over the left version here?

austere talon
#

surely you'd notice during testing right?

#

(says me who hardly ever tests code before pushing)

charred monolithBOT
austere talon
#

u want == null hehe

#

but ! also works

lime stone
placid wave
#

very real

turbid hatch
#

i was gonna do === undefined but got lazy and realised that this is either going to be undefined or a string

#

so

#

and if its an empty string its also wrong xd

charred monolithBOT
turbid hatch
#

modified date isnt when the executable was written

#

in a lot of cases

#

it's when the executable was built

lime stone
#

imagine if that worked on some platforms... obviously wouldn't work universally...

lime stone
austere talon
#

i definitely tested the first two commits

lime stone
#

do you mean downloaded?

austere talon
placid wave
austere talon
#

but guess what it just worked immediately during my first test

lime stone
#

is there a http header to set the date??

placid wave
#

average ven commit

austere talon
placid wave
#

i do

#

you

#

https://decky.xyz sending a test link

lime stone
#

ร˜ร†

lime stone
#

ยถ

placid wave
#

yeah ive done that before

placid wave
#

@turbid hatch works in crappimage

#

testing flatpaker rn

lime stone
#

do you ever

รฆลฟยถWร†ฤฆยงยฎ ฬ›ฤฆร†ยฎยงยงฤฆร†ยฎ ฬ›ฤฆ ฬ›แบžฤฆ ฬ›ร†ฤฆยช ฬ›ฤฆแบž ฬ›ยชฤฆฬ‰ - midnight
Signed-off-by TheKodeToad TheKodeToad@msn.com

#

(rรฆl email address)

placid wave
#

msn

#

fucking msn

austere talon
#

@turbid hatch

placid wave
#

building fltpaker

placid wave
#

you love

#

i will send this to my nixos user friend

austere talon
#

why does bro have /games in his root folder

placid wave
#

this is usr

#

not root

#

/usr/games exists

austere talon
#

OHH right

placid wave
#

lol

austere talon
#

/usr/games the horror

placid wave
#

@tame escarp january 7th

austere talon
#

i was about to check if i have /usr/games but IM ON FUCKING WINDOWS

tame escarp
austere talon
#

kill

placid wave
#

LMAO

#

right

#

thats the one fucking thing

austere talon
#

remind me to order NUC tmrw aagamer

placid wave
#

guhh i wil try to rember

placid wave
turbid hatch
charred monolithBOT
placid wave
#

@austere talon

austere talon
#

fastest pnpm i on windows

placid wave
#

LMAO

austere talon
#

LOL WHAT TERMS DID HE ADD

placid wave
#

loveee vs build tools

tame escarp
#

9/11 for nixos users

austere talon
#

at least shrimpkey supports mutes

#

gotobrazil doesnt

#

i wanted to mute a keyword but couldnt

tame escarp
#

i had to mute rock last night

#

i wa sgetting too mad

placid wave
#

LMAO

#

only good rockpost

austere talon
#

oh my god starting vesktop dev just doesnt work this is such a windows moment

placid wave
#

@austere talonwhats with the white splash screen

#

on flatpak

austere talon
#

?

placid wave
#

white shig screen

#

when using flatpak vesktop in steamos

#

i think its always done this but its still insane

austere talon
#

uhh idk

#

it works for me i think

placid wave
#

can we default the splash to dark ons teamer since there IS NO LIGHT MODE ANYWAY

#

in the steam ui

tame escarp
#

wait i forgot we had flatpak why dont we just tell nixos users to use flatpak

austere talon
#

its time

#

or do i just bump all deps to latest again

placid wave
placid wave
#

the ui only has dark mode

tame escarp
placid wave
#

so while in steam ui we could just make the splash dark mode

#

or default to dark if that spossible

tame escarp
#

so might as well tell them to use a good package manager that's actually supported trolley

placid wave
#

but i dont think it is

austere talon
#

ohhh

#

the splash screen uses prefers-color-scheme

placid wave
#

@turbid hatch works on flapker

austere talon
#

does that not work on steamer?

turbid hatch
austere talon
#

it works for me iirc

placid wave
austere talon
#

i will check again

placid wave
#

because gtk themes dont apply to flatpaks

#

it uses some insane portal gamescope probably doesnt implement is my guess

austere talon
#

As I know, you can use GNOME Tweaks to solve this problem: sudo dnf install gnome-tweaks (or Tweaks in GNOME Software) and in the Appearance tab set Legacy Applications to Adwaita-dark. At least that's how I solved the problem.

#

riight

#

i had to do this to fix some issue with flatpakker

placid wave
#

insanepak

#

anyway deck doesnt use gnome

#

so irrelavent

#

they use gamescope in game mode and plasma x11 in desktop mode

austere talon
#

can u log electron.nativeTheme.shouldUseDarkColors in flatpakker

#

and see if it works correctly

placid wave
#

oh god thats gonna be a pain in the ass

#

give me like

#

3 minutes

thick kestrel
#

I wanted to test the feat/usercss branch and

#

my theme (regular ass BetterDiscord format theme) isn't visible in the settings

#

but it's applied and works

#

it's funny

charred monolithBOT
placid wave
#

btw @turbid hatch reminder when you make a release once all of this is done to add the steamer stuff to flatpak

#

so you dont forgor

turbid hatch
#

dw

#

flathub will yell at me

#

saying something's been updated upstream

placid wave
#

yop

placid wave
#

@austere talon

#

native theme dark? false

#

console.log("native theme dark?", nativeTheme.shouldUseDarkColors);

austere talon
#

baddd

placid wave
#

can we set the value ourselves

#

so we can just

#

set it true on steameros

austere talon
#

yes

thick kestrel
placid wave
#

is it as simple as changing the value

#

before you create the browserwindow

austere talon
#

no

placid wave
#

guhhhhh

#

how

austere talon
#
nativeTheme.themeSource = "light" | "dark" | "system"
placid wave
#

oh

#

so just set that?

thick kestrel
austere talon
#

electron 28 seems to work no issues

austere talon
placid wave
#

oker

#

doing

austere talon
#

ok no captcha user agent seems good

thick kestrel
austere talon
#

check what e is

austere talon
placid wave
#

yop

austere talon
#

bumps all packages to latest ignoring semver

placid wave
#

genius

#

@austere talonyop works

#

pr incoming

thick kestrel
#

wait is Vencord minified

#

it probably is

austere talon
#

yes

thick kestrel
#

that's why the error has garbage names bruh

austere talon
#

but everything but the userscript comes with sourcemaps

#

actually even the userscript might have sourcemaps

#

try to turn on sourcemaps in devtools

turbid hatch
#

if you show me where it is

woeful sable
#

How do you get a custom badge?

turbid hatch
#

i can roughly reverse it enough in my head to map it back to the original typescript

#

lol

austere talon
#

but just jump to the error location and show the code

turbid hatch
#

like just show me the source of where the error is

austere talon
#

okay yeah the userscript does not have sourcemaps

charred monolithBOT
thick kestrel
austere talon
#

should check if this is an issue with flatpak in general or just steamerosser

placid wave
#

@austere talon

woeful sable
#

how do yall get a custom badge?

placid wave
#

lol

austere talon
#

if flatpakker issue we could make it do flatpak in genera

woeful sable
#

do yk how to get a badge?

placid wave
#

cuz some people use light mode

austere talon
austere talon
#

i would assume the majority of our users uses dark

turbid hatch
#

oh okay

#

i know what that is

austere talon
#

thats stripBom

turbid hatch
#

yeah

austere talon
#

and that means file content is undefined

#

somehow

turbid hatch
#

let me double check

#

const themes = await VencordNative.themes.getThemesList();

#

const { fileName, content } of themes

grave mangoBOT
turbid hatch
#

how do themes work on web?

placid wave
turbid hatch
#

wonder if this is something i've done by accident

austere talon
#

stripBomb()

turbid hatch
#

to h

thick kestrel
turbid hatch
#

@austere talon how do natives work on web?