Packaging electron app with jenkins and electron-packager2019 Community Moderator Electionelectron-packager and gloabl electron moduleHow to restart Jenkins manually?Electron Packager - set App Icons for OSX & WindowsElectron packaging apps issues- license and node.dllelectron command failed: npm prune --productionPackaging WIN app on OSX triggers request for Wine install. Why?Setting platform dependant icon via electron-forge electronPackagerConfigIs it possible to NEST .asar archives within Electron apps?Electron package no windowThe ordinal 345 could not be located in the dynamic link librarywhat is the command code for 64bit windows electron js?

Is it normal that my co-workers at a fitness company criticize my food choices?

What is the significance behind "40 days" that often appears in the Bible?

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

How are passwords stolen from companies if they only store hashes?

Does this sum go infinity?

Converting a variable frequency to TTL HIGH and LOW levels, based on a fixed (possible non-fixed?) frequency

How do I hide Chekhov's Gun?

Brexit - No Deal Rejection

Examples of transfinite towers

Happy pi day, everyone!

What's the meaning of a knight fighting a snail in medieval book illustrations?

A diagram about partial derivatives of f(x,y)

Adventure Game (text based) in C++

Violin - Can double stops be played when the strings are not next to each other?

What did “the good wine” (τὸν καλὸν οἶνον) mean in John 2:10?

Python if-else code style for reduced code for rounding floats

Is there a symmetric-key algorithm which we can use for creating a signature?

New passport but visa is in old (lost) passport

Describing a chess game in a novel

Simplify an interface for flexibly applying rules to periods of time

How to make healing in an exploration game interesting

"of which" is correct here?

Math equation in non italic font



Packaging electron app with jenkins and electron-packager



2019 Community Moderator Electionelectron-packager and gloabl electron moduleHow to restart Jenkins manually?Electron Packager - set App Icons for OSX & WindowsElectron packaging apps issues- license and node.dllelectron command failed: npm prune --productionPackaging WIN app on OSX triggers request for Wine install. Why?Setting platform dependant icon via electron-forge electronPackagerConfigIs it possible to NEST .asar archives within Electron apps?Electron package no windowThe ordinal 345 could not be located in the dynamic link librarywhat is the command code for 64bit windows electron js?










0















I'm trying to automate the build of an electron app using Jenkins. Before I did it using electron-packager directly on a windows PC (because the app is intended to be used in windows) but now I get the error :



15:55:32 Packaging app for platform win32 ia32 using electron v1.8.7
15:55:36 WARNING: Found 'electron' but not as a devDependency, pruning anyway
15:56:21 Could not find "wine" on your system.
15:56:21
15:56:21 Wine is required to use the appCopyright, appVersion, buildVersion, icon, and
15:56:21 win32metadata parameters for Windows targets.
15:56:21
15:56:21 Make sure that the "wine" executable is in your PATH.
15:56:21
15:56:21 See https://github.com/electron-userland/electron-packager#building-windows-apps-from-non-windows-platforms for details.


Packaging script (defined in package.json)



electron-packager . test-app --overwrite --asar --platform=win32 --arch=ia32 --prune=true --out=release-builds


My question is, how can I make wine inside Jenkins work ?










share|improve this question
























  • Can you show your code for packaging?

    – Mayank Vadiya
    Mar 7 at 21:11











  • Do you mean the one I have to define in package.json for electron-packager? I added it.

    – sie
    Mar 13 at 7:26















0















I'm trying to automate the build of an electron app using Jenkins. Before I did it using electron-packager directly on a windows PC (because the app is intended to be used in windows) but now I get the error :



15:55:32 Packaging app for platform win32 ia32 using electron v1.8.7
15:55:36 WARNING: Found 'electron' but not as a devDependency, pruning anyway
15:56:21 Could not find "wine" on your system.
15:56:21
15:56:21 Wine is required to use the appCopyright, appVersion, buildVersion, icon, and
15:56:21 win32metadata parameters for Windows targets.
15:56:21
15:56:21 Make sure that the "wine" executable is in your PATH.
15:56:21
15:56:21 See https://github.com/electron-userland/electron-packager#building-windows-apps-from-non-windows-platforms for details.


Packaging script (defined in package.json)



electron-packager . test-app --overwrite --asar --platform=win32 --arch=ia32 --prune=true --out=release-builds


My question is, how can I make wine inside Jenkins work ?










share|improve this question
























  • Can you show your code for packaging?

    – Mayank Vadiya
    Mar 7 at 21:11











  • Do you mean the one I have to define in package.json for electron-packager? I added it.

    – sie
    Mar 13 at 7:26













0












0








0








I'm trying to automate the build of an electron app using Jenkins. Before I did it using electron-packager directly on a windows PC (because the app is intended to be used in windows) but now I get the error :



15:55:32 Packaging app for platform win32 ia32 using electron v1.8.7
15:55:36 WARNING: Found 'electron' but not as a devDependency, pruning anyway
15:56:21 Could not find "wine" on your system.
15:56:21
15:56:21 Wine is required to use the appCopyright, appVersion, buildVersion, icon, and
15:56:21 win32metadata parameters for Windows targets.
15:56:21
15:56:21 Make sure that the "wine" executable is in your PATH.
15:56:21
15:56:21 See https://github.com/electron-userland/electron-packager#building-windows-apps-from-non-windows-platforms for details.


Packaging script (defined in package.json)



electron-packager . test-app --overwrite --asar --platform=win32 --arch=ia32 --prune=true --out=release-builds


My question is, how can I make wine inside Jenkins work ?










share|improve this question
















I'm trying to automate the build of an electron app using Jenkins. Before I did it using electron-packager directly on a windows PC (because the app is intended to be used in windows) but now I get the error :



15:55:32 Packaging app for platform win32 ia32 using electron v1.8.7
15:55:36 WARNING: Found 'electron' but not as a devDependency, pruning anyway
15:56:21 Could not find "wine" on your system.
15:56:21
15:56:21 Wine is required to use the appCopyright, appVersion, buildVersion, icon, and
15:56:21 win32metadata parameters for Windows targets.
15:56:21
15:56:21 Make sure that the "wine" executable is in your PATH.
15:56:21
15:56:21 See https://github.com/electron-userland/electron-packager#building-windows-apps-from-non-windows-platforms for details.


Packaging script (defined in package.json)



electron-packager . test-app --overwrite --asar --platform=win32 --arch=ia32 --prune=true --out=release-builds


My question is, how can I make wine inside Jenkins work ?







jenkins electron wine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 13 at 7:26







sie

















asked Mar 7 at 15:19









siesie

4610




4610












  • Can you show your code for packaging?

    – Mayank Vadiya
    Mar 7 at 21:11











  • Do you mean the one I have to define in package.json for electron-packager? I added it.

    – sie
    Mar 13 at 7:26

















  • Can you show your code for packaging?

    – Mayank Vadiya
    Mar 7 at 21:11











  • Do you mean the one I have to define in package.json for electron-packager? I added it.

    – sie
    Mar 13 at 7:26
















Can you show your code for packaging?

– Mayank Vadiya
Mar 7 at 21:11





Can you show your code for packaging?

– Mayank Vadiya
Mar 7 at 21:11













Do you mean the one I have to define in package.json for electron-packager? I added it.

– sie
Mar 13 at 7:26





Do you mean the one I have to define in package.json for electron-packager? I added it.

– sie
Mar 13 at 7:26












1 Answer
1






active

oldest

votes


















0














The short answer is that you can use the electron-packager API more effectively when trying to run in a build script/Jenkins environment. At least, that is what I found. This allows you to configure and parameterize your building much more succinctly.



In our case, we wrapped the electron-packager in a nice gulp script to make it build nicely and to be nicely callable from Jenkins.



This link might give you a sense of how to go about it and the standard components that would be good to use:



Example of Building an Electron app with electron-packager






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047209%2fpackaging-electron-app-with-jenkins-and-electron-packager%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The short answer is that you can use the electron-packager API more effectively when trying to run in a build script/Jenkins environment. At least, that is what I found. This allows you to configure and parameterize your building much more succinctly.



    In our case, we wrapped the electron-packager in a nice gulp script to make it build nicely and to be nicely callable from Jenkins.



    This link might give you a sense of how to go about it and the standard components that would be good to use:



    Example of Building an Electron app with electron-packager






    share|improve this answer



























      0














      The short answer is that you can use the electron-packager API more effectively when trying to run in a build script/Jenkins environment. At least, that is what I found. This allows you to configure and parameterize your building much more succinctly.



      In our case, we wrapped the electron-packager in a nice gulp script to make it build nicely and to be nicely callable from Jenkins.



      This link might give you a sense of how to go about it and the standard components that would be good to use:



      Example of Building an Electron app with electron-packager






      share|improve this answer

























        0












        0








        0







        The short answer is that you can use the electron-packager API more effectively when trying to run in a build script/Jenkins environment. At least, that is what I found. This allows you to configure and parameterize your building much more succinctly.



        In our case, we wrapped the electron-packager in a nice gulp script to make it build nicely and to be nicely callable from Jenkins.



        This link might give you a sense of how to go about it and the standard components that would be good to use:



        Example of Building an Electron app with electron-packager






        share|improve this answer













        The short answer is that you can use the electron-packager API more effectively when trying to run in a build script/Jenkins environment. At least, that is what I found. This allows you to configure and parameterize your building much more succinctly.



        In our case, we wrapped the electron-packager in a nice gulp script to make it build nicely and to be nicely callable from Jenkins.



        This link might give you a sense of how to go about it and the standard components that would be good to use:



        Example of Building an Electron app with electron-packager







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        Kim GentesKim Gentes

        530620




        530620





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid …


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55047209%2fpackaging-electron-app-with-jenkins-and-electron-packager%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

            Can't find variable: document ReactNative Js2019 Community Moderator ElectionReactNative: how to center text?Can't find variable: navigate - ReactNative navigationReact Native error: “Can't find variable: TouchableHighlight”How to use Expo.DocumentPicker.getDocumentAsync properly. [Expo] [ReactNative]Can't find variable: regeneratorRuntime (ReactNative)Reactnative Expo It is advisable for a StartUp?Can't find variable : Self / Can't install firebaseNPM Install Error in installing ReactNative CLIContacts Displaying in App using ReactnativeFacebook login error: can't find variable: Alert

            Posting a File and Associated Data to a RESTful WebService preferably as JSON2019 Community Moderator ElectionREST URI convention - Singular or plural name of resource while creating itUploading both data and files in one form using Ajax?How do I upload a file with metadata using a REST web service?REST API - file (ie images) processing - best practicesSpring: JSON data and file in the same requestREST API Put large dataPosting a file and JSON data to Spring rest serviceRESTful Web Service Upload/Download Large Data With JSONREST API Design sending JSON data and a file to the api in same requestPost JSONArray to REST servicePUT vs. POST in RESTParsing values from a JSON file?JavaScript/jQuery to download file via POST with JSON dataHow do I upload a file with metadata using a REST web service?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?Separate REST JSON API server and client?what's the correct way to send a file from REST web service to client?How do I write JSON data to a file?What is “406-Not Acceptable Response” in HTTP?REST API - file (ie images) processing - best practices