#๐ฅ-vesktop-development
1 messages ยท Page 31 of 1
but the wrong id is sent i think????
for toggle mute it sends push to mute for me
which doesn't do anything unless i unmute then it at least does something
worked for me that's weird
i dont have a .desktop that matches that
i have a vesktop.desktop
if i cahnged the passed id to vesktop it errors with No GlobalShortcuts state was found! skipping preregistery.
toggle i think
huhh i think ashpd specifically required an id that looked liked this with dots and stuff
and i think i have that one from flatpak so i just used it and it worked
funny
oh that error isn't related to registry i think??
you sure you have the kde portal on??
yeah ๐ญ
thats how the fallback thing happens
OH NVM THAT'S AN UNWRAP I'M USING MY BAD
so uhh just make a .desktop file that has dots in its name and use that as the id for now
i think i have to make a bug report about that
it's not doing any string checking
app_id.rs: Line 140
fn is_valid_app_id(string: &str) -> bool {
thread '<unnamed>' panicked at src/linux.rs:70:70:
called Result::unwrap() on an Err value: InvalidAppID
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: venbind::platform::xdg_start_keybinds::{{closure}}
4: futures_executor::local_pool::block_on
5: venbind::platform::start_keybinds_internal
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
womp
huhh
yeah thats the codepath
oh yeah i was right that's where it's crashing
idkkk making an issue rn
https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.host.portal.Registry.html this one doesn't seem to have any requirements
yeah its just a string
seems a single segment appid was just erroneously blocked
app_id follows the https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html
Desktop entry files should have the .desktop extension, except for files of Type Directory which should have the .directory extension. Determining file type on basis of extension makes determining the file type very easy and quick. When no file extension is present, the desktop system should fall baโฆ
no where does it say it HAS to be foo.bar
it can be foo
should follow the "reverse DNS" convention: it should start with a reversed DNS domain name controlled by the author of the application
should
Interface names
Interfaces have names with type STRING, meaning that they must be valid UTF-8. However, there are also some additional restrictions that apply to interface names specifically:
Interface names are composed of 2 or more elements separated by a period ('.') character. All elements must contain at least one character.
HORROR
THE SPEC DOES EVENTUALLY FILTER DOWN TO THAT
guhhh
@vernal lintel ok time to change vvesktops non-flatpaked id to dev.vencord.Vesktop
vesktop isn't spec compliant!!!
vesktop.desktop / appid of vestkop isnt spec compliant
why
For applications, the part of the name of the desktop file before the .desktop extension should be a valid D-Bus well-known name.
well-known bus names should start with the reversed DNS domain name of the author of the interface (in lower-case), and it is conventional for the rest of the well-known bus name to consist of words run together, with initial capital letters
so what part is not spec compliant
vesktop.desktop
wtf are u talking about
Interface names are composed of 2 or more elements separated by a period ('.') character. All elements must contain at
its not
on flatpak it is
it is vesktop on non sandboxed
how do you set app id outside of flatpak
registry
vee is asking for Electron i think
index.ts: Line 91
if (process.platform === "win32") app.setAppUserModelId("dev.vencord.vesktop");
oh then maybe that's a venbind specific thing
still weird why it doesn't work for you tho
venbind has its own session but it NEEDS to match the vesktop appid
nvm that's win32 only what
which is vesktop unsanboxed
name one single linux app that uses reverse domain as app name
skill issue go complain to electron / electron-builder https://github.com/Vencord/Vesktop/blob/main/package.json#L65-L66
package.json: Lines 65-66
"build": {
"appId": "dev.vencord.vesktop",
yeah i was looking at that
also renaming the .desktop file would be enough what are you doing
the classid of the app needs to match
OR
include a
StartUpWMClasss= in the .desktop
that fucks things up if it doesn't match the app name
its working for me
dev.vencord.Vesktop.desktop
[Desktop Entry]
Name=Vesktop
Exec=/usr/bin/vesktop %U
Terminal=false
Type=Application
Icon=vesktop
StartupWMClass=vesktop
GenericName=Internet Messenger
Categories=Network;
Keywords=discord;vencord;electron;chat;
Comment=Vesktop is a custom Discord App aiming to give you better performance and improve linux support. Vencord comes pre-installed
MimeType=x-scheme-handler/discord;
i dont get the electron builder isnt doing that though
the deb
I JUST NOTICED IT WAS YOU I FELT SO DUMB
๐ญ
also i dont think its the same issue since other apps have their events and just work fine as long as uthe shortcuts call isnt changed
FOR A SECOND I NOTICED WOW THIS GUY'S THEME LOOKS REALLY SIMILAR TO CRUMB GUHHH
LOOOL
you are really hand @humble mortar
this is why gnome >> kde
wdym
๐ญ
ai generated jackal girl
why didn't they just comm it lmao
it's such a simple artwork u could find a filipino artist who'll draw that for 10 bucks
(the jackal is what the Egyptian god anubis is ๐ค )
gnome using vibecoded anti ai filter
lovelty
link?
hop on using context clues to google
nop
well im killing you
fuck you1!!!!!!
anbuis
shes so stupid
woke vibecoded enbyware
this is the future liberals want
this thing is ai generated?
ya
i'll be posting on twitter and contacting the gnome admins about this!!!!
me too !!!!
@vernal lintel give me anti ai action role
they vibecoded everything
did they actually
what shit
LOOOOL
that's the "reclaim PolyMC from the leftists" guy
๐ญ ๐ญ ๐ญ ๐ญ ๐ญ
their soul was deemed unworthy
okay so you tell me this guy vibecoded this software a month ago with ai generated images
it somehow blew up and gnome, gentoo, etc use it now
why
was there really nothing better ๐ญ
it blew up cuz gnome started using it for god knows why
WHO ARE THESE PEOPLE
unsane
also I remember someone reposting a new anubis mascot that's not ai generated a few days ago I'll see if I can find it
Excited to reveal, I'm working on the mascot redesign for @xeiaso.net @techaro.lol's Anubis!
wait theyre canadian?
May Trump come over Canada. @humble mortar
yop
they really are aiing everything
im starting a cookie factory so i can call myself a CEO
what if i turn vencord into your average corpo
will you employ zoot for the price of 1 cookie per hour
do
wait didn't you already do that last year
made a pull request for Vesktop on brew casks: https://github.com/Homebrew/homebrew-cask/pull/207093
though it was rejected once before because it didn't have a signature, but that shouldn't be a problem now
waow
why tf did u have to reverse image search that to know it's ai
it is so obviously ai
one single glance and I know
u had to be told about anubis
yaya
vencord gitlab when
gitlab sucks ass
@vernal lintel u
hi
For now, if anybody wants this resolved, add this argument to your .desktop file of Vesktop:
--disable-features=WebRtcAllowInputVolumeAdjustment
I tried to start it from terminal, because editing the .desktop file Vesktop don't open itself, but every slider or toggle under Audio section still doesn't work
will this auto update or do you always have to pr to update it
It has a livecheck feature so most likely it will auto update according to the yml generated by electron builder
but idk though really
Iโm just following what the docs says
build .4 and see if it auto updates to .5
build version 0.1.0
@humble mortar install https://github.com/Vencord/Vesktop/releases/tag/v0.1.0
virus
@scenic hollow the registration portal shouldn't be used until the electron builder appid thing can be figured out
okok it is nullable btw if you want to make it work for yourself for now
i'll commit that tmrw
@vernal lintel is there some reason repository is still left blank in the package.json
cant build cause โข Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository).
I'm going to be honest. Even after looking at the source code, I could not figure out how I would be able to do that through the CLI.
you have to bind your mouse key's up/down events to
(vesktop) -- --keybind (id) ("keyup"/"keydown")note the two sets of dashes i probably will change the cli at some point so be wary of that i guess
I know on Linux you could probably do this, but on Windows, I'm not sure if you can. Please do it through the CLI on Windows.
? what does this mean
in fairness i've made a lot of changes to how venbind works without doing any testing on windows. maybe they're having issues with it there and they didn't even notice it's already supported
the cli should work fine tho???
anyways reported this https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/368#note_1185271
Finding that I can't start the app without resetting the client and logging in again. Removing the Wayland socket and forcing --ozone-platform-hint=x11 fixes it. Electron really is swell.
I can't use the official client, either, because my webcam will mysteriously stop sending video to it after a random interval.
https://github.com/Vencord/Vesktop/issues/803#issuecomment-2768637517
@kode54, does that relate to this? As in, do you see this error message without that flag?
what
just add repository field
it's the makepkg
idk if it's going through git or something else
@worn harness you manage the AUR package right?
or was that nin0
its broke
still
yeah we are trying to find a proper solution
How do the new IDs work? It's still showing up as simply 'ID: 5' same as before, and I can't get any keybinds to trigger anymore.
i dont want to sed in a repository field
i think we should just explicitly use pnpm
vee can just add
its a stupid thing that vee needs to do
it's not gonna break anything
we all know vee is stupid
@crumbsniffer steal vee login
all this time you could have just opened pr instead of crying ๐ญ
but also wtf is arch doing
also its broken on the 1.5.5 tag so we cant do that for stable packages
the issue is with electron builder
what
the thing thats exploding
yes but
it's only exploding because it doesn't git clone
there's definitely something wrong with your package
it's very normal for PKGBUILDs to run git commands
to get latest tag or smth
and it works fine
PKGBUILD: Line 32
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
PKGBUILD: Line 47
corepack pnpx electron-builder --dir
that runs a pnpm command
which we'd have to substitue if we dropped to that
@worn harness system pnpm just works
this is some regression somewhere thats exploded
something else is wrong
then stop doing this horrible corepack shit ๐ญ
pnpm already removed the strict check and I already told u guys multiple times to just suppress it

IK
zooter doesnt want to tho
also
something else is cooked
electron-builder 26.0.12 is giving me
on the git package
that tag isnt even on the github (as a release)
package.json: Line 43
"electron-builder": "^25.1.8",
this is the git package
use the correct electron builder version for starters 
frozen lockfile booo
im gonna drop corepack and do --frozen-lockfile
ill do it as a PR and you @serene sigil @worn harness test
i forgot to mention the ids are only new on wayland (perhaps because i mainly expected wayland users to use clis). they should be the same as the old ones on x11 (and windows).
does venbind have any errors for you? what is your window manager/desktop environment?
that command downloads and runs latest electron builder from npm
like i said use pnpm package:dir instead of that
yop
oh i didnt know that
i thought it used the node_modules
did you push it
no
I just realized venbind is not building, I wasn't paying attention at all while updating apparently. I'm getting an error stemming from the 'wayland-client' system library. I guess I need to change a flag to prevent venbind from compiling wayland components but I'm not sure how to do so.
WM is a very-barebones i3, no desktop environment or display manager.
pnpm electron-builder does
itll be in the pkgbuilds repo first
sorry
itll be in the pkgbuilds repo as a PR so u can confirm it works and im not stupid
lmao
then ill push to aur
OH
lemme know when
can someone report this to the electron builder people tho this is an actual bug in their alpha
why
two billion seds
don't sed
package:dir runs pnpm build
it works fine
if we want that as corepak i need to sed that to corepack pnpm
you love pnpm exploding every tiny minor change
they removed that
we did and then it screamed
oh
.npmrc: Line 2
package-manager-strict=false
vesktop literally does
shouldn't need to patch
im gonna kill myself why did I install pnpm with npm
risks breaking randomly when upstream changes something
corepack doesnt wrap later pnpm calls
do pnpm then but please no more sed or patch it's soo husk
vee ur here so u have to answer can we please softfork arrpc for the dynamic detectable db patch in time for vesktop 1.5.6 
now tell me why it doesnt update my pnpm
THATAS WHAT I AM SAYUING
nop
omg never run locate pnpm
so true
sudo dnf install mlocate
I just use pnpm from pacman
kys
rude?
yep.
Warn using --force I sure hope you know what you're doing
ill push malware to the aur
oh my fucking god what is going on
does fedora not have pnpm in its repos
wow so
modern pnpm versions
automatically download the right version
COOKIE
husk
why husk thats cool
sounds very prone to breaking though
how ?
why arent the commit hooks workjing ghhlep
I like Gradle so much more since it's literally just ./gradlew and it works
@crumbsniffer
youve never known about that?
these
vee learning linux
yop
yop
yop
yop
GOOD
windows users can COPE
actually i wonder if theres a windows equivalent
do
I think so
i fix
idk why they named it entry and not entries but oh well
are u gonna bump electron builder?
yes
finallyu
fym finally
ubuntu users rejoice
wdym
they only now published ๐ญ
oh its stable??
it's an entry
it's multiple entries
nop
sane
that's just one
ig yeah
since some programs habs multiple desktop files
anyway
habs
@serene sigil @worn harness test
ogay
i bump everything @humble mortar
I can't until later
kys
@vernal lintelrewritr eveskyopeehdsjwjeejbwfjw @vernal lintel
rewrite vesktop using CEF 
ig more accurate typings but if you use this on non mac you are retarded and should be punished for it so
nop in tauri
i would prefer if they just make it a getter that throws on non mac
HURRY
@serene sigil test
fix @humble mortar
cookie so impatient
YES IT WORKS
oh my god what is this
pnpm ignores scripts by default now
so bad
yoppp it breaks dynamic running of react-devtools
april fools hahahha!
horror what is this

@serene sigil is package working ?
yes
are there any regressions in electron 36
iunno
prob
when its an electron major version something will break
theres like seven app.show() bugs
probably
its ust a fact of life
it's electron
35 not 36
test this
ok the git package built fine on that commit
am i just running the pkgbuild again
show what
let me look
faster pls ๐
btw
i love being on 7mbit internet
instead of pnpm i you should use pnpm i --frozen-lockfile
otherwise it might go craaaaz
what's that do
i did not have this issue
ok fine
latest commit vee pushed
-git users crying
time for an insurrection
that's so husk why did they make install trigger updates
nah it's for when the lockfile is out of sync
the entire nodejs ecosystem is so husk
which might happen if devs are stupid
are you surprised
no
seems like app-builder issue?
fun fact: electron-builder uses app-builder<@&1214236198541852725>lpha in production
bro discord
,
why do you parse @ in the middle of text
LMAO
no need it wasnt a bug
literally isn't a bug ๐ญ
vee cant read
I KNOW
should we?
we're not switching build tool
switch framework
figure out the windows and macos right click action stuff then yea i think
guhhh mount my drive for me @worn harness
nop
okay
millions must switch to linux
oh the horrors
acting like those actions won't break on half of the WMs/DEs
https://www.electronjs.org/docs/latest/api/app#appsetusertaskstasks-windows windows users love
Control your application's event lifecycle.
bro really thinks [insert zoomer WM here] supports desktop actions ๐คฃ๐น
if their impl is good it should just ignore them
firefox uses desktop actions
so like
Control your app in the macOS dock
docksetmenumenu
ill push these to the aur when u fix ur dep bump shit
guh what...
IT WORKS FOR ME TOO OUT OF CHROOT
ok hold on
???
i literally have no idea whats happening
why does it break in chroot
does it actually
or was it just a hiccup
@humble mortar hiii
you will see the stacktrace
go to those files
and add console.log
i dont wanna debug cooked deps ๐ญ
seethe cope mald
i forget how to make the chroot script not fresh clone but use the local
help
โจฏ Unexpected end of JSON input failedTask=build stackTrace=SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at NpmNodeModulesCollector.parseDependenciesTree (/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/node-module-collector/npmNodeModulesCollector.ts:68:17)
at NpmNodeModulesCollector.getDependenciesTree (/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:48:17)
at NpmNodeModulesCollector.getNodeModules (/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/node-module-collector/nodeModulesCollector.ts:16:21)
at computeNodeModuleFileSets (/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/util/appFileCopier.ts:181:16)
at /build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/platformPackager.ts:500:34
at async Promise.all (index 0)
at AsyncTaskManager.awaitTasks (/build/vesktop-git/src/vesktop/node_modules/builder-util/src/asyncTaskManager.ts:65:25)
at LinuxPackager.doPack (/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/platformPackager.ts:317:5)
at LinuxPackager.pack (/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/platformPackager.ts:168:5)
โELIFECYCLEโ Command failed with exit code 1.
all closed
and all irrelevant
yeopr
/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/node-module-collector/npmNodeModulesCollector.ts:68
go here
and
so insane @humble mortar
console.log that shit
I DONT KNOW HOW TO MAKE IT USE LOCAL CHANGES ๐ญ
the chroot script fresh clones everything
what chroot script
its an issue in chroots
which can happen on anyones machine
issue causes by vee bumping deps
idk what chroots is
change root
pnpm patch
actual horror
I know what that is
ok how do i use pnpm patch time to learn
or edit the pkgbuild with sed
NOP
even more hororrororor
ppeaseee no more sed
seds so annoying
run command
it copies the dependency to temp folder
you edit files in that folder
you run commit command
done
this is for debug
zt dreams of sed
never
wait how do i pnpm patch from the pkgbuild doesnt it need to be a part of the package.json
I think cookie is silly I will try when I get home and it won't happen
you will extra-x86_64-build https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot in latest PKGBUILDs commit on a -git
oh the patch is just a git patch
i can do that in the pkgbuild easy
yes fool
this is all ur fault
never updating deps again
i think i understand discord...
am i stupid
pnpm patch is only giving me compiled js
wdym
ITS EMPTY
love
why does it shell out ๐ญ
why does it break in a chroot ๐ฃ๏ธ
yeah
I somehow doubt it's "yeah"
I highly doubt it is "explde" too
wtf is the right word here
everything sounds wrong
too
either
you need to be executed
ANSWER
it sounds so wrong
u sound wrong
rude.
im a hater
i need to start practicing my guitar again..,,
I'm washed up
TRUE
play a solo for me
โข downloading url=https://github.com/electron/electron/releases/download/v35.1.2/electron-v35.1.2-linux-x64.zip size=110 MB parts=8
โข downloaded url=https://github.com/electron/electron/releases/download/v35.1.2/electron-v35.1.2-linux-x64.zip duration=19.777s
command: npm
args: list,-a,--include,prod,--include,optional,--omit,dev,--json,--long,--silent
rootDir: /build/vesktop-git/src/vesktop
jsonBlob
โจฏ Unexpected end of JSON input failedTask=build stackTrace=SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at NpmNodeModulesCollector.parseD
i see two issues
the command is npm
second is the rootDir
but im not sure since its a chroot
they look right to me tbh lol
should work fine
ohhhhhh
the chroot doesn't have access to npm probably
try adding npm as makedep
normally node should always come with npm
why aare they requiring npm noww
but arch for some reason separates them lol
I mean what else would they do
make it not
honestly cursed shelling out instead of parsing package json
but lol
just depend on npm trol
youll pr a fix
blame arch for being goofy
I DONT WANNA
MAKEDEP
DO IT YOU PEASANT
why do you guys keep acting like users will die from temporarily installing a 10mb make dependency ๐ญ
โฆee, update types to be generic and respective to npm listvspnpm list` dependency trees (#8872)
- Moves functions around so that they're topologically ordered.
- Updates
typesfor...
meanwhile C++ devs causally requiring 60gb space to build basic thing
im an npm hater
explain
yeah just add npm makedep
explain for my small brain
oh
so you have to enable hoisted linker for electron
and that's like npm compat
it's not the native pnpm linker
if you use the native pnpm linker, electron builder will copy symlinks into the output
instead of the actual files
cause pnpm uses symlinks for dependencies
i need a remindme for when u tag a release so i can add npm make dep to the stable packages
nopa
it builds fine
ill need to tag the new release anyway
i just need to remember
that thing is squishable
guhh when is chromium gonna make gtk4 the default
2059
cookie forgot how to push aur
DIE
aurpublish vesktop/vesktop-git/vesktop-electron/vesktop-electron-git
done
I always forget i enabled this https://itsfoss.com/sudo-insult-linux/
it worked tho
wanna know cookies real name @worn harness pay me 5$ and I'll tell u
can i take it out of my balance
i have his address i will bomb his home
I have ur address too
yeah
lemme restart too
seems to work fine
canary 384884 (84d39d2) Build Override: N/A
Vencord b3bff83 (Vesktop v1.5.5)
Electron 35.1.2
Chromium 134.0.6998.178
ill push to aur when zoot gets a chance to test
HE GETS HOME SOON
@worn harness 
STOP HARASSING
i just realized theres bananas all over the archwiki
who did this
me
are you a monkey
There is currently no text in this page. You can search for this page title in other pages, or search the related logs, but you do not have permission to create this page.
what if we made
can you just make whatever arch wiki page you want as long as the topic is relevant or do they have strict rules
gonna make an arch wiki page about how to get a gf
https://wiki.archlinux.org/title/Discord vesktop is on here
Ripcord has an archwiki entry
GUH WHY IS VESKTOP-BIN THE LINKED PACKAGE
HORROR
@vernal lintel youll change to just vesktop
technically vesktop-bin follows convention and vesktop doesn't
also -bin is more popular trolley
wdym
it goes back and forth
we just need to make an official vesktop website and tell people which packages to install
how does vesktop not follow convention
soon tm: official vesktop open build service package and snap
electron-builder actually has a pacman target
we can takeover the -bin if u add that to the build array @vernal lintel
didnt we try it and it sucked
i dont remember
idk u try it rn
heroic games launcher uses the pacman target
ok ill try
erm
how do u disable that
it seems to work fine i think
the autoupdater bit worries me
ill try to run it
hold on
oh yeah
it's not gonna make an aur package it's gonna make a pacman package
lmaoo
like not a PKGBUILD but a .tar.xz for pacman
i think
yes i know
the PKGGBUILD will then extractt and install it correctly
along with the wrapper startup script and so on
i need to know how to disable the publish thing for the pacman target grr
guhh we will take down the dumb packages
NOO
just extra installation time
wha?
it's pointless
compress then immediately uncompress
zt cpu decompresses at 200bytes/second
and more makedeps
its downloading a built bin
and it decompresses at hundreds of mb / second
just use the dir build what does pacman build offer that's better
not building from source 
some people are insane and want a -bin package
sane*
not even I build from source
I install the rpm from github
the current -bin package uses the rpm and e xtracts it ๐
thats why i want to provide a real .pacman ๐ญ
love
i mean the flatpak extracts the AppImage lol
idk which one is worse
HOW DO I DISABLE THE AUTOUPDATE CHECKER
electron builder has a flatpak target
havent we already solved this 500 years ago?
we just use the github release
whats the issue then
all the current packages we maintain build on the users machine
they download source tarballs
balls
sorry
vbam @humble mortar
@vernal lintel hellpppp i need to disable the publis hfor a specific target helppp
why
electron builder is bundling the autoupdater with the pacman target
which is obviously not what we want
the shadiest one
go bigmode store https://bigmode.com/shop
wait
pacman target would still need to download the source tarball?
what is the point
from where
oh
can i push to aur
vee bumped deps
everyone cried
i fixed but u made me wait before push so u can test
inthe PKGBUILDs repo can u build them
so if its electron builder regression why not just pin electron builder until they fix their mess instead of us having to cope with it
its not electron builder regression
its a deliberate choice by them
because of some linker stuff
pnpm and npm linkers are different

zoot doesnt know about makepkg -si
i didnt ur on the github repo ๐ญ
its not on the aur yet
let me push to the aur
short code for slovenia
not yet
๐ธ๐ฎ
error: failed to commit transaction (conflicting files)
pnpm: /usr/bin/pnpm exists in filesystem
pnpm: /usr/bin/pnpx exists in filesystem
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> pnpm
oh
why are they using npm
ughhhhhhhhhhhhh
this just sucks
i hate having to deal with electron devs braindead stupid design choices making something simple more complex
two package managers that achieve fundamentally the same exact goal
@vernal lintel do u know how to disable the auto updater for a specific target build
well it does
the autoupdater is bundled into the built binary
i dont want that
yes but that's https://www.npmjs.com/package/electron-updater
it doesnt support pacman
we can disable it for pacman if we really need to but it doesnt even support it
then why is it getting compiled int othe binary
thats the issue
index.ts: Line 10
import { autoUpdater } from "electron-updater";
index.ts: Lines 20-24
if (IS_DEV) {
require("source-map-support").install();
} else {
autoUpdater.checkForUpdatesAndNotify();
}
change remote to Vencord/Vesktop and you shouldnt get this error
see what it prints then
your statement implies auto updater is enabled for pacman despite not supporting it
thats a terrible design
it shouldnt bundle into the built image at all if its not supported
that's not up to electron builder
guh?
the app is bundled by esbuild via our config
by using build time variables it could conditionally exclude it
but it's irrelevant
it's small
i hope i never have to package an electron app in my future career
this just sucks
i will stay with native/jvm
it really doesn't lmao
electron packaging is much nicer than packaging a native app yourself
electron-builder does 95% of the work for you
i mean just the fact we need 2 package managers just to build
30 lines of config and it can create packages for all relevant platforms
also they use stale bot on their repo and that sucks
oh my god the tree is ruined that pull request earlier for the posix script stuff it was squash merged but like not as one commit so when pushed to the aur it was split out into a billion things
packaging for all platforms is cock and ball torture normally, but electron-builder makes it much simpler
@vernal lintel i force yo uto write 5000 line bat and bash script to package
is that bad
literally has nothing to do with electron-builder
just makes the repo SUPER ugly
what is it
npm is literally expected to always be installed alongisde nodejs and the default package manager
pnpm is an alternative package manager that Vesktop uses because it's better
you need both because electron-builder uses npm internally
it would be so much better if it was just package manager agnostic
Arch packagers are weird and for some reason split nodejs and npm into two things
but they belong together
it literally doesnt matter that u have to install npm and pnpm
oh no my 8mb of space...
what ever will I do
its stupid
they do the exact same thing
its not the space i care about its just dumb that its like that
it also doesn't matter and you're complaining about something that doesn't matter
i hate stupid design
wait until you find out how many python versions you have on your system
or C build tools
trust me i hate building python with a passion
Kotlin is so bad why are there gradle and maven and [whatever] ๐ญ
kotlin is actually self contained unlike this
ce43565 upgpkg: vesktop-electron-git 1.5.5.r1.gd75ab4a-1 - Covkie
881b8c8 upgpkg: vesktop-electron-git 1.5.5.r1.gd75ab4a-2 - Covkie
fa05c75 upgpkg: vesktop-electron-git 1.5.5.r4.g68930a1-1 - Covkie
5a3d00e fix: posix-compliant booleans - durcor
210da02 fix: quote config home to prevent word-splitting - durcor
nodejs is also self contained
no it isnt
yes it is
im gonna have a stroke every time i look at the history from now on


