-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to guide? #1
Comments
Same here |
Same here, how are us expected to use this without an usage guide? What do I do with that code? should be in Gulp? normal js file? node? what? |
Hey! I apologize if the existing README isn't good enough - the module was built without a CLI use case in mind, but we could certainly add one. I'll see if I have time for that later this week. |
Did anyone figure out how to run this? |
How do I use this with electron-forge? Or anything else? In particular, where does the code under the "Usage" section go? How do I run it? It says creating an installer is a three step process, but then goes on to only list a single step (which is just the Usage section code itself) and doesn't say what to do with that code. |
Any update on a guide? |
I figured we have to run the file in node, so I used the native Node require() since the import statement cannot be used without Babel, due to it being an ES6 JS feature.
Upon running the code, even with the Toolkit and this node module installed, i get this error:
(node:4964) UnhandledPromiseRejectionWarning: Error: Could not find light.exe or candle.exe ` |
@JuanDavidLopez95 I was able to fix that problem by adding "C:\Program Files (x86)\WiX Toolset v3.11\bin" (with quotes) to my user variables and system variables for windows. |
Probably Babel is not an option. I used TypeScript and got a working installation.
My whole scripts block looks like this:
This compiles the TypeScript into ES and executes the script with Also, I had much more success using electron-builder instead of electron-packager. |
@joergkrause this should definitely be in the main readme |
How can anyone do any of this with a macos? |
@jerryheir I'm in the same situation, my fix was to get a VM. |
Oh okay. Thanks
…On Fri, Jun 26, 2020, 6:25 PM James Hurliman ***@***.***> wrote:
@jerryheir <https://github.com/jerryheir> I'm in the same situation, my
fix was to get a VM.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHDHZJ7YMM7K5MPAMIQKFMTRYTKX3ANCNFSM4EEH5NTQ>
.
|
how can I fix this in github actions? |
@a7madgamal I was able to get this working in GitHub Actions on The effect of this command is that WiX Toolset (which is already installed) gets added to the PATH variable for later steps to use. Make sure to put this step before anything that tries to use |
I've installed
I then installed But it still throws the same error. It cannot find Any ideas? |
The problem was the terminal that I was using. For some reason, it couldn't access the |
How to install these exe in github actions? |
@linonetwo this is what worked for me: https://github.com/mistermicheels/current-task/blob/master/.github/workflows/build-for-windows.yml#L19 P.S.: The |
Many thanks, @mistermicheels , so But this path modification seems to remove
What does |
@linonetwo you still need to install
For me, it doesn't seem to remove |
@linonetwo I just tested my existing GitHub Actions workflow with The best I can do is provide you my current workflow as a working example, I'm afraid you'll have to figure out the rest yourself. |
Thank you @mistermicheels you are very kind, and this works!
I also try to add some logging to the workflow run to try figuring out why
On the left is the one using |
Added support for associating extensions with exe
Wanted to try out this project but could not find usage steps
The text was updated successfully, but these errors were encountered: