this post was submitted on 18 Sep 2023
533 points (92.1% liked)

linuxmemes

20770 readers
1679 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] woelkchen@lemmy.world 24 points 1 year ago (5 children)

it’s hard to do without them

Just load the wrapped website in a browser.

[–] wildbus8979@sh.itjust.works 28 points 1 year ago (2 children)

Or even better, encourage native apps.

[–] 3laws@lemmy.world 7 points 1 year ago (1 children)

Or even better, steal their source code. 😈

[–] wildbus8979@sh.itjust.works -2 points 1 year ago

That's not better at all.

[–] BlueBockser@programming.dev -1 points 1 year ago (1 children)

You mean native Windows and macOS apps? Because that's what you'll get, mostly.

[–] wildbus8979@sh.itjust.works 1 points 1 year ago

Or Linux, yes.

[–] ayaya@lemdro.id 9 points 1 year ago (1 children)

That works for some apps but not anything that needs access to the filesystem and/or devices. Things like VSCode or mod managers, etc.

[–] woelkchen@lemmy.world -2 points 1 year ago (1 children)

That works for some apps but not anything that needs access to the filesystem and/or devices.

Granting some application with a bundled ancient and insecure Electron build is insanity.

Things like VSCode

Luckily there are plenty of native source code editors out there, for example Kate.

[–] ayaya@lemdro.id 6 points 1 year ago* (last edited 1 year ago) (1 children)

Granting some application with a bundled ancient and insecure Electron build is insanity.

Granting some application with a bundled ancient and insecure library of any kind is bad. That is not a problem exclusive to Electron it applies to static builds of any application ever made.

Luckily there are plenty of native source code editors out there, for example Kate.

Okay but that's not the point. You said, "Just load the wrapped website in a browser." Some apps won't function like that. The fact that alternatives exist is irrelevant to what I replied to.

[–] woelkchen@lemmy.world -3 points 1 year ago* (last edited 1 year ago) (1 children)

Okay but that’s not the point. You said, “Just load the wrapped website in a browser.”

I replied to "it’s hard to do without them". So yeah, opening wrapped websites in a browser for most Electron apps and using native alternatives for the rest is totally feasible and absolutely not beside the point.

[–] ayaya@lemdro.id 4 points 1 year ago

Yeah, it's feasible to do that. And? My point was that you can't just rip out the web portion of an app and always expect it to work in a browser. That's it. What you said is irrelevant in the sense that it has no effect on whether the web portion can run in a browser or not.

[–] cley_faye@lemmy.world 6 points 1 year ago (2 children)

You're aware that Electron app have access to much more stuff than what you can do in a browser? Like, important, functional stuff?

Getting really tired of "this is just a website" approach. It's starting to feel like /r/programmerhumor here.

[–] AVincentInSpace@pawb.social 0 points 1 year ago

just because electron apps have access to system features that browsers restrict access to for security reasons doesn't mean they're not websites in a trenchcoat

[–] woelkchen@lemmy.world -1 points 1 year ago* (last edited 1 year ago) (1 children)

Are you aware that a huge chunk, most likely the vast majority, of Electron apps don't use all that and are just wrapped web sites?

[–] inge@discuss.tchncs.de 0 points 1 year ago (1 children)

a huge chunk, most likely the vast majority, of Electron apps [...] are just wrapped web sites

[citation needed]

[–] woelkchen@lemmy.world 1 points 1 year ago (1 children)
[–] BlueBockser@programming.dev 1 points 1 year ago* (last edited 1 year ago) (1 children)

If the question was "how many repositories on GitHub mention the word electron", your answer would be correct. As it stands, citation is still very much needed.

[–] woelkchen@lemmy.world 2 points 1 year ago (1 children)

If the question was “how many repositories on GitHub mention the word electron”, your answer would be correct. As it stands, citation is still very much needed.

That is a valid citation. You can count yourself how many of those repositories are just for wrapping specific websites by random people. If you think I'm wrong, put your money where your mouth is and provide a citation yourself.

[–] BlueBockser@programming.dev -1 points 1 year ago (1 children)

The cited source does not prove your point, so it is not a valid source. If you make a statement, you go prove it. Until you do, I'm gonna assume it to be false.

[–] woelkchen@lemmy.world 2 points 1 year ago

The cited source does not prove your point, so it is not a valid source.

Your laziness to count repos is not my fault. 🤷

If you make a statement, you go prove it. Until you do, I’m gonna assume it to be false.

OK, then I'm continuing to assume your statements are false because you can't even be bothered to provide a citation why mine is not valid. Bye then.

[–] HenriVolney@sh.itjust.works 3 points 1 year ago

I guess my pun was lost on your computer mind too, I'll go back talking to my physics pals