#๐พ-core-development
1 messages ยท Page 85 of 1
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
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
surprisingly enough, setting macosTranslucy's backgroundColor to #00000000 produces a #15202B background
lol wtf
LOL
oh no
thats just my goofy theme
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
ryan probably knows better since he was the one that implemented translucency for macos
@placid hinge hi ^
actually @teal halo do you have the discord titlebar option enabled
idk if thatโs even available on mac actually lol
windows skill issue
true tbh
Does anyone have a css fix for ReadAllNotificationsButton because the new Vencord update broke mine?
vns
....
vns
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.+?\])(?=}\)}\(\))/
None
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 ```
Yue
hey, sorry for asking, but where can i find the "src" folder
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.+?\])(?=}\)}\(\))/
None
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 ```
and in my pc? :D
build from source
when i have added a custom plugin, how do i "activate" it?
in plugins tab if you did everything right
if not, consider re-reading the banner at the top of the docs page
thaaanks
who cares, make people use canary anyway
I wonder if I can push directly to dev
you can
@austere talon can I force push to dev
ye
it's starting to get really confusing, having to merge changes that conflict with mine
just rebase the branch
well I atleast got it fixed now
buttonsInner-1ynJCY wrapper-2vIMkT
clipboard
@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
I didnt test hope your fix works 
thankkkk
why would it cause weird things
I didnt test either 
but it seems to work
vesktop just gave me an update with the fixed platform-win class, only to not update to it
good
because it's clearly not out yet
I swear this was saying vesktop
how nice (this is dev)
still nothing
issue with the thing you are rendering
no
then what
its right there
in the array, yes
yes
in the server list, no
you prob need to update the sidebar
scroll up and down
@torn knot go to dev options and trigger a react crash
that should render everything again
what about with inspect element
can you enable read all notif buttons and check if the button is there
lmao
@limber skiff is it safe to merge to dev
uh give me a sec to confirm
too slow
sorry
could you look at this https://github.com/Vendicated/Vencord/pull/1639/files
this selector is veeery complex, it would likely benefit readability to split it into multiple selectors or split it across multiple lines
I'm insane
true
Instead of messing with new classes, attributes and css the code should simply skip rendering the irrelevant permissions
oh wait i didnt even read the css
it just display: nones some elements?
yeah thats very bad
OH
icic
Hi! As i have previously mentioned on Discord, I don't want to update all headers as it ruins history and is pretty meaningless
And even if we were to ever update them, such a massive commit should come from a core maintainer, not a first time contributor
Thanks for your effort though!
please avoid profanity in source code & github discussions
oop
please remove this pointless variable
it would benefit readability to move this 0 into a constant, something like
const DRAFT_TYPE_CHANNEL_MESSAGE = 0;
how about making this an enum and exporting it from stores.ts? (kinda similar as above)
instead of | undefined you should use [userId: string]?: {
export class DraftStore extends Store {
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
using a bigger size seems better to ensure full quality
const emoji = await fetch(`https://cdn.discordapp.com/emojis/${filename}?size=512&quality=lossless`).then(res => res.blob());
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!!
description: "Lets you preview your message before sending it",
looks good other than the suggestions
this PR has a lot of unnecessary whitespace changes. please restructure the code to avoid these changes by using an early return instead of an if else:
if (setting) {
doStuff();
return;
}
old code goes here
new Logger("WikiSearch").error("Failed to lookup", word, err);
import { Settings } from "@api/settings";
this seems kind of unsafe. Are you sure it will always be exactly like this? What if there are no results? A .find() would likely be more appropriate
too lazy to read new changes they are proabbly fire :fire:
ffdf635 feat(plugins): Web/Vesktop AI Noise Suppression... - Vap0r1ze
Their API hasn't changed in the slightest in the past few years but I guess I could implement a .find just to be sure. Will do in a bit
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
yeah just hardcode them
oh i see
did they do it this way so it would take less bandwidth
ight
considering they're getting probably billions of requests a day I wouldn't be surprised if that was the case
but idfk
await fetch("https://unpkg.com/fflate@0.8.0").then(r => r.text()).then(eval);
fflate.doStuff();
at that point they could use protobuf

google transgender has similar response but you can make it send saner response
wth is google transgender
OH MY GOD
WHY ARE YOU CALLING TRANSLATE TRANSGENDER
WHATS WRONG WITH YOU
I was just gonna check the netwrk request on google translate
look at this lmao
and realized it sends every click
i am going to use a transgenderer
love
also terrible group dm
agreed
I will design a api looks like exactly like that
told u it's bad
this matcher seems overly complex. You just need to replace location.host, right? Something like this should work fine
match: /\.concat\(location\.host\)/,
replace: ".concat(location.host.replace(/^(canary|ptb)\\./, ''))"
this PR has a lot of unnecessary whitespace changes. please restructure the code to avoid these changes by using an early return instead of an if else:
if (setting) { doStuff(); return; } old code goes here
Committed a fix, tell me what you think about it
@turbid hatch did you forget about this pr? :p
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
closing as this pr has been stale with unresolved feedback for months now. Feel free to reopen if you're still interested in getting this merged! Thank you
so free bandwidth
I am pretty sure someone made it but cant find
@austere talon help
not really but protobuf is one example of optimised data transfer
it is but I want to have a optamized json
its much easier to integrate into apps
easier to debug
it proabbly exists tbh
I can make a library for that tbh
yeah but cant find
oh come on
https://www.npmjs.com/package/json-mask I found this @austere talon
graphql but json

do not the npm
ok
TRUE
TRUE
no one;
GitHub: let's make a review that is marked as resolved not count towards the reviews needed for merging
ede507e chore: update for 'Vencord Desktop' -> 'Vesktop... - Vendicated
real
in 2 millenia
even realer
ventop file extension
didnt forget
just didnt know how to improve
so i left it until someone else came to contribute
;p
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
so many to migrate @austere talon
but also i've been really busy irl xd
alsoo the folders
*.vencordDesktop{.ts,.tsx,}
nope
WTF\
oh mine is in dev braNCH
oh wait i just realised firefox never approved 0.4.3
mb they found my virus
publish 0.4.3-hotfix.1
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.+?\])(?=}\)}\(\))/
None
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 ```
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.+?\])(?=}\)}\(\))/
None
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 ```
๐ช
This plugin is a fun little plugin that generates random prnt.sc links for you to look at. It's a gamble between interesting, not interesting, or nothing. This might not be enough to warrant a whole new plugin and migration to another plugin like MoreCommands is perfectly fine.
besides not being that useful, this plugin also has much deeper issues in that it might post illegal or just nsfw content
thank you anyway!
the close button in the vesktop update popup closes vesktop instead of the popup 
i tried that but since its a .d.ts file it cant export enums. i get a webpack/types not resolved
here is the commit that tries to import DraftType enum from the store.d.ts
f2d3625
here is the error
https://github.com/Vendicated/Vencord/actions/runs/5844460147/job/15847602652#step:6:34
yeah i tried that but theres an error ๐ and i have no idea how to solve it. no clear error message

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.
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
would be nice to have an option on pronoundb to hide discord pronouns...
i'm fed up of seeing stupid "jokes" lol
same
extra space is is extra space, people are gonna use it
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
any reason https://github.com/Vendicated/Vencord/pull/1187 hasn't been merged
still being considered whether it's needed? or just not got round it
in case it wasn't clear (I can't remember; it's been a while)
this is not pretty :c
and exporting it from stores.ts
not d.ts :P
try using a type instead of an interface
yes cause there is no build yet
i still have no idea how to even get these connections
create a linked role
it doesn't hide that
It hides "Connections"
guhh
lol @austere talon did you make a desktop environment for the web installer just for shiggy clicker
yea i did a silly
lmfao
you should hide the titlebar
unless its hovered
similar to how you hide the buttons
that would make it less obvious
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
they can run in the background
oh
ah but
it requires you to grant permissions
and also it seems to be more of a file sharing thing
WAIT A MINUTE
holy shit
it works
The File System Access API enables developers to build powerful web apps that interact with files on the user's local device, such as IDEs, photo and video editors, text editors, and more. After a user grants a web app access, this API allows them to read or save changes directly to files and folders on the user's device.
oh but it doesnt work in firefox
lame
its specifically a chromium thing
i feel like that's good enough
wow this is awesome
aw dang pwas cant have theme colors based on the system color preference
hmm
WHAT
i think you can prompt an arbitrary folder
we'll see
but yeah you can just
get full filesystem access
yea the daemon idea so far is prob best idea
which means we cuold literally just port the entire patching process to js
oh
i see yea
webcord
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
https://github.com/Vendicated/Vencord/pull/1630
Sorry if i'm annoying, I'll stop if someone wants me to, but could someone please tell me if there is anything stopping someone from accepting the PR?
how so
download arbitrary executable and run it so web page works
no
wdym, that's basically how i saw it when i opened the site xd
download versioned auditable executable from github or even build it from source
unless you're planning to change the download later
which it does sound like you want to do
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
OH MY GOD WHY WILL NOTHING TELL ME HOW MANY DIFFERENT SIZES ARE IN THIS ICON FILE

I JUST WANT TO KNOW
SDNFJKLASDNFUIOAH9UIDHAUIOSDNASDN
unless it literally is just
256x256
ah well iots fine
theres a png too
in the future it will download from github releases
should i ping someone or just wait and not be so impatient
that's the entire point of .ico
the windows standard icons require 16x, 32x, 48x, 64x
im thinking the latter
it's a png collection
and then most apps also provide 128x and 256x, sometimes 512x
never used
okay i have written enough code
for this to now work as a pwa
however i will now make the titlebar work
there are many obvious flaws with this pr
there's a build warning
you use var instead of let
you introduce multiple elements with the same id which violates html spec
you eval the same script many times instead of doing it the proper way
the pr is kinda against the spirit of (o)neko
WHART???!
how is it against the spirit?
i can see how the skinning functionality is redundant currently
kitsune virus
neko has never been more than one cat, it doesn't make sense to have more than one cat
the entire point is that it's a cat following your mouse
???????
i didnt even know
it shouldn't
i think thats a bug
lmao
cause i set it up to listen to localhost urls
they already rejected us for the same reason many versions ago but then just approved the next version again
when i was developing
i wonder if it's different reviewers where some are stricter
and the pwa is a locally installed pwa
and if you get the strict ones just unlucky
(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
cursed
then would you be ok with me making it use the oneko element defined in oneko.js, so it not only doesn't use eval, but also should be in spec?
and removing the multiple cat functionality?
โ
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
why wouldn't it be draggable, it's a window
wot, google dum
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
I never used them on desktop tbh
its up to you to do the rest
figured it would work that way on its own since it does on mobile
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
lmao
then what's the point of changing it in the first place?
if it's just gonna be the same as before
ven
ven
ven
ven
ven
vc
screenshare
pls
im hyped for this
@austere talon
lateeeer
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
i will instead add a feature that seems to have been with neko since the start, speed
LOOKS SO BAD
WE CANNOT
@ancient timber
install pwa
@spark cove shiggy clicker needs to be optimised ๐
it lag when u press 2 million times
1c72ed0 fix: forgot about the text color - lewisakura
provides PWA config which allows access to more stuff :3
Virus
84 files changed
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...
@turbid hatch why did u replace the css vars with hard coded colors
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
Ohhh ok
yeah this bar isnt that nice imo
That's nice I see
yeah looks terror
Shiggy amount the real terror
this is so hot
I have a headache and I have to pee
maybe doing the latter will relieve the former
where should i put the custom element code in vencord, do i just put it in webpack
both of those usually mean you're a bit dehydrated, so if you drink something now it should probably aleviate the remaining ache
it just didnt make sense to put it in if its for a plugin
In your plugin
i tried making it a type too
apparently you cant do [userId: string]?: { in ts
https://stackoverflow.com/questions/57337815/why-cant-this-index-signature-be-optional
[key in DraftType]?: works probably because its a mapped type and not an index signature ยฏ_(ใ)_/ยฏ
VEE STOP IT YOU MADE IT LOOK LIKE THERE WERE MULTIPLE VEES
THERE ARE TOO MANY OF THEM
check #๐จ-theme-development
am i expected to just... create a script element?
i saw
thats
also partially why i was confused
i thougt that was riffing on a joke that multiple people nicked to vee
ok thats what i thought
Yea I know but I didn't think peeing would make the ache less
I probably wouldn't have noticed if u didn't say that
Drank water tho and head is chilling now
very gud
can i put git submodules in the plugin?
no
whatre u trying to do
load a custom element from a module
what module
it wont, but im pretty sure i can bypass it by defining the custom element myself
i would just copy it tbh
didnt know i would be able to do that
just copy the file contents?
no i meant i didnt know it would be allowed
oh
thanks
ofc
Is this safe to do? I don't want to mess up other code that depends on the actual location.host value.
the find limits it to only the module you want to match, which in this case is literally just the element and nothing else
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.+?\])(?=}\)}\(\))/
None
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 ```
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.+?\])(?=}\)}\(\))/
None
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 ```
wrong channel
I have this same issue. Launching from terminal confirms arrpc is running, and detects processes.
3k stars already
no that's just dumb rounding got it
cheers ty
@nimble pendant help!11! how installer
@nimble pendant stop ghosting me ๐ญ๐ญ๐ญ
lol
how actually install this plugin?
It's not an official one yet, but you can install and build it yourself from the fork source.
why tf does it round like that ๐ญ
guhhub
@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
there's two i'm going to play with, one called muon, which uses https://ultralig.ht/ as the backend
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
woah thats so cool
webview would be kinda mid
cause windows 10 and Linux users have to install a dependency first
So the former probably better
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
pensive
yeah webview being preinstalled would be huge
as the page
yeahh
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)
just keep it
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
application loads very basic html
which redirects to site via js
if redirect fail, show something else
discord doesn't do that tho
idk
and why would the redirect fail?
i'll work it out dw
if u have no Internet discord just gets stuck on the splash
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
what's the issue
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
doesn't necessarily have to be go anyway
you're fucked
could use C(++) too
so it's just gluon
very similar yeah
although it seems to just be another way of saying "it uses webviews"
fuck i dont want to use tauri
:(
As someone who's used Tauri, it sucks on Linux
Webkit2GTK is just too slow compared to Chromium
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)
the only case this didnt apply was to organisation-managed machines but i dont think anyone is going to be installing vencord at their company
so i'll take that sacrifice
in which case, wails will work perfectly fine
and we can port the existing code
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
haven't checked in here for a bit, is the PoC now to do everything via PWA or is the deamon still involved
windows 7 isnt even supported by vencord officially and i dont understand why we should support an EoLed operating system
PWA still requires daemon sadly
APIs arent powerful enough
it really wouldve :(
its still cool though
but i'm toying around with electron alternatives atm
tru didn't know PWAs had that much access
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
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
that last thing is just go skill issue
it's more of a GL library skill issue
so actually you can blame C for that
but hey ho
no it's the go library
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
glfw can support both in one binary
well idk then
but either way
this is literally completely unsustainable in the long term no matter what we do xd
just do the daemon thing guh
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
is too big and unreasonable for an installer
and please do not cite betterdiscord's installer, that's a piece of garbage
electron or daemon are the only reasonable alternatives right now
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
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
clearly you haven't seen #๐ฅ-vencord-support-๐ฅ
Linux users are a pretty small minority
and who cares about people running an OS that's >5 years old
or an unofficial distro of said OS
also 350k downloads holy cow
us who have to provide support to those people

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 %
i dont n ill bully u
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++
better than go
nop
write it in vbs
just wanted to butt in, something similar happens for me, it works, but is janky
Screencast from 2023-08-17 13-14-40.webm
running fedora 38 on wayland with amd gpu.
@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
Hello World!
guy with small screen walks in
yeah i mean like
and is that webview or what
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
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?
thanks kind sir
the only real guide is reading other plugins
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
svelte shell + go app
- fonts
- other resources
mmmm svelte
- 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
shiggies clicker
on other platforms it wont use the custom window frame
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.




