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

linuxmemes

20686 readers
1221 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
[–] [email protected] 24 points 1 year ago (5 children)

it’s hard to do without them

Just load the wrapped website in a browser.

[–] [email protected] 28 points 1 year ago (2 children)

Or even better, encourage native apps.

[–] [email protected] 7 points 1 year ago (1 children)

Or even better, steal their source code. 😈

[–] [email protected] -2 points 1 year ago

That's not better at all.

[–] [email protected] -1 points 11 months ago (1 children)

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

[–] [email protected] 1 points 11 months ago

Or Linux, yes.

[–] [email protected] 7 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.

[–] [email protected] -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.

[–] [email protected] 4 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.

[–] [email protected] -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.

[–] [email protected] 2 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.

[–] [email protected] 6 points 11 months 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.

[–] [email protected] 1 points 11 months 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

[–] [email protected] -1 points 11 months ago* (last edited 11 months 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?

[–] [email protected] 0 points 11 months ago (1 children)

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

[citation needed]

[–] [email protected] 2 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months ago* (last edited 11 months 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.

[–] [email protected] 3 points 11 months 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.

[–] [email protected] -1 points 11 months 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.

[–] [email protected] 2 points 11 months 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.

[–] [email protected] 3 points 11 months ago

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