#๐Ÿ‘พ-core-development

1 messages ยท Page 85 of 1

teal halo
#

anyone's vesktop turns to #FFFF05 instead of being transparent on macos?

#

i just can't get it to work no matter how much i mess with the mainwindow's settings when creating it

#

i probably missed something

stark flint
#

guh yellow jumpscare

#

i remember when i was messing with my PR, i tried to use the hex that macosTranslucency uses on transparencyOption, which just made my whole window yellow

#

but thatโ€™s all i know

teal halo
#

surprisingly enough, setting macosTranslucy's backgroundColor to #00000000 produces a #15202B background

stark flint
#

lol wtf

teal halo
stark flint
#

oh no

teal halo
#

thats just my goofy theme

lime stone
#

I want this theme

#

I will buy this theme

teal halo
#

https://raw.githubusercontent.com/lumap/distwitter-theme/main/distwitter.theme.css

#

set transparency to true and edit --diwtwttr-bg to a transparent and enjoy chaos

stark flint
#

ryan probably knows better since he was the one that implemented translucency for macos

teal halo
#

which one

stark flint
#

lmao

#

@ryancaodev

teal halo
#

@placid hinge hi ^

charred monolithBOT
stark flint
#

actually @teal halo do you have the discord titlebar option enabled

#

idk if thatโ€™s even available on mac actually lol

teal halo
#

it's disabled

#

but it does nothing on mac anyway

stark flint
#

mm ic

#

that option breaks transparency on windows so

teal halo
#

windows skill issue

stark flint
#

true tbh

charred monolithBOT
wheat rune
#

Does anyone have a css fix for ReadAllNotificationsButton because the new Vencord update broke mine?

tawny cipher
#

vns

nimble pendantBOT
wheat rune
#

....

woeful sable
#

what does

#

fake profile themes do

limber skiff
#

vns

nimble pendantBOT
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 133881
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 resetSocketOnError Cannot access 'Yue' before initialization
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
limber skiff
#

Yue

charred monolithBOT
hushed jasper
#

hey, sorry for asking, but where can i find the "src" folder

limber skiff
frail skyBOT
#
Bad Patches

ServerListAPI (had no effect):
ID: 198560
Match: /(Messages\.DISCODO_DISABLED\);return)(.*?homeIcon.*?)(\}function)/

IgnoreActivities (had no effect):
ID: 819360
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
hushed jasper
stark flint
#

build from source

hushed jasper
#

kk

#

thx

charred monolithBOT
hushed jasper
#

when i have added a custom plugin, how do i "activate" it?

stark flint
#

in plugins tab if you did everything right
if not, consider re-reading the banner at the top of the docs page

hushed jasper
#

thaaanks

limber skiff
#

hmhmhm

#

actually this fix only works for canary

#

horror

teal halo
#

who cares, make people use canary anyway

limber skiff
#

I wonder if I can push directly to dev

austere talon
#

you can

limber skiff
#

@austere talon can I force push to dev

austere talon
#

ye

torn knot
#

it's starting to get really confusing, having to merge changes that conflict with mine

tawny cipher
#

just rebase the branch

torn knot
#

well I atleast got it fixed now

crude hearth
#

buttonsInner-1ynJCY wrapper-2vIMkT

tawny cipher
#

clipboard

crude hearth
#

@austere talon can you do this ๐Ÿฅด

#

I dont want to create a pr just for this

#

discord decided to add a new buttons class and it somehow broke report and delete buttons in reviews view

charred monolithBOT
limber skiff
#

I didnt test hope your fix works tonguecat

crude hearth
#

thankkkk

teal halo
#

gg u didnt break shit

#

somehow works without weird things happening

crude hearth
#

yeah it works

#

I just tested

crude hearth
crude hearth
#

but it seems to work

teal halo
#

i am traumatized

torn knot
#

vesktop just gave me an update with the fixed platform-win class, only to not update to it

teal halo
#

good

torn knot
#

because it's clearly not out yet

#

I swear this was saying vesktop

#

how nice (this is dev)

#

still nothing

limber skiff
#

wdym

#

it's there

torn knot
#

not in the sidebar

#

switched to canary

#

still nothing

limber skiff
#

issue with the thing you are rendering

torn knot
#

it's an empty react element

#

wait

#

is it because it needs jsx specifically?

austere talon
#

no

torn knot
#

then what

austere talon
torn knot
#

in the array, yes

austere talon
#

yes

torn knot
#

in the server list, no

limber skiff
#

you prob need to update the sidebar

austere talon
#

scroll up and down

limber skiff
#

@torn knot go to dev options and trigger a react crash

#

that should render everything again

torn knot
#

I did it

#

2 times

limber skiff
#

what about with inspect element

torn knot
limber skiff
#

can you enable read all notif buttons and check if the button is there

torn knot
#

omg

limber skiff
#

lmao

torn knot
limber skiff
#

the api wasnt enabled

#

๐Ÿ˜‚

torn knot
#

welp, time to make a UI

austere talon
#

@limber skiff is it safe to merge to dev

limber skiff
#

uh give me a sec to confirm

charred monolithBOT
austere talon
#

too slow

#

sorry

limber skiff
austere talon
#

i was already crticising same thing lmao

limber skiff
#

oh

#

instead of adding a class this should just not add the element

austere talon
#

wtf are those ckassnames btw

#

you wrote them

limber skiff
#

I'm insane

austere talon
#

-perms-perm-item

#

so bad

limber skiff
#

true

charred monolithBOT
austere talon
#

oh wait i didnt even read the css

#

it just display: nones some elements?

#

yeah thats very bad

limber skiff
#

yes

#

that's what the huge selector is

#

@austere talon yeah dev is safe to merge

austere talon
#

nono

#

i dont mean in main lol

#

i meant merge into it

limber skiff
#

OH

austere talon
#

we can merge more prsss

limber skiff
#

icic

charred monolithBOT
austere talon
charred monolithBOT
#

I don't find this useful/versatile enough to include it as a plugin since this is something you'd use maybe once then never again, this seems like something better suited for the #js-snippets channel

I'll be closing this PR for that reason, feel free to post it in the snippet channel though! Maybe we could add some sort of official snippet section on https://vencord.dev for other stuff like this? Seems like a cool idea

thanks for your efforts anyway!!

austere talon
#

hmm

#

whats the structure of the json response? @teal halo

teal halo
austere talon
#

oh i see

#

thats so weird

#

do they not have a proper json response?

teal halo
#

no

#

or at least i couldn't find one

#

btw how do you access fflate through the console? trying to port zipServerEmojis to a js snippet and i forgor this part

austere talon
#

yeah just hardcode them

crude hearth
austere talon
#

you cant really

#

you can just import it from cdn

crude hearth
#

did they do it this way so it would take less bandwidth

teal halo
teal halo
#

but idfk

austere talon
#
await fetch("https://unpkg.com/fflate@0.8.0").then(r => r.text()).then(eval);
fflate.doStuff();
crude hearth
austere talon
austere talon
#

OH MY GOD

crude hearth
#

WHY ARE YOU CALLING TRANSLATE TRANSGENDER

#

WHATS WRONG WITH YOU

#

I was just gonna check the netwrk request on google translate

crude hearth
#

and realized it sends every click

frozen roost
#

i am going to use a transgenderer

crude hearth
crude hearth
frozen roost
austere talon
#

horror

#

just leave it like this then @teal halo

#

wikipedias fault not urs

crude hearth
#

I will design a api looks like exactly like that

teal halo
#

told u it's bad

charred monolithBOT
austere talon
#

@turbid hatch did you forget about this pr? :p

crude hearth
# teal halo

I wonder if theres a library that does this tbh, while stringifying it will remove keys and convert to a array and while parsing, using a schema it will put keys again

charred monolithBOT
crude hearth
#

I am pretty sure someone made it but cant find

#

@austere talon help

austere talon
#

it exists

#

and is called protobuf

#

:)

crude hearth
#

NO

#

I want human readable text

austere talon
#

not really but protobuf is one example of optimised data transfer

crude hearth
#

its much easier to integrate into apps

#

easier to debug

austere talon
#

it proabbly exists tbh

crude hearth
#

I can make a library for that tbh

crude hearth
teal halo
#

oh come on

crude hearth
#

https://www.npmjs.com/package/json-mask I found this @austere talon

#

graphql but json

austere talon
teal halo
#

ok

spark cove
#

TRUE

spark cove
charred monolithBOT
austere talon
#

uh

#

should i also do the .vencordDesktop -> .vesktop

#

nah im lazy

#

vap will do

spark cove
#

real

austere talon
#

in 2 millenia

spark cove
#

even realer

olive aurora
#

ventop file extension

charred monolithBOT
turbid hatch
#

just didnt know how to improve

#

so i left it until someone else came to contribute

#

;p

austere talon
#

i told u, no?

#

i made a suggestion

#

did that not work

turbid hatch
#

yeah but i wasn't able to ever work out what you meant by using the stores for it cause i couldn't get them to work

#

i don't remember what i tried tho

olive aurora
#

so many to migrate @austere talon

turbid hatch
#

but also i've been really busy irl xd

austere talon
#

oh huh

#

yeah no rush i was just asking

spark cove
#

*.vencordDesktop{.ts,.tsx,}

olive aurora
spark cove
#

WTF\

charred monolithBOT
spark cove
#

oh mine is in dev braNCH

charred monolithBOT
#
[Vencord/Vesktop] New tag created: v0.3.0
austere talon
#

oh wait i just realised firefox never approved 0.4.3

olive aurora
#

mb they found my virus

charred monolithBOT
austere talon
#

uhm

#

they just forgor?

olive aurora
#

publish 0.4.3-hotfix.1

charred monolithBOT
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 819360
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 819360
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
limber skiff
#

๐Ÿ’ช

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
verbal pumice
#

the close button in the vesktop update popup closes vesktop instead of the popup trolley

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
#

The new version of PronounDB supports pronoun sets like "he/any" and "he/she/they".

For multiple pronouns, it will show up like "he/any" or "He/Any", but for single pronouns it will still show up like "he/him" or "He/Him" or "Any pronouns".

Multi-language pronouns are also supported now, but I've chosen to hardcode English for now. This can be reevaluated later.

olive barn
#

install for macos button has no href set on web installer

#

im gonna look at esbuild-wasm, maybe make a userplugins builder

nvm would be too complicated to download the base plugins and node modules
also too lazy to write a fs tree

charred monolithBOT
lime stone
#

would be nice to have an option on pronoundb to hide discord pronouns...

#

i'm fed up of seeing stupid "jokes" lol

olive barn
#

same

tawny cipher
#

extra space is is extra space, people are gonna use it

lime stone
#

I don't wanna see GNU/Linux next to someone's name in chat

#

at first i thought it was a good idea

#

but i think server pronoun roles worked just fine

#

lol

#

uh also

#

still being considered whether it's needed? or just not got round it

austere talon
austere talon
lime stone
#

create a linked role

austere talon
#

have

lime stone
#

yeah..?

#

it means two sections are displayed

austere talon
#

that's by a bot

lime stone
#

it doesn't hide that

austere talon
#

then idgi

#

you said it hides linked roles but it doesn't actually?

#

im confus

lime stone
#

guhh

austere talon
#

how do i get them to show

#

how do u do github linked role

lime stone
#

here is one i made earlier :3

charred monolithBOT
turbid hatch
#

lol @austere talon did you make a desktop environment for the web installer just for shiggy clicker

turbid hatch
#

lmfao

spark cove
#

it had to be done for the shiggy clicker

#

i tried making it not obvious on first open

turbid hatch
#

you should hide the titlebar

#

unless its hovered

#

similar to how you hide the buttons

#

that would make it less obvious

austere talon
#

i think it's cool like the way it is rn

#

i like it a lot

turbid hatch
#

WAIT

#

IM A FUCKING GENIUS

#

I KNOW WHAT WE NEED TO DO

#

WE NEED TO MAKE THIS A PWA

#

YOU CAN HAVE CUSTOM TITLEBARS WITH PWAS

#

:3

#

im gonna do it

austere talon
#

๐Ÿ˜ญ

#

terrible hahaha

#

I mean that'd be okay ig

turbid hatch
#

it'd be convenient too

#

because it means people can install it as an app

austere talon
#

do pwas get some system capabilities

#

I'm guessing no

turbid hatch
#

they can run in the background

austere talon
turbid hatch
#

that's about it

#

wait what

spark cove
#

DEAL WITH FILES

#

pwa installer when

turbid hatch
#

ah but

#

it requires you to grant permissions

#

and also it seems to be more of a file sharing thing

austere talon
#

ill look into it

#

sounds cool kinda

turbid hatch
#

WAIT A MINUTE

#

holy shit

#

it works

#

oh but it doesnt work in firefox

#

lame

#

its specifically a chromium thing

austere talon
#

i feel like that's good enough

turbid hatch
#

true

#

anyway let me PWA the shit out of this

#

its gonna be funny

austere talon
turbid hatch
#

aw dang pwas cant have theme colors based on the system color preference

austere talon
#

but that would require people to find their discord folder

#

which is mid

turbid hatch
#

hmm

spark cove
#

WHAT

turbid hatch
#

i think you can prompt an arbitrary folder

#

we'll see

#

but yeah you can just

#

get full filesystem access

spark cove
#

yea the daemon idea so far is prob best idea

turbid hatch
#

which means we cuold literally just port the entire patching process to js

spark cove
#

but why pwa cant see system theme preference

#

wth

turbid hatch
#

as in

#

for theme_color

#

in manifest

#

its just one value

spark cove
#

oh

turbid hatch
#

so i will just hardcode the titlebar color

#

its fine

spark cove
#

i see yea

tawny cipher
#

webcord

austere talon
#

actually kinda fire, though granting a website access to ur entire system is kinda spoopy

#

and hard to audit

#

and then we gotta pay super extra care to security

#

imagine xss on a site with full file access

pine topaz
turbid hatch
#

i mean

#

tbh

#

we are literally "trust me bro"ing with the daemon

#

so

austere talon
#

how so

turbid hatch
#

download arbitrary executable and run it so web page works

austere talon
#

no

turbid hatch
#

wdym, that's basically how i saw it when i opened the site xd

austere talon
#

download versioned auditable executable from github or even build it from source

charred monolithBOT
turbid hatch
#

unless you're planning to change the download later

#

which it does sound like you want to do

austere talon
#

duh lmao

#

it's just a placeholder rn cause there's no release yet

#

i just plopped my own build onto my server so it's usable

turbid hatch
#

OH MY GOD WHY WILL NOTHING TELL ME HOW MANY DIFFERENT SIZES ARE IN THIS ICON FILE

austere talon
turbid hatch
#

I JUST WANT TO KNOW

#

SDNFJKLASDNFUIOAH9UIDHAUIOSDNASDN

#

unless it literally is just

#

256x256

#

ah well iots fine

spark cove
#

theres a png too

austere talon
turbid hatch
#

yeah but its

#

huge

#

so i need to add both

spark cove
#

icon files can store multiple sizes?

#

thats cool

turbid hatch
#

yeah they can

#

so it scales properly

pine topaz
austere talon
#

that's the entire point of .ico

turbid hatch
#

the windows standard icons require 16x, 32x, 48x, 64x

pine topaz
#

im thinking the latter

austere talon
#

it's a png collection

turbid hatch
#

and then most apps also provide 128x and 256x, sometimes 512x

spark cove
#

never used

turbid hatch
#

okay i have written enough code

#

for this to now work as a pwa

#

however i will now make the titlebar work

austere talon
turbid hatch
#

@umbral hedge lmfao?

austere talon
#

KITSUNE

#

๐Ÿ”ฅ

#

kitsune jumpscare

turbid hatch
#

WHART???!

spark cove
#

ah yes

#

localhost:5000 localhost:5173

turbid hatch
#

thank you pwa

#

very cool?

pine topaz
#

i can see how the skinning functionality is redundant currently

austere talon
#

kitsune virus

austere talon
#

the entire point is that it's a cat following your mouse

turbid hatch
#

uh?

#

you drunk chrome?

#

i guess i have to go generate pwa-compatible icons

umbral hedge
austere talon
#

speaking of Chrome

#

they once again rejected our extension update

umbral hedge
#

i can assure you our PWA doesn't have URL hijacking

#

๐Ÿ’€

turbid hatch
#

i didnt even know

turbid hatch
#

our PWA

#

did that

#

i dont evfen know what that means lol

#

"open link in kitsune"

umbral hedge
#

it shouldn't

turbid hatch
#

so wei-

#

OH

umbral hedge
#

i think thats a bug

turbid hatch
#

i think that mightve been

#

a me thing

umbral hedge
#

lmao

turbid hatch
#

cause i set it up to listen to localhost urls

charred monolithBOT
austere talon
turbid hatch
#

when i was developing

austere talon
#

i wonder if it's different reviewers where some are stricter

turbid hatch
#

and the pwa is a locally installed pwa

austere talon
#

and if you get the strict ones just unlucky

turbid hatch
#

(see localhost:5000 as pwa origin)

#

so it sees the localhost and assumes its the same thing

#

it ignores the port

#

waiut why did i pick mobile

#

this wont work on mobile lmfao

#

wow it really was just that

#

adding all those icons made the pwa work

#

lol

#

how dumb

#

FIRE

austere talon
#

cursed

pine topaz
#

and removing the multiple cat functionality?

turbid hatch
#

โ

#

oh

#

delete carriage returns

#

okay!

#

HOLY SHIT

#

@spark cove @austere talon

#

IM A FUCKING GENIUS

#

ITS EVEN DRAGGABLE

#

you'll have to ignore what happened to the first gif

#

no idea

tawny cipher
#

why wouldn't it be draggable, it's a window

turbid hatch
#

you have to set it up

#

in css

#

to be draggable

tawny cipher
#

wot, google dum

turbid hatch
#

by default the "titlebar" is the small bit on the right

#

here

#

its not

#

its how pwas work lol

#

when you ask for control over the titlebar

#

they give you control over the titlebar

tawny cipher
#

I never used them on desktop tbh

turbid hatch
#

its up to you to do the rest

tawny cipher
#

figured it would work that way on its own since it does on mobile

turbid hatch
#

nah

#

unfortunately not

#

also @umbral hedge yeah i was right

#

its because i installed the kitsune pwa locally

#

so it maps all localhost urls to the pwa

#

its so udmb

umbral hedge
#

lmao

austere talon
#

if it's just gonna be the same as before

turbid hatch
#

ven

#

ven

#

ven

#

ven

#

ven

#

vc

#

screenshare

#

pls

#

im hyped for this

#

@austere talon

austere talon
#

lateeeer

turbid hatch
#

NOWWWWWW

#

:(

austere talon
#

need to clean kitchen first ๐Ÿ’”

#

I'll join u in like half an hour ish

turbid hatch
#

mmmmmmmmmmmmmmmmm

#

oki

#

it only took me

#

not a lot of styling

#

to make it compatible

#

ignroe the

#

cursed calc

#

i didnt know how to make it better

#

lol

charred monolithBOT
charred monolithBOT
pine topaz
austere talon
austere talon
#

WE CANNOT

austere talon
#

install pwa

charred monolithBOT
austere talon
#

@spark cove shiggy clicker needs to be optimised ๐Ÿ’”

#

it lag when u press 2 million times

spark cove
#

How will shiggies ever be clicked ๐Ÿ’”

#

NGL I'm surprised it's actually performant

charred monolithBOT
olive aurora
#

malware

#

VIRUS ICONS

spark cove
#

Virus

charred monolithBOT
spark cove
#

84 files changed

charred monolithBOT
#

Deploying with ย <a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> ย Cloudflare Pages

<table><tr><td><strong>Latest commit:</strong> </td><td>
<code>fe63bbe</code>
</td></tr>
<tr><td><strong>Status:</strong></td><td>โšก๏ธย  Build in progress...</td></tr>
</table>

[View logs](https://dash.cloudflare.com/?to=/:account/pages/view/vencord-web-installer/aae04...

spark cove
#

@turbid hatch why did u replace the css vars with hard coded colors

turbid hatch
#

so that the titlebar is consistent

#

because we cant use prefers-color-scheme as a theme color @spark cove

#

otherwise on light theme youd get a really stupid titlebar

spark cove
#

Ah that probably makes sense

#

What do they look like now

turbid hatch
#

just like the dark theme ones

#

which is actually quite a nice contrast lol

spark cove
#

Ohhh ok

austere talon
#

yeah this bar isnt that nice imo

spark cove
#

That's nice I see

austere talon
#

yeah looks terror

spark cove
#

Shiggy amount the real terror

austere talon
spark cove
#

I have a headache and I have to pee

tawny cipher
#

maybe doing the latter will relieve the former

spark cove
#

It kinda did

#

How did u know

charred monolithBOT
pine topaz
#

where should i put the custom element code in vencord, do i just put it in webpack

tawny cipher
# spark cove How did u know

both of those usually mean you're a bit dehydrated, so if you drink something now it should probably aleviate the remaining ache

pine topaz
#

it just didnt make sense to put it in if its for a plugin

austere talon
#

In your plugin

charred monolithBOT
austere talon
#

well i guess it does make sense

tame escarp
#

THERE ARE TOO MANY OF THEM

pine topaz
tame escarp
#

thats

#

also partially why i was confused

#

i thougt that was riffing on a joke that multiple people nicked to vee

olive aurora
#

lmao

#

rael watervee

pine topaz
spark cove
#

I probably wouldn't have noticed if u didn't say that

#

Drank water tho and head is chilling now

tawny cipher
#

very gud

pine topaz
#

can i put git submodules in the plugin?

austere talon
#

no

pine topaz
#

ok

#

i cant see any other way other than having the module be local so im fucked ig

olive barn
#

whatre u trying to do

pine topaz
#

load a custom element from a module

olive barn
#

what module

pine topaz
olive barn
#

looks like u mightve had to modify it anyway

#

idk if import.meta.url will work

pine topaz
#

it wont, but im pretty sure i can bypass it by defining the custom element myself

olive barn
#

i would just copy it tbh

pine topaz
#

didnt know i would be able to do that

olive barn
#

just copy the file contents?

pine topaz
#

no i meant i didnt know it would be allowed

olive barn
#

oh

pine topaz
#

thanks

olive barn
#

ofc

charred monolithBOT
frail skyBOT
#
Bad Patches

IgnoreActivities (had no effect):
ID: 819360
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
#
Bad Patches

IgnoreActivities (had no effect):
ID: 209731
Match: /!([A-Za-z_$][\w$]*)(\)return null;var [A-Za-z_$][\w$]*=([A-Za-z_$][\w$]*)\.overlay.+?children:)(\[.{0,70}overlayStatusText.+?\])(?=}\)}\(\))/

Bad Starts

None

Discord Errors
font-weight: bold;
color: purple;
 [kb store] KeybindStore: Looking for callback action SOUNDBOARD_HOLD but it doesn't exist in this version. Skipping
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Unable to process domain list delta: Client revision number is null
%c[FetchBlockedDomain] 
font-weight: bold;
color: purple;
 Downloading the full bad domains file ```
charred monolithBOT
charred monolithBOT
visual hinge
#

wrong channel

charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
charred monolithBOT
twin ferry
#

hello is there any doc to code vencord plugins ?

#

couldn't find any on the website

verbal pumice
#

3k stars already

#

no that's just dumb rounding got it

charred monolithBOT
charred monolithBOT
royal bane
#

@nimble pendant help!11! how installer

fleet depot
#

@nimble pendant stop ghosting me ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

lime stone
#

lol

charred monolithBOT
charred monolithBOT
austere talon
verbal pumice
#

guhhub

charred monolithBOT
turbid hatch
#

@austere talon since i got pwapilled i'm going to experiment with a native version of the app

#

not using tauri or electron

#

i'm going to try out some of the go alternatives

#

and one called wails, which seems to use the native webview on the system, but i dont know if thats true, hence why im experimenting

final fossil
#

woah thats so cool

austere talon
#

webview would be kinda mid

#

cause windows 10 and Linux users have to install a dependency first

turbid hatch
#

hence why im fiddling with it, because i have zero idea

#

if it does

austere talon
#

So the former probably better

turbid hatch
#

but muon is about 1/2 the size of electron

#

so its already significantly better

#

well that was easy

#

considering its 9mb, i'm going to assume that it is using webview2

#

yeah it is

#

its a shame webview isnt more widely spread because if it was then this would be perfectly acceptable

#

anyway lets nuke this and fiddle with muon

turbid hatch
#

if this works btw

#

we could just embed install.vencord.dev

austere talon
#

yeah webview being preinstalled would be huge

turbid hatch
#

as the page

austere talon
#

yeahh

turbid hatch
#

basically just do a discord

#

have a preloader in the installer

#

and then it navigates to the actual installer

#

so i'll set up a shell that we can embed the installer page into based on the existing windowing system

#

means no easter egg though so that will only be on the install page (which can function as a download page)

austere talon
#

whar?

#

idgi

#

just load the site

#

should work fine

turbid hatch
#

as in

#

the website has the funny desktop environment

austere talon
#

just keep it

turbid hatch
#

but if the app fails to load the website for whatever reason

#

then i need to show something

#

hence why i'd be making a shell thing like discord does

#

so that if it cant load it has something to fall back to

austere talon
#

I do not understand

turbid hatch
#

application loads very basic html

#

which redirects to site via js

#

if redirect fail, show something else

austere talon
#

discord doesn't do that tho

turbid hatch
#

idk

austere talon
#

and why would the redirect fail?

turbid hatch
#

no internet

#

lol

#

or the site fails to load because of an error

austere talon
#

I mean that's a skill issue

turbid hatch
#

i'll work it out dw

austere talon
#

if u have no Internet discord just gets stuck on the splash

turbid hatch
#

ive gotta learn how to use this new thing

#

fileb0x

#

okay we can't use muon either

#

lol

#

i cant get it to compile, let alone work out if ultralight needs to be bundled with it

austere talon
#

what's the issue

turbid hatch
#
panic: EOF

goroutine 1 [running]:
main.main()
        C:/Users/Lewis/go/pkg/mod/github.com/!unno!ted/fileb0x@v1.1.4/main.go:101 +0x1d58
#

their build tool doesnt

#

actually work

#

lol

#

i have checked three times what is wrong with the config file, and it matches identically to their examples

#

so it's just a bug in fileb0x

#
// loop through b0x's [custom] objects
for _, c := range cfg.Custom {
    err = c.Parse(&files, &dirs, sharedConfig)
    if err != nil {
        panic(err)
    }
}
#

it's just parsing through the config objects

#

but even if i use fileb0x's default config example from their github repo, it errors with the exact same issue

#

so i dont actually know whats wrong lol

#

welp that's a shame

#

lets see what other alternatives there are

#

lorca looked interesting

#

Unlike Electron it doesn't bundle Chrome into the app package, but rather reuses the one that is already installed.

#

but if you use firefox

austere talon
#

doesn't necessarily have to be go anyway

turbid hatch
#

you're fucked

austere talon
#

could use C(++) too

turbid hatch
#

very similar yeah

#

although it seems to just be another way of saying "it uses webviews"

#

fuck i dont want to use tauri

#

:(

karmic lance
#

As someone who's used Tauri, it sucks on Linux

#

Webkit2GTK is just too slow compared to Chromium

turbid hatch
#

admittedly we dont need it for the UI, the UI is relatively minimal

#

so its not that big of a deal if its 'slow' in comparison

#

it just needs to be able to allow us to interact with the system at a native level, something the PWA and in-browser installer cannot without an external executable

#

which is mainly why im looking into all of these

#

sciter is a runner up but that requires c++ knowledge and.. sure i could do it, but i dont know how well it'd work considering its a custom engine implementation

#

oh lol no it does not have enough support

#

the custom javascript engine doesnt have nearly enough features

#

hm

#

@austere talon

#

i'm looking at how widespread webview2 is

#

apparently it's been distributed with windows 10 since 1803 as part of an added feature update for all windows machines

#

which is since 2018

#

so honestly that is good enough for me

#

and even if it's not installed, we can just add a simple bootstrapper that runs the webview2 installer

#

(though considering the update that wv2 was added this shouldnt be necessary unless you're running a several years out of date OS)

turbid hatch
#

so i'll take that sacrifice

#

in which case, wails will work perfectly fine

#

and we can port the existing code

austere talon
#

people use ancient windows

#

or even Windows 7

#

this new installer is trying to solve compatibility issues, not introduce new ones

#

and on linux i think most people don't have webview installed

tawny cipher
#

haven't checked in here for a bit, is the PoC now to do everything via PWA or is the deamon still involved

turbid hatch
#

windows 7 isnt even supported by vencord officially and i dont understand why we should support an EoLed operating system

turbid hatch
#

APIs arent powerful enough

tawny cipher
#

:/

#

would've been epic

turbid hatch
#

it really wouldve :(

#

its still cool though

#

but i'm toying around with electron alternatives atm

tawny cipher
#

tru didn't know PWAs had that much access

turbid hatch
#

unfortunately a lot of them are webviews so there's not really much choice

#

there was one based on ultralight that i found but the setup procedure doesnt work and i cant find a fix for it

#
  • it requires proprietary SDK
#

so it's annoying to develop for

#

webviews are very widespread (except on ages old operating systems and stripped down windows derivatives, which we dont even give support for anyway so i dont know why its a concern..) so its a good alternative but there are some edge cases

charred monolithBOT
turbid hatch
#

idk how widespread webkitgtk + equivalents are

#

but the PWA doesnt even work on linux very well anyway so

#

linux is a bit of a pain point tbh, providing support for it officially is a huge pain in the ass due to the variety of configurations people have, to the point where we have to make separate installer versions based on the display manager you use

olive aurora
#

that last thing is just go skill issue

turbid hatch
#

it's more of a GL library skill issue

#

so actually you can blame C for that

#

but hey ho

olive aurora
#

no it's the go library

turbid hatch
#

the go lib is based on the C one and the C one seems to have incompatibility when you build with both X and Wayland enabled

olive aurora
#

glfw can support both in one binary

turbid hatch
#

poi_shrug well idk then

olive aurora
#

im sayin

#

go issue

turbid hatch
#

but either way

#

this is literally completely unsustainable in the long term no matter what we do xd

olive aurora
#

just do the daemon thing guh

turbid hatch
#

we just need to pick something and go with it, and give support to those when they encounter some issues

#

the entire point is we dont want the daemon

#

having an app you can download and run with a UI is heavily preferable

olive aurora
#

electron

turbid hatch
#

is too big and unreasonable for an installer

#

and please do not cite betterdiscord's installer, that's a piece of garbage

olive aurora
#

electron or daemon are the only reasonable alternatives right now

turbid hatch
#

tauri is next best but depends on webviews so it might not be universally compatible on linux, but it will be fine on windows+mac as long as you have an operating system within the last 5 years or so lol

#

wails is a go version of tauri, essentially, and seems very promising considering it can build 9mb binaries

#

which honestly for an installer package is tiny

austere talon
#

kill

turbid hatch
#

yeah thats why i stopped trying to use it

#

as well

#

besides the buildtools

austere talon
#

worst case we could just make linux cli only

turbid hatch
#

i mean if you're using linux you have command line proficency 9 times out of 10

#

so it's not the worst issue

#

but windows and mac have webviews that should work fine

austere talon
olive aurora
austere talon
#

Linux users are a pretty small minority

turbid hatch
#

and who cares about people running an OS that's >5 years old

#

or an unofficial distro of said OS

austere talon
#

also 350k downloads holy cow

austere talon
turbid hatch
#

i genuinely refuse to

#

i just say "get an updated OS"

#

i do not want to support operating systems that are EoL and i think it's extremely silly people are still using them

#

windows 10 1803 was EoLed 2 years ago, and that was the version that microsoft decided was the cutoff for the WV2 feature rollout

#

so every windows user we will be receiving beyond that point has WV2

#

mac has had webkit since forever

#

and a lot of linux users have webkitgtk

#

in the end the problematic operating system configs are a very small %

olive aurora
#

i dont n ill bully u

turbid hatch
#

if u dont have webkitgtk/another webview you can use the cli installer

#

:3

olive aurora
#

i wont even use the installer

#

ill bully u regardless

turbid hatch
#

smh

#

well i'm going to continue my wails research

#

i'll let you know how it goes

#

be glad i didnt write the installer in c++

olive aurora
#

better than go

austere talon
#

nop

charred monolithBOT
gusty tulip
charred monolithBOT
turbid hatch
#

@austere talon hey look what i did

#

this is using wails

#

the buttons work

#

too

#

if we wanted to btw (and i think we should) we could just fix the size of the installer

#

so we dont have to worry about maximise state and whtanot

charred monolithBOT
austere talon
turbid hatch
austere talon
turbid hatch
#

at a reasonable size

#

it is a webview yes

#

it's like 10mb

#

all inclusive

#

16mb

#

but thats cause im running it in dev

#

so its not compressed

river cobalt
#

dk if this is the right channel, but, looking to make a plugin for vencord, is there any guides I can follow or look at to start?

turbid hatch
#

couple on github

#

i'll link shortly, give me a minute

river cobalt
olive aurora
#

the only real guide is reading other plugins

tawny cipher
river cobalt
#

looking to make something called BetterErrorHandling that helps handle API errors when preforming actions - for whatever reason discords like "lol didn't work" and doesn't tell you so

turbid hatch
#

svelte shell + go app

#
  • fonts
#
  • other resources
river cobalt
#

mmmm svelte

turbid hatch
#
  • the actual wails runtime
#

as well

#

we could also use upx to compress it further, but upx has a habit of making antiviruses upset

#

so i'd rather not

charred monolithBOT
turbid hatch
#

oh it actually offers to install webview2 for you if you dont have it

#

neat

#

ehe

river cobalt
charred monolithBOT
turbid hatch
charred monolithBOT
turbid hatch
river cobalt
#

How would one go about listing or patching API call results? More specifically, just the URL and the returned status code and if the code is not 2xx, the body.