Packaging electron app with jenkins and electron-packager The Next CEO of Stack Overflowelectron-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?
Received an invoice from my ex-employer billing me for training; how to handle?
If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?
Return the Closest Prime Number
How to invert MapIndexed on a ragged structure? How to construct a tree from rules?
MessageLevel in QGIS3
If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?
How does the Z80 determine which peripheral sent an interrupt?
Interfacing a button to MCU (and PC) with 50m long cable
Written every which way
Is it professional to write unrelated content in an almost-empty email?
Why does the UK parliament need a vote on the political declaration?
WOW air has ceased operation, can I get my tickets refunded?
What happened in Rome, when the western empire "fell"?
Is there a difference between "Fahrstuhl" and "Aufzug"
Is it possible to search for a directory/file combination?
Won the lottery - how do I keep the money?
What happens if you roll doubles 3 times then land on "Go to jail?"
In excess I'm lethal
Do I need to enable Dev Hub in my PROD Org?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
Which tube will fit a -(700 x 25c) wheel?
Does it take more energy to get to Venus or to Mars?
If the heap is initialized for security, then why is the stack uninitialized?
Is it my responsibility to learn a new technology in my own time my employer wants to implement?
Packaging electron app with jenkins and electron-packager
The Next CEO of Stack Overflowelectron-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?
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
add a comment |
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
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
add a comment |
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
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
jenkins electron wine
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Mar 14 at 1:32
Kim GentesKim Gentes
540821
540821
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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