#๐Ÿ–ฅ-vesktop-development

1 messages ยท Page 31 of 1

scenic hollow
#

the keybind seems to be working

#

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

humble mortar
#

registry portal is scuffed?

#

you have the id as dev.vencord.Vesktop

scenic hollow
#

worked for me that's weird

humble mortar
#

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

scenic hollow
#

and i think i have that one from flatpak so i just used it and it worked

humble mortar
#

funny

scenic hollow
#

you sure you have the kde portal on??

humble mortar
#

yeah ๐Ÿ˜ญ

humble mortar
scenic hollow
#

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

humble mortar
#

it's not doing any string checking

sour muralBOT
humble mortar
#

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

scenic hollow
#

huhh

humble mortar
#

yeah thats the codepath

scenic hollow
humble mortar
#

ya

scenic hollow
#

idkkk making an issue rn

humble mortar
#

wait

#

im looking at the spec

scenic hollow
humble mortar
#

yeah its just a string

#

seems a single segment appid was just erroneously blocked

#

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!!!

vernal lintel
#

?

#

what

humble mortar
#

vesktop.desktop / appid of vestkop isnt spec compliant

vernal lintel
#

why

humble mortar
#

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

vernal lintel
#

so what part is not spec compliant

humble mortar
#

vesktop.desktop

vernal lintel
#

wtf are u talking about

humble mortar
#

Interface names are composed of 2 or more elements separated by a period ('.') character. All elements must contain at

vernal lintel
#

the app id is dev.vencord.vesktop

#

it is perfectly valid

humble mortar
#

its not

scenic hollow
#

on flatpak it is

humble mortar
#

it is vesktop on non sandboxed

vernal lintel
#

how do you set app id outside of flatpak

scenic hollow
#

registry

humble mortar
vernal lintel
#

okay we're not sending some dbus call no electron app does that

sour muralBOT
scenic hollow
#

oh then maybe that's a venbind specific thing

#

still weird why it doesn't work for you tho

humble mortar
#

venbind has its own session but it NEEDS to match the vesktop appid

scenic hollow
#

nvm that's win32 only what

humble mortar
#

which is vesktop unsanboxed

vernal lintel
#

name one single linux app that uses reverse domain as app name

humble mortar
#

obs

#

smile

#

like all kde apps

#

ashpd demo

vernal lintel
sour muralBOT
humble mortar
#

yeah i was looking at that

vernal lintel
#

do u want to literally rename the binary to dev.vencord.vesktop

#

that's horrid

scenic hollow
#

also renaming the .desktop file would be enough what are you doing

humble mortar
#

the classid of the app needs to match

#

OR

#

include a

#

StartUpWMClasss= in the .desktop

vernal lintel
humble mortar
#

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

vernal lintel
#

if it doesn't match the app name

#

binary name that is

humble mortar
#

the deb

humble mortar
#

ghost ping

#

i saw that @scenic hollow

scenic hollow
#

I JUST NOTICED IT WAS YOU I FELT SO DUMB

humble mortar
#

๐Ÿ˜ญ

#

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

scenic hollow
#

FOR A SECOND I NOTICED WOW THIS GUY'S THEME LOOKS REALLY SIMILAR TO CRUMB GUHHH

vernal lintel
humble mortar
vernal lintel
#

you are really hand @humble mortar

humble mortar
#

so hand

#

vee log abusing

vernal lintel
#

which site had the wolfgirl browser verification again

#

or doggirl idr

humble mortar
#

gnomes gitlab

#

its ai generated ๐Ÿ’€

#

the code looks to be too

vernal lintel
vernal lintel
humble mortar
vernal lintel
#

๐Ÿ˜ญ

humble mortar
#

ai generated jackal girl

vernal lintel
#

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

humble mortar
#

gnome using vibecoded anti ai filter

#

lovelty

vernal lintel
humble mortar
#

hop on using context clues to google

vernal lintel
#

nop

humble mortar
#

history of anubis/cmd/anubis

#

oh the repo must be called anubis

#

"anbuis github"

vernal lintel
#

JUST SEND THE REPO

#

ASSHOLEEEEE

#

you fucking bitch

humble mortar
#

im gatekeeping

#

you should use your brain

vernal lintel
#

well im killing you

vernal lintel
vernal lintel
humble mortar
#

shes so stupid

#

woke vibecoded enbyware

#

this is the future liberals want

vernal lintel
#

why did gnome choose that of all solutions lmao

#

and not replace the images

humble mortar
#

woke

#

its always woke

austere wolf
humble mortar
#

ya

austere wolf
#

wtffffff

#

scam

humble mortar
#

i'll be posting on twitter and contacting the gnome admins about this!!!!

austere wolf
#

me too !!!!

humble mortar
#

@vernal lintel give me anti ai action role

vernal lintel
#

their docs site is sofucking slow

humble mortar
#

they vibecoded everything

vernal lintel
#

did they actually

humble mortar
#

feels like it

#

read their shit

vernal lintel
#

what shit

#

LOOOOL

#

that's the "reclaim PolyMC from the leftists" guy

humble mortar
#

OMG IT IS

#

HAHHAHA

vernal lintel
#

๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ญ ๐Ÿ˜ญ

humble mortar
#

their soul was deemed unworthy

vernal lintel
#

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 ๐Ÿ˜ญ

sudden trout
#

it blew up cuz gnome started using it for god knows why

humble mortar
sudden trout
#

unsane

humble mortar
sudden trout
#

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

humble mortar
#

wait theyre canadian?

vernal lintel
sudden trout
vernal lintel
#

May Trump come over Canada. @humble mortar

humble mortar
#

Slop techbro company

sudden trout
#

yop

vernal lintel
#

they really are aiing everything

humble mortar
#

im starting a cookie factory so i can call myself a CEO

vernal lintel
#

what if i turn vencord into your average corpo

sudden trout
sudden trout
#

wait didn't you already do that last year

tidal quarry
sudden trout
#

waow

humble mortar
#

ollama slop

vernal lintel
#

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

humble mortar
#

i wanted to find its source dumbass

#

kys

humble mortar
#

u had to be told about anubis

vernal lintel
#

cause i was looking for it on gnome gitlab

#

not shithub

humble mortar
#

yaya

sudden trout
#

vencord gitlab when

humble mortar
#

horror

#

gitlab is so heavy

vernal lintel
#

gitlab sucks ass

tidal quarry
#

@vernal lintel u

vernal lintel
#

hi

simple groveBOT
vernal lintel
tidal quarry
#

but idk though really

#

Iโ€™m just following what the docs says

humble mortar
vernal lintel
#

build version 0.1.0

tidal quarry
#

I will wait for 1.5.6

#

if that ever happens

vernal lintel
humble mortar
#

@scenic hollow the registration portal shouldn't be used until the electron builder appid thing can be figured out

scenic hollow
#

okok it is nullable btw if you want to make it work for yourself for now

#

i'll commit that tmrw

worn harness
#

@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).

simple groveBOT
#

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.

humble mortar
scenic hollow
#

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???

scenic hollow
simple groveBOT
worn harness
vernal lintel
#

why

#

your error should never happen if you're not doing something wrong

worn harness
#

im just using package:dir

#

the field should be there since it's basic metadata

vernal lintel
#

just git clone bozo ๐Ÿ˜ญ

#

how tf are u cloning the repo without git

worn harness
#

idk if it's going through git or something else

carmine drum
#

it has been a solid 2 days and you're already bothering maintainers

#

crazy

serene sigil
#

@worn harness you manage the AUR package right?

#

or was that nin0

#

its broke

#

still

humble mortar
serene sigil
#

I'd comment that its being looked into

#

at least say the problem is being addressed

worn harness
#

it's soo easy

simple groveBOT
humble mortar
#

i think we should just explicitly use pnpm

worn harness
humble mortar
#

its a stupid thing that vee needs to do

worn harness
#

it's not gonna break anything

humble mortar
#

we all know vee is stupid

worn harness
#

@crumbsniffer steal vee login

vernal lintel
#

all this time you could have just opened pr instead of crying ๐Ÿ˜ญ

#

but also wtf is arch doing

humble mortar
#

also its broken on the 1.5.5 tag so we cant do that for stable packages

vernal lintel
#

why don't they git clone

#

are you sure you didn't fuck up

humble mortar
#

the issue is with electron builder

vernal lintel
#

what

humble mortar
#

the thing thats exploding

vernal lintel
#

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

sour muralBOT
vernal lintel
#

this even works

sour muralBOT
vernal lintel
#

why is this pnpx

#

pnpm package:dir

humble mortar
#

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

vernal lintel
#

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

humble mortar
#

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)

sour muralBOT
humble mortar
#

this is the git package

vernal lintel
#

use the correct electron builder version for starters wires

humble mortar
#

frozen lockfile booo

#

im gonna drop corepack and do --frozen-lockfile

#

ill do it as a PR and you @serene sigil @worn harness test

simple groveBOT
vernal lintel
#

that command downloads and runs latest electron builder from npm

#

like i said use pnpm package:dir instead of that

humble mortar
#

yop

humble mortar
#

i thought it used the node_modules

humble mortar
#

no

simple groveBOT
#

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.

vernal lintel
humble mortar
vernal lintel
#

or even node_modules/bin/some/path

#

not pnpx ๐Ÿ˜ญ

serene sigil
humble mortar
#

YES

#

omg

serene sigil
#

sorry

humble mortar
#

itll be in the pkgbuilds repo as a PR so u can confirm it works and im not stupid

serene sigil
#

lmao

humble mortar
#

then ill push to aur

serene sigil
#

OH

serene sigil
humble mortar
humble mortar
#

no im killing corepack

#

i dont wanna deal with it anymore

worn harness
humble mortar
#

two billion seds

worn harness
#

don't sed

humble mortar
#

package:dir runs pnpm build

worn harness
#

it works fine

humble mortar
#

if we want that as corepak i need to sed that to corepack pnpm

humble mortar
#

it doesnt

worn harness
#

then just

#

corepack pnpm build
corepack pnpm electron-builder --dir

vernal lintel
#

YES HOP OFF COREPACK

#

be normal and add pnpm as makeDependency

worn harness
#

you love pnpm exploding every tiny minor change

vernal lintel
worn harness
#

oh

vernal lintel
#

and you could always disable that

#

which i told u to do ๐Ÿ˜ญ

#

in fact

sour muralBOT
vernal lintel
#

vesktop literally does

worn harness
#

shouldn't need to patch

vernal lintel
#

im gonna kill myself why did I install pnpm with npm

worn harness
#

risks breaking randomly when upstream changes something

humble mortar
#

corepack doesnt wrap later pnpm calls

worn harness
#

do pnpm then but please no more sed or patch it's soo husk

humble mortar
#

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 pleadey

vernal lintel
#

now tell me why it doesnt update my pnpm

humble mortar
worn harness
#

nop

vernal lintel
#

omg never run locate pnpm

humble mortar
vernal lintel
worn harness
#

I just use pnpm from pacman

humble mortar
vernal lintel
#

rude?

humble mortar
#

yep.

worn harness
#

@vernal lintel ban cookie

#

for rudeness

vernal lintel
#

Warn using --force I sure hope you know what you're doing

humble mortar
vernal lintel
#

oh my fucking god what is going on

rotund pantherBOT
worn harness
#

does fedora not have pnpm in its repos

vernal lintel
#

wait what lmaooo

#

????

humble mortar
#

WTF

vernal lintel
#

modern pnpm versions

#

automatically download the right version

worn harness
vernal lintel
#

based on package.json

worn harness
#

husk

vernal lintel
#

why husk thats cool

worn harness
#

sounds very prone to breaking though

vernal lintel
#

how ?

humble mortar
vernal lintel
#

love

#

what commit hook

#

do u mean workflow

worn harness
#

I like Gradle so much more since it's literally just ./gradlew and it works

humble mortar
#

local aurpublish commit hooks

#

im gonna forcepush

worn harness
#

@crumbsniffer

vernal lintel
#

wait this is cool

#

we could use that maybe

#

it's when u right click trhe app

humble mortar
#

youve never known about that?

vernal lintel
humble mortar
#

vee learning linux

vernal lintel
#

we could add like Update Vencord

#

Run with Debug Logging

#

etc

humble mortar
#

yop

#

yop

#

yop

#

yop

#

GOOD

#

windows users can COPE

#

actually i wonder if theres a windows equivalent

worn harness
worn harness
vernal lintel
#

idk why they named it entry and not entries but oh well

humble mortar
#

are u gonna bump electron builder?

vernal lintel
#

yes

humble mortar
#

finallyu

vernal lintel
#

fym finally

humble mortar
#

ubuntu users rejoice

vernal lintel
#

they only now published ๐Ÿ˜ญ

vernal lintel
#

why it named entry and not entries

humble mortar
worn harness
#

it's an entry

vernal lintel
worn harness
#

nop

rotund pantherBOT
vernal lintel
worn harness
#

that's just one

vernal lintel
#

ig yeah

worn harness
#

since some programs habs multiple desktop files

vernal lintel
#

anyway

worn harness
#

habs

humble mortar
serene sigil
#

ogay

vernal lintel
#

i bump everything @humble mortar

worn harness
vernal lintel
worn harness
#

@vernal lintelrewritr eveskyopeehdsjwjeejbwfjw @vernal lintel

#

rewrite vesktop using CEF blobcatcozy

vernal lintel
#

ig more accurate typings but if you use this on non mac you are retarded and should be punished for it so

vernal lintel
humble mortar
#

@serene sigil test

#

@serene sigil test

serene sigil
#

am

#

hang on

humble mortar
#

HURRY

worn harness
#

@serene sigil test

serene sigil
#

husker

#

WHY HURRY

#

IM DOING IT

vernal lintel
#

fix @humble mortar

worn harness
#

cookie so impatient

serene sigil
#

YES IT WORKS

vernal lintel
#

oh my god what is this

serene sigil
vernal lintel
#

why ๐Ÿ˜ญ

#

that's gonna break so much shit

worn harness
#

so bad

humble mortar
vernal lintel
humble mortar
#

so fun

#

wait will i have to do that in the package build..

vernal lintel
#

oh my god what is this

#

why is the dismiss button Didn't ask

humble mortar
vernal lintel
#

horror what is this

serene sigil
humble mortar
#

@serene sigil is package working ?

serene sigil
#

yes

humble mortar
#

corepack the source of all problems

#

ok im pushing

serene sigil
#

use corepack

#

or explode

vernal lintel
#

are there any regressions in electron 36

serene sigil
#

iunno

humble mortar
#

prob

serene sigil
#

when its an electron major version something will break

humble mortar
worn harness
serene sigil
#

its ust a fact of life

worn harness
#

it's electron

simple groveBOT
vernal lintel
#

35 not 36

vernal lintel
humble mortar
#

ok the git package built fine on that commit

serene sigil
#

am i just running the pkgbuild again

humble mortar
#

saved

#

ok im pushing to the aur

#

incoming malware

vernal lintel
#

wait

#

show

serene sigil
humble mortar
vernal lintel
#

let me look

humble mortar
#

at?

#

i didnt install it just built

serene sigil
vernal lintel
#

what now

#

are you sure we don't also need nodejs

#

ig pnpm depends on it but still

humble mortar
#

pnpm depends on nodejs

#

i love dep trees

vernal lintel
#

btw

serene sigil
#

i love being on 7mbit internet

vernal lintel
#

instead of pnpm i you should use pnpm i --frozen-lockfile

humble mortar
#

VEEE I LIED

#

I REBUILT AND IT EXPLODED

vernal lintel
#

otherwise it might go craaaaz

serene sigil
#

doesn't update subdeps

#

iirc

humble mortar
serene sigil
humble mortar
serene sigil
#

oh lord

#

ven broke

humble mortar
#

-git users crying

serene sigil
#

time for an insurrection

worn harness
#

that's so husk why did they make install trigger updates

vernal lintel
serene sigil
vernal lintel
#

which might happen if devs are stupid

serene sigil
#

are you surprised

worn harness
#

no

serene sigil
#

just js jank

#

yknow

vernal lintel
#

fun fact: electron-builder uses app-builder<@&1214236198541852725>lpha in production

#

bro discord

vernal lintel
#

why do you parse @ in the middle of text

serene sigil
#

LMAO

humble mortar
vernal lintel
humble mortar
#

vee cant read

vernal lintel
#

it's cause they made a breaking change

#

had to update config

humble mortar
#

I KNOW

vernal lintel
worn harness
#

@vernal lintel what do you think of electron forge

#

okay

vernal lintel
#

we're not switching build tool

worn harness
#

switch framework

humble mortar
vernal lintel
#

guhhh mount my drive for me @worn harness

vernal lintel
#

millions must switch to linux

serene sigil
#

oh the horrors

vernal lintel
humble mortar
vernal lintel
#

bro really thinks [insert zoomer WM here] supports desktop actions ๐Ÿคฃ๐Ÿ˜น

humble mortar
#

if their impl is good it should just ignore them

#

firefox uses desktop actions

#

so like

humble mortar
#

fixx

rotund pantherBOT
humble mortar
#

ill push these to the aur when u fix ur dep bump shit

vernal lintel
#

fix what

#

it works for me

humble mortar
#

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

vernal lintel
#

or was it just a hiccup

humble mortar
#

it does

#

i can makepkg it just fine

#

in chroot it explodes

worn harness
#

@humble mortar hiii

vernal lintel
#

go to those files

#

and add console.log

humble mortar
#

i dont wanna debug cooked deps ๐Ÿ˜ญ

vernal lintel
#

too bad

humble mortar
#

waaaa

#

yeah its 2000% the dep bump thats cooked

#

ok fine ill debug

vernal lintel
#

seethe cope mald

humble mortar
#

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.
vernal lintel
humble mortar
#

all closed

vernal lintel
#

and all irrelevant

humble mortar
#

yeopr

vernal lintel
#

/build/vesktop-git/src/vesktop/node_modules/app-builder-lib/src/node-module-collector/npmNodeModulesCollector.ts:68

#

go here

#

and

worn harness
#

so insane @humble mortar

vernal lintel
#

console.log that shit

humble mortar
#

I DONT KNOW HOW TO MAKE IT USE LOCAL CHANGES ๐Ÿ˜ญ

worn harness
#

???

#

cookie what's wrong

humble mortar
#

the chroot script fresh clones everything

worn harness
#

what chroot script

humble mortar
#

arch

#

packaging script

worn harness
#

oh

#

so it's not an issue with the package?

humble mortar
#

its an issue in chroots

#

which can happen on anyones machine

#

issue causes by vee bumping deps

worn harness
humble mortar
#

change root

humble mortar
worn harness
humble mortar
#

ok how do i use pnpm patch time to learn

vernal lintel
#

or edit the pkgbuild with sed

worn harness
#

NOP

humble mortar
worn harness
#

ppeaseee no more sed

humble mortar
#

seds so annoying

vernal lintel
humble mortar
vernal lintel
#

zt dreams of sed

worn harness
#

never

humble mortar
#

wait how do i pnpm patch from the pkgbuild doesnt it need to be a part of the package.json

worn harness
#

I think cookie is silly I will try when I get home and it won't happen

humble mortar
#

oh the patch is just a git patch

#

i can do that in the pkgbuild easy

vernal lintel
#

yes fool

humble mortar
#

this is all ur fault

vernal lintel
humble mortar
#

i think i understand discord...

#

am i stupid

#

pnpm patch is only giving me compiled js

vernal lintel
#

wdym

humble mortar
#

no node-module-collector/npmNodeModulesCollector.ts:68

humble mortar
vernal lintel
#

love

humble mortar
vernal lintel
#

why does it shell out ๐Ÿ˜ญ

humble mortar
#

why does it break in a chroot ๐Ÿ—ฃ๏ธ

vernal lintel
#

what's this.rootDir

#

print that maybe

humble mortar
#

yeah

vernal lintel
#

I somehow doubt it's "yeah"

humble mortar
#

explde

#

i cant get pnpm patch-commit to work again

#

hhhhh

vernal lintel
#

I highly doubt it is "explde" too

#

wtf is the right word here

#

everything sounds wrong

#

too
either

humble mortar
#

you need to be executed

vernal lintel
humble mortar
#

ANASWER WOAHT

#

oh

#

"too" is right

#

"as well" is also an option

vernal lintel
#

it sounds so wrong

humble mortar
#

u sound wrong

vernal lintel
#

rude.

humble mortar
#

im a hater

vernal lintel
humble mortar
#

I'm washed up

vernal lintel
#

play a solo for me

humble mortar
#
  โ€ข 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

vernal lintel
#

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

humble mortar
#

yeah

#

yeah that worked

#

huiskkk

vernal lintel
#

normally node should always come with npm

humble mortar
#

why aare they requiring npm noww

vernal lintel
#

but arch for some reason separates them lol

vernal lintel
humble mortar
#

make it not

vernal lintel
#

honestly cursed shelling out instead of parsing package json

#

but lol

#

just depend on npm trol

humble mortar
#

youll pr a fix

vernal lintel
#

blame arch for being goofy

humble mortar
#

I DONT WANNA

vernal lintel
#

MAKEDEP

#

DO IT YOU PEASANT

#

why do you guys keep acting like users will die from temporarily installing a 10mb make dependency ๐Ÿ˜ญ

humble mortar
vernal lintel
#

meanwhile C++ devs causally requiring 60gb space to build basic thing

vernal lintel
#

why is it even using npm

#

is that a bug or intended

vernal lintel
#

OHHHH

#

makes sense

#

okay

humble mortar
#

explain

vernal lintel
#

yeah just add npm makedep

humble mortar
#

explain for my small brain

vernal lintel
#

pnpm has different node module linker

#

but that doesn't work with electron

humble mortar
#

oh

vernal lintel
#

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

humble mortar
#

npm and pnpm makedep

#

my eyes are watering

vernal lintel
#

cause pnpm uses symlinks for dependencies

humble mortar
#

i need a remindme for when u tag a release so i can add npm make dep to the stable packages

vernal lintel
#

ur such a fool

#

just add rn

humble mortar
#

nopa

#

it builds fine

#

ill need to tag the new release anyway

#

i just need to remember

vernal lintel
humble mortar
#

that thing is squishable

vocal fernBOT
humble mortar
#

guhh when is chromium gonna make gtk4 the default

rotund pantherBOT
humble mortar
#

ok @serene sigil can u test

#

tagged and -git please

serene sigil
#

is it in the aur

#

or the repo

humble mortar
#

no

#

repo

serene sigil
#

ok

#

running it now

vernal lintel
#

cookie forgot how to push aur

serene sigil
humble mortar
#

done

serene sigil
humble mortar
#

@vernal lintel u should enable too

#

u need it

serene sigil
#

it worked tho

vernal lintel
#

wanna know cookies real name @worn harness pay me 5$ and I'll tell u

serene sigil
#

can i take it out of my balance

humble mortar
serene sigil
#

ven i will pay you to tell someone to fuck off

vernal lintel
humble mortar
#

uh oh...

#

@serene sigil did it build

serene sigil
#

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

humble mortar
#

ill push to aur when zoot gets a chance to test

serene sigil
#

skip zoot

#

trust

humble mortar
#

noop

#

zootie pattotie

serene sigil
#

@worn harness GUHHHHHH

#

@worn harness RAAAAA

humble mortar
#

HE GETS HOME SOON

serene sigil
#

@worn harness nyab

humble mortar
#

STOP HARASSING

#

i just realized theres bananas all over the archwiki

#

who did this

vernal lintel
#

me

humble mortar
#

are you a monkey

vernal lintel
#

why do u think I have this name

#

soon

serene sigil
#

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.

vernal lintel
#

can you just make whatever arch wiki page you want as long as the topic is relevant or do they have strict rules

humble mortar
#

as long as it can help arch users

#

so anything basically

vernal lintel
#

gonna make an arch wiki page about how to get a gf

humble mortar
#

Ripcord has an archwiki entry

#

GUH WHY IS VESKTOP-BIN THE LINKED PACKAGE

#

HORROR

#

@vernal lintel youll change to just vesktop

vernal lintel
#

technically vesktop-bin follows convention and vesktop doesn't

#

also -bin is more popular trolley

humble mortar
#

wdym

humble mortar
vernal lintel
#

we just need to make an official vesktop website and tell people which packages to install

humble mortar
#

how does vesktop not follow convention

woeful current
#

soon tm: official vesktop open build service package and snap

humble mortar
#

electron-builder actually has a pacman target

#

we can takeover the -bin if u add that to the build array @vernal lintel

vernal lintel
humble mortar
#

i dont remember

vernal lintel
#

idk u try it rn

humble mortar
#

heroic games launcher uses the pacman target

#

ok ill try

#

how do u disable that

#

it seems to work fine i think

#

the autoupdater bit worries me

#

ill try to run it

#

hold on

vernal lintel
#

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

humble mortar
#

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

worn harness
worn harness
#

just extra installation time

humble mortar
#

wha?

worn harness
#

it's pointless
compress then immediately uncompress

vernal lintel
#

zt cpu decompresses at 200bytes/second

worn harness
#

and more makedeps

humble mortar
#

its not?

#

its not making anything

vernal lintel
#

wtf are u talking about lmfaooo

#

it's just tar xz

#

pacman uses it for everything

humble mortar
#

its downloading a built bin

vernal lintel
#

and it decompresses at hundreds of mb / second

worn harness
#

just use the dir build what does pacman build offer that's better

vernal lintel
#

not building from source husk

humble mortar
#

some people are insane and want a -bin package

vernal lintel
#

not even I build from source

#

I install the rpm from github

humble mortar
#

the current -bin package uses the rpm and e xtracts it ๐Ÿ’€

#

thats why i want to provide a real .pacman ๐Ÿ˜ญ

vernal lintel
#

i mean the flatpak extracts the AppImage lol

#

idk which one is worse

humble mortar
#

HOW DO I DISABLE THE AUTOUPDATE CHECKER

humble mortar
worn harness
#

we just use the github release

humble mortar
#

yes

#

i know

worn harness
#

whats the issue then

humble mortar
#

all the current packages we maintain build on the users machine

#

they download source tarballs

#

balls

#

sorry

worn harness
#

vbam @humble mortar

humble mortar
#

@vernal lintel hellpppp i need to disable the publis hfor a specific target helppp

humble mortar
#

electron builder is bundling the autoupdater with the pacman target

#

which is obviously not what we want

worn harness
#

wait

#

pacman target would still need to download the source tarball?

#

what is the point

humble mortar
#

no it would download the built .pacman target

#

already compiled

worn harness
#

from where

humble mortar
#

from the github

#

build using actions

worn harness
#

oh

humble mortar
#

just like the rpm or deb

#

scary notification

worn harness
#

@humble mortar wyd

#

im home now

humble mortar
#

can i push to aur

worn harness
#

no

#

i dont know what the issue is

#

tell me

#

tldr blobcatcozy

humble mortar
#

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

worn harness
#

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

humble mortar
#

its not electron builder regression

#

its a deliberate choice by them

#

because of some linker stuff

#

pnpm and npm linkers are different

worn harness
humble mortar
#

zoot doesnt know about makepkg -si

worn harness
#

i thought you didnt push

#

whats si

humble mortar
#

its not on the aur yet

#

let me push to the aur

vernal lintel
worn harness
vernal lintel
#

๐Ÿ‡ธ๐Ÿ‡ฎ

worn harness
#

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

humble mortar
#

zootie hates reading

#

-si installs missing deps

#

and installs the built package

worn harness
#

why are they using npm

humble mortar
#

vee explained

worn harness
#

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

humble mortar
#

@vernal lintel do u know how to disable the auto updater for a specific target build

vernal lintel
#

no

#

it shouldnt have it anyway

#

it will just create yml files

humble mortar
#

well it does

#

the autoupdater is bundled into the built binary

#

i dont want that

vernal lintel
#
#

it doesnt support pacman

#

we can disable it for pacman if we really need to but it doesnt even support it

worn harness
#

why is electron-builder so stupid

#

i hate it

vernal lintel
#

? ? ?

#

it isn't

humble mortar
#

thats the issue

sour muralBOT
vernal lintel
# humble mortar

change remote to Vencord/Vesktop and you shouldnt get this error

#

see what it prints then

worn harness
#

thats a terrible design

vernal lintel
#

?

#

it simply will not do anything if the target isn't supported

worn harness
#

it shouldnt bundle into the built image at all if its not supported

vernal lintel
#

that's not up to electron builder

worn harness
#

guh?

vernal lintel
#

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

worn harness
#

i hope i never have to package an electron app in my future career

#

this just sucks

#

i will stay with native/jvm

vernal lintel
#

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

worn harness
vernal lintel
#

30 lines of config and it can create packages for all relevant platforms

worn harness
#

also they use stale bot on their repo and that sucks

humble mortar
#

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

vernal lintel
#

packaging for all platforms is cock and ball torture normally, but electron-builder makes it much simpler

worn harness
#

@vernal lintel i force yo uto write 5000 line bat and bash script to package

vernal lintel
humble mortar
worn harness
vernal lintel
#

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

worn harness
#

it would be so much better if it was just package manager agnostic

vernal lintel
#

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

worn harness
#

its stupid

#

they do the exact same thing

#

its not the space i care about its just dumb that its like that

vernal lintel
#

it also doesn't matter and you're complaining about something that doesn't matter

worn harness
#

i hate stupid design

vernal lintel
#

wait until you find out how many python versions you have on your system
or C build tools

worn harness
#

trust me i hate building python with a passion

vernal lintel
#

Kotlin is so bad why are there gradle and maven and [whatever] ๐Ÿ˜ญ

worn harness
#

kotlin is actually self contained unlike this

rotund pantherBOT
vernal lintel
#

nodejs is also self contained

worn harness
#

no it isnt

vernal lintel
#

yes it is

humble mortar
# rotund panther

im gonna have a stroke every time i look at the history from now on