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?
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 2 days ago
Kim GentesKim Gentes
530620
530620
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