Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 04aa8a5

Browse files
added support for signature options
1 parent b7465ab commit 04aa8a5

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

‎quickpkg‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def writePlistToString(plistObject):
156156
#
157157

158158

159-
quickpkg_version = '0.5'
159+
quickpkg_version = '0.6'
160160
supported_extensions = ['dmg', 'app', 'zip']
161161

162162

@@ -363,7 +363,13 @@ if __name__ == "__main__":
363363
parser.add_argument('--no-relocatable', dest='relocatable', action='store_false',
364364
help="sets BundleIsRelocatable in the PackageInfo (DEFAULT is false)")
365365
parser.set_defaults(relocatable=False)
366-
366+
367+
parser.add_argument('--sign',
368+
help='Adds a digital signature to the resulting package.')
369+
parser.add_argument('--keychain',
370+
help='Specify a specific keychain to search for the signing identity.')
371+
parser.add_argument('--cert',
372+
help='Specify an intermediate certificate to be embedded in the package.')
367373

368374
parser.add_argument("-v", "--verbosity", action="count", default=0, help="controls amount of logging output (max -vvv)")
369375
parser.add_argument('--version', help='prints the version', action='version', version=quickpkg_version)
@@ -545,6 +551,13 @@ if __name__ == "__main__":
545551
if args.ownership:
546552
pkgcmd.extend(["--ownership", args.ownership])
547553

554+
if args.sign:
555+
pkgcmd.extend(["--sign", args.sign])
556+
if args.keychain:
557+
pkgcmd.extend(["--keychain", args.keychain])
558+
if args.cert:
559+
pkgcmd.extend(["--cert", args.cert])
560+
548561
result = cmdexec(pkgcmd)
549562

550563
logger(result["stdout"], 1)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /