Comments (4)
zxp-provider simply provides a path to the executable, so yes you can use -selfSignedCert.
Using it is no different than any other child_process that you could start with node.js (see node's docs on how to spawn a child_process)
I think the quickest example would be in gizmo's gulpfile: https://github.com/codearoni/generator-gizmo/blob/master/app/templates/gulpfile.js#L89 (where zxp == binPath).
Gizmo will eventually utilize zxp-provider. No time at the moment to push through that change though.
from zxp-provider.
@jfairley, so in the process of trying to sanely integrate ZXPSignCmd into a build chain, I ended up creating another module with an actual interface: https://github.com/codearoni/zxp-sign-cmd
Is that what you're looking for?
from zxp-provider.
YES! https://github.com/codearoni/zxp-sign-cmd is exactly what I was thinking.
I mean I already have all this set up and working with shell scripts, but I like what you've done. Mostly because, no matter what tool I find myself using, executing the signer is always awkward to express in JS. Take your 10-line gulp task as an example.
Very cool. 👍
from zxp-provider.
Right on. Yea I've found that executable's can be troublesome to maintain in node child_processes when they're not wrapped in some fashion - especially when the exe is expecting arguments in a specific order, like ZXPSignCmd does.
I contemplated slapping it in here, but decided to keep it pure so that anyone could use zxp-provider to access the raw binary, should they choose. cheers
from zxp-provider.
Related Issues (7)
- Given ZXPSignCmd bin doesn't work on Debian 9 HOT 1
- Binary doesn't contain all of the commands / Permissions HOT 2
- not pulling latest ZXPSignCMD version 4.1.2 HOT 5
- OSX Binary doesn't have execution permission HOT 8
- Add postinstall command to set permissions on OSX HOT 6
- Building zxp for Indesign 2018 on Windows will not be running well on Mac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zxp-provider.