1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-04 13:10:09 +02:00

add node modules to repo

This commit is contained in:
s2
2018-06-03 13:47:11 +02:00
parent e8c95255e8
commit d002126b72
4115 changed files with 440218 additions and 7519 deletions

View File

@@ -0,0 +1,41 @@
NAME
electron-osx-flat -- product building for Electron apps
SYNOPSIS
electron-osx-flat app [options ...]
DESCRIPTION
app
Path to the application package.
Needs file extension ``.app''.
--help
Flag to display all commands.
--identity=identity
Name of certificate to use when signing.
Default to selected with respect to --platform from --keychain specified or keychain by system default.
--identity-validation, --no-identity-validation
Flag to enable/disable validation for the signing identity.
--install=install-path
Path to install the bundle.
Default to ``/Applications''.
--keychain=keychain
The keychain name.
Default to system default keychain.
--platform=platform
Build platform of Electron.
Allowed values: ``darwin'', ``mas''.
Default to auto detect from application bundle.
--pkg
Path to the output the flattened package.
Needs file extension ``.pkg''.
--scripts
Path to a directory containing pre and/or post install scripts.

34
node_modules/electron-osx-sign/bin/electron-osx-flat.js generated vendored Executable file
View File

@@ -0,0 +1,34 @@
#!/usr/bin/env node
var fs = require('fs')
var path = require('path')
var args = require('minimist')(process.argv.slice(2), {
'boolean': [
'help'
]
})
var usage = fs.readFileSync(path.join(__dirname, 'electron-osx-flat-usage.txt')).toString()
var flat = require('../').flat
args.app = args._.shift()
if (!args.app || args.help) {
console.log(usage)
process.exit(0)
}
// Remove excess arguments
delete args._
delete args.help
flat(args, function done (err) {
if (err) {
console.error('Flat failed:')
if (err.message) console.error(err.message)
else if (err.stack) console.error(err.stack)
else console.log(err)
process.exit(1)
}
console.log('Application flattened, saved to:', args.pkg)
process.exit(0)
})

View File

@@ -0,0 +1,79 @@
NAME
electron-osx-sign -- code signing for Electron apps
SYNOPSIS
electron-osx-sign app [embedded-binary ...] [options ...]
DESCRIPTION
app
Path to the application package.
Needs file extension ``.app''.
embedded-binary ...
Path to additional binaries that will be signed along with built-ins of Electron, spaced.
--entitlements=file
Path to entitlements file for signing the app.
Default to built-in entitlements file, Sandbox enabled for Mac App Store platform.
--entitlements-inherit=file
Path to child entitlements which inherit the security settings for signing frameworks and bundles of a distribution.
This option only applies when signing with entitlements.
--gatekeeper-assess, --no-gatekeeper-assess
Flag to enable/disable Gatekeeper assessment after signing the app. Disabling it is useful for signing with self-signed certificates.
Gatekeeper assessment is enabled by default on ``darwin'' platform.
--help
Flag to display all commands.
--identity=identity
Name of certificate to use when signing.
Default to selected with respect to --provisioning-profile and --platform from --keychain specified or keychain by system default.
--identity-validation, --no-identity-validation
Flag to enable/disable validation for the signing identity.
--ignore=path
Path to skip signing. The string will be treated as a regular expression when used to match the file paths.
--keychain=keychain
The keychain name.
Default to system default keychain.
--platform=platform
Build platform of Electron.
Allowed values: ``darwin'', ``mas''.
Default to auto detect from application bundle.
--pre-auto-entitlements, --no-pre-auto-entitlements
Flag to enable/disable automation of entitlements file and Info.plist.
--pre-embed-provisioning-profile, --no-pre-embed-provisioning-profile
Flag to enable/disable embedding of provisioning profile.
--provisioning-profile=file
Path to provisioning profile.
--requirements=requirements
Specify the criteria that you recommend to be used to evaluate the code signature.
--strict-verify, --strict-verify=options, --no-strict-verify
Flag to enable/disable ``--strict'' flag when verifying the signed application bundle.
Each component should be separated in ``options'' with comma (``,'').
Enabled by default.
--timestamp=timestamp
Specify the URL of the timestamp authority server, default to server provided by Apple.
Disable the timestamp service with ``none''.
--type=type
Specify whether to sign app for development or for distribution.
Allowed values: ``development'', ``distribution''.
Default to ``distribution''.
--version=version
Build version of Electron.
Values may be: ``1.2.0''.
Default to latest Electron version.

43
node_modules/electron-osx-sign/bin/electron-osx-sign.js generated vendored Executable file
View File

@@ -0,0 +1,43 @@
#!/usr/bin/env node
var fs = require('fs')
var path = require('path')
var args = require('minimist')(process.argv.slice(2), {
'boolean': [
'help',
'pre-auto-entitlements',
'pre-embed-provisioning-profile',
'gatekeeper-assess'
],
'default': {
'pre-auto-entitlements': true,
'pre-embed-provisioning-profile': true,
'gatekeeper-assess': true
}
})
var usage = fs.readFileSync(path.join(__dirname, 'electron-osx-sign-usage.txt')).toString()
var sign = require('../').sign
args.app = args._.shift()
args.binaries = args._
if (!args.app || args.help) {
console.log(usage)
process.exit(0)
}
// Remove excess arguments
delete args._
delete args.help
sign(args, function done (err) {
if (err) {
console.error('Sign failed:')
if (err.message) console.error(err.message)
else if (err.stack) console.error(err.stack)
else console.log(err)
process.exit(1)
}
console.log('Application signed:', args.app)
process.exit(0)
})