42

Finally decided to give Electron a try.

Weirdly very easy to set up and use. I'm sceptical. Something has to go wrong. Desktop app creation can't be this easy!

But if it doesn't, I'm going to be making a custom game launcher from myself.

Comments
  • 14
    Glad my machine has 32GB of RAM so I don't have to worry about that. Although I have noticed that I get a significant performance boost by closing the Discord window when in VR. With it open all apps use asynchronous projection.
  • 5
    You motivated me. I gotta try this, as soon as I get home
  • 4
    @BambuSource

    It's honestly so easy. For an NPM install it took no time and just seems to work... Styling it is a breeze and it is pretty fast.

    What are you thinking of making?
  • 3
    @Charon92 I just always wanted to give desktop apps a try but I can't seem to enjoy windows tools (vs) nor Javas or pythons GUI.

    I don't know really, probably something useless. A todolist maybe...

    Best would be if I got to apply fluent on it - but I recently found out that it's not quite supported :/
  • 3
    @BambuSource

    Yeah most GUI's are horrific. I tried making a python desktop app and it was disgusting. But this great. Honestly, give it a go!

    Make whatever. Let me know how far you get and maybe we could spur each other on :)
  • 3
    @BambuSource with yeoman.io you're 3 min away from running a electron instance.

    https://github.com/sindresorhus/...
  • 9
    The problem comes when you launch the app... and... it.... opens
  • 7
    Don’t listen to the haters, Electron rocks
  • 7
    @Tim-Ballers-Lee

    You're fucking name dude.

    Yes!
  • 7
    If it sounds too good to be true, it ain't true. Electron is seriously bloated and uses waaay too much resources
  • 7
    I don't know if people know this, but people throughout time in computer science history always said "x takes too many resources", without realizing that resource requirements grow over time. The idea that an app could take 1 MB of RAM in the 80s would've been thought of as extremely inefficient and pointless.

    How could developers be so bad that they couldn't make do with 64KB?

    And in 20 years it'll be laughable that an app taking up 1GB of RAM was thought as potentially problematic for future development. We already commonly have 32 GB of RAM in systems, using 2 GB of that is like using 250 MB in a computer with 4 GB of RAM.
  • 7
    ACTUALLY,

    If you ever bothered to try

    you'd realise that NATIVE desktop app creation is much easier, performs better, has access to more features, and doesn't suck so much in every other way imaginable.
  • 3
    I am on the same page with @BambuSource , i want to find a new way to build desktop apps.

    Electron seems promising, but running a new instance of whole Chromium just because i have some buttons and textviews seems a little overkill to me.
  • 3
  • 2
    Had to do one little app once and decided to give it a try. Worked better than expected and crosscompiling on ubuntu worked fucking great (creating files for linux, windows and mac) okay... I had to install wine for windows executables. However, what I didn't manage, was to pack exery thing in one executeable .exe file, so I had to ship the whole folder and tell them to just click the one exe in there, leave all the other files alone! And create a shortcut to it...
  • 2
    @Zennoe Discord guzzles resources lol
  • 1
  • 1
    @Wack

    Hmmm, that is going to be an issue.

    I was hoping to be able to use it to create an .exe at the very least or I guess have it make a desktop shortcut.

    I'll have to be careful and look into how to do it properly.

    Are there any "Gotchas" I need to be careful of that you know?
  • 1
    @Charon92 it is possible, somehow, I just didn't manage to make it working and didn't have the time to really look into it...
  • 0
    @Wack

    In that case I'll do it for you! I've got all weekend to fuck around with it.
  • 1
  • 1
    @Cyanide

    Wait... I'm too tired from this. Which you're were you referring to?
  • 2
    @Wack Installshield 😄
  • 1
    @Charon92

    "You're fucking name dude."
  • 2
    @heyheni wait, is it a programm to create exe files from "folders"?
  • 1
    If anyone is interested, this would be the build script I used on linux: https://gist.github.com/pascalwacke...
  • 1
    @Wack yeah like in the ninties computer games with the mandatory direct x install. 😄 It decompresses the archive file, copies the file to applications folder, creates shortcuts to the desktop and start menue and an creates an unistall script for the user.

    you'll need an installer of some sort.
    https://helpdeskgeek.com/free-tools...
  • 1
    @heyheni do you know of any way to do this on a linux machine? I don't feel like booting my girlfriends windowsmachine every time (or run a vm :P)
  • 2
    I used to rant about elecron and I still think it is a big waste of resources for apps. However I genuinly think that it is perfect for a project like a game launcher: it is not meant to run very long, and lets devs spend more time on the game itself rather than the launcher.
    I'll give it a try too!
  • 1
  • 0
    @heyheni sounds interesting. Do you know of a service offering both win and mac? In case I wan't to compile an ios project? :P
  • 1
    @Wack no, the terms of service forbids installing macOS on a non apple computer.

    but somehow the swiss company innofeld ag managed to do that legally. but it's expensive.
    https://xcloud.me/

    sixa is fun, because you can run games like call of duty and battlefield on it.
  • 1
    @heyheni and they are playable? (The games on windows)

    As for the mac hosting as it seams, they run the VM's on mac hardware, so it's not a violation of ToS
Your Job Suck?
Get a Better Job
Add Comment