Skip to content

Electron apps outdated #3

Open
Open

Description

@Spriithy

Hey ! Just to let you know that your way of doing things with electron is already outdated !
There are imperative arguments to : electron-packager such as --platform=, --arch= and --version=.

That means, your source code doesn't compile anymore !

@TheophileDano

Activity

  1. shama commented on Jun 5, 2015

    @shama
    Owner

    Dang! I knew that would happen but didn't think so soon. Thanks for the heads up!

    The good news is everything is versioned so the example here should hopefully still work. Please let me know if it doesn't.

  2. Spriithy commented on Jun 5, 2015

    @Spriithy
    Author

    You should have a look a TideSDK by the way. It is way easier to be honest.
    And thanks fort replying

    Le ven. 5 juin 2015 18:15, Kyle Robinson Young notifications@github.com a
    écrit :

    Dang! I knew that would happen but didn't think so soon. Thanks for the
    heads up!

    The good news is everything is versioned so the example here
    https://github.com/shama/letswritecode/tree/master/packaging-distributing-electron-apps
    should hopefully still work. Please let me know if it doesn't.

    —
    Reply to this email directly or view it on GitHub
    #3 (comment).

  3. shama commented on Jun 6, 2015

    @shama
    Owner

    Ah interesting, thanks for letting know about TideSDK!

  4. Spriithy commented on Jun 6, 2015

    @Spriithy
    Author

    Haha if you ever need something about it let me know

    Le sam. 6 juin 2015 02:00, Kyle Robinson Young notifications@github.com a
    écrit :

    Ah interesting, thanks for letting know about TideSDK!

    —
    Reply to this email directly or view it on GitHub
    #3 (comment).

  5. Spriithy commented on Jun 6, 2015

    @Spriithy
    Author

    Well after a quick review of your code in this sample, this shouldn't work.
    I've just cloned it, try to run it using the new electron version. Well that's what i used to say, doesn't work ;)

  6. shama commented on Jun 6, 2015

    @shama
    Owner

    Thanks! I added an annotation to the video indicating that electron-packager >= 4.0.0 now requires the platform, arch, and version options.

  7. Spriithy commented on Jun 6, 2015

    @Spriithy
    Author

    Sounds great ! But I was wondering, when I type electron-packager ./ app_name --platform=darwin --arch=x86 --version=0.27.2, the app will just launch the Electron default app... I guess I'm doing it wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions