Comments (8)
I'll take a look further into this per your note at #4 . I'm not sure if auto-detecting binaries would be the easiest way or if that is possible..? For example - in my app I actually make a call out to a python script which is treated like a binary, but is not really a binary file, it merely needs to be signed with an entitlement to be accepted.
I'll see if I can figure out if there is a way to reliably do it without any user input, or otherwise provide some sensible argument.
from osx-sign.
@jasonhinkle Sounds good. Anyway we could go for the --additional-binaries
option without too much work. Also, I'm not sure about a workable delimiter as commas may be used as parts of the paths to any files.
As I'm using substack/minimist
to parse the arguments, app
as part of the input. We may have all other arguments after the first as additional binaries to be signed:
# To have path/to/my/binary and path/to/my/another/binary.dylib as additional binaries to be signed:
electron-osx-sign my_app.app path/to/my/binary path/to/my/another/binary.dylib
# To have options as well
electron-osx-sign my_app.app path/to/my/binary path/to/my/other/binary [--options...]
Any suggestions on this way of working?
from osx-sign.
I think that would work just fine, it makes sense I think. It probably will be a lesser-used option I'm sure, but as I'm finding electron makes an awesome way to write GUI for command-line applications. That's what I'm doing, ffmpeg in my case I'm able to make simple GUIs to do complicated file conversions.
I haven't had a chance to write any code yet but if you don't get to it then I will once i'm finished with my current project.
from osx-sign.
@jasonhinkle That's fine. I could work on a fork tomorrow on a concatenation of files/dirs along with the required binaries quite quickly.
from osx-sign.
Here it is; it looks like a neat way to work around this issue: https://github.com/sethlu/electron-osx-sign/pull/8
from osx-sign.
I just tested it, there's a minor bug:
Line 114 of index.js:
if (opts.binaries) childPaths.concat(opts.binaries)
should be this:
if (opts.binaries) childPaths = childPaths.concat(opts.binaries)
Once I changed that it worked and signed the additional binaries - awesome!
from osx-sign.
@jasonhinkle cool, thanks! I'll also do some manual testing and that should be ready for merging.
from osx-sign.
Just merged #8. The signing with additional binaries should be available for future releases, which I'm planning to do now, as a lot have been changed since the last.
Again, thanks for helping to improve this module!
from osx-sign.
Related Issues (20)
- Sandbox entitlement leads to crash at launch HOT 2
- "Unidentified developer" when opening universal app HOT 12
- Unsigned library dependencies HOT 1
- Latest release (1.0.2) is broken: [FAILED] Cannot find module './sign' (ships only index.js, eg. sign.js is missing) HOT 4
- Electron-Fast Api App not working after signing HOT 1
- Bypass spctl check?
- Running electron-oxs-sign on MacBook Air (M2) prevent python from working thereafter HOT 2
- Cannot push to Appstore Connect
- Asset validation failed (90266) Install folder failed HOT 1
- Mac App Store refuses app via transporter HOT 11
- Signing fails in Yarn PnP environments HOT 3
- invalid destination for symbolic link in bundle HOT 1
- Hello world
- preAutoEntitlements are applied to wrong files (inherit files) and breaks Mac App Store build HOT 1
- Signed app crashing on arm64 HOT 1
- Default `embedded.provisionprofile` doesn't used in `signApplication` HOT 2
- Codesign all files in one step
- `codesign` randomly hangs forever when building the app HOT 4
- MAS build crashes right before mainWindow gets visible: GPU not usable HOT 4
- OSX sign
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 osx-sign.