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

            How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

            List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229