This commit is contained in:
2022-09-30 05:39:11 +00:00
parent 41ee9463ae
commit 4687fa49bc
11418 changed files with 1312504 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export const appBuilderPath: string
+22
View File
@@ -0,0 +1,22 @@
"use strict"
const path = require("path")
function getPath() {
if (process.env.USE_SYSTEM_APP_BUILDER === "true") {
return "app-builder"
}
const platform = process.platform;
if (platform === "darwin") {
return path.join(__dirname, "mac", "app-builder")
}
else if (platform === "win32") {
return path.join(__dirname, "win", process.arch, "app-builder.exe")
}
else {
return path.join(__dirname, "linux", process.arch, "app-builder")
}
}
exports.appBuilderPath = getPath()
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+51
View File
@@ -0,0 +1,51 @@
{
"_from": "app-builder-bin@3.5.10",
"_id": "app-builder-bin@3.5.10",
"_inBundle": false,
"_integrity": "sha512-Jd+GW68lR0NeetgZDo47PdWBEPdnD+p0jEa7XaxjRC8u6Oo/wgJsfKUkORRgr2NpkD19IFKN50P6JYy04XHFLQ==",
"_location": "/app-builder-bin",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "app-builder-bin@3.5.10",
"name": "app-builder-bin",
"escapedName": "app-builder-bin",
"rawSpec": "3.5.10",
"saveSpec": null,
"fetchSpec": "3.5.10"
},
"_requiredBy": [
"/builder-util"
],
"_resolved": "https://registry.npmjs.org/app-builder-bin/-/app-builder-bin-3.5.10.tgz",
"_shasum": "4a7f9999fccc0c435b6284ae1366bc76a17c4a7d",
"_spec": "app-builder-bin@3.5.10",
"_where": "/home/shihaam/www/freezer.shihaam.me/node_modules/builder-util",
"bugs": {
"url": "https://github.com/develar/app-builder/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "app-builder precompiled binaries",
"files": [
"*.js",
"mac",
"linux",
"win",
"index.d.ts"
],
"homepage": "https://github.com/develar/app-builder#readme",
"keywords": [
"snap",
"appimage",
"icns"
],
"license": "MIT",
"name": "app-builder-bin",
"repository": {
"type": "git",
"url": "git+https://github.com/develar/app-builder.git"
},
"version": "3.5.10"
}
+93
View File
@@ -0,0 +1,93 @@
# app-builder
Generic helper tool to build app in a distributable formats.
Used by [electron-builder](http://github.com/electron-userland/electron-builder) but applicable not only for building Electron applications.
```
usage: app-builder [<flags>] <command> [<args> ...]
app-builder
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
Commands:
help [<command>...]
Show help.
blockmap --input=INPUT [<flags>]
Generates file block map for differential update using content defined
chunking (that is robust to insertions, deletions, and changes to input
file)
-i, --input=INPUT input file
-o, --output=OUTPUT output file
-c, --compression=gzip compression, one of: gzip, deflate
download --url=URL --output=OUTPUT [<flags>]
Download file.
-u, --url=URL The URL.
-o, --output=OUTPUT The output file.
--sha512=SHA512 The expected sha512 of file.
download-artifact --name=NAME --url=URL [<flags>]
Download, unpack and cache artifact from GitHub.
-n, --name=NAME The artifact name.
-u, --url=URL The artifact URL.
--sha512=SHA512 The expected sha512 of file.
copy --from=FROM --to=TO [<flags>]
Copy file or dir.
-f, --from=FROM
-t, --to=TO
--hard-link Whether to use hard-links if possible
appimage --app=APP --stage=STAGE --output=OUTPUT [<flags>]
Build AppImage.
-a, --app=APP The app dir.
-s, --stage=STAGE The stage dir.
-o, --output=OUTPUT The output file.
--arch=x64 The arch.
--compression=COMPRESSION The compression.
--remove-stage Whether to remove stage after build.
snap --app=APP --stage=STAGE --output=OUTPUT [<flags>]
Build snap.
-t, --template=TEMPLATE The template file.
-u, --template-url=TEMPLATE-URL
The template archive URL.
--template-sha512=TEMPLATE-SHA512
The expected sha512 of template archive.
-a, --app=APP The app dir.
-s, --stage=STAGE The stage dir.
--icon=ICON The path to the icon.
--hooks=HOOKS The hooks dir.
--arch=amd64 The arch.
-o, --output=OUTPUT The output file.
--docker-image="snapcore/snapcraft:latest"
The docker image.
--docker Whether to use Docker.
--remove-stage Whether to remove stage after build.
icon --input=INPUT --format=FORMAT --out=OUT [<flags>]
create ICNS or ICO or icon set from PNG files
-i, --input=INPUT ... input directory or file
-f, --format=FORMAT output format
--out=OUT output directory
-r, --root=ROOT ... base directory to resolve relative path
dmg --volume=VOLUME [<flags>]
Build dmg.
--volume=VOLUME
--icon=ICON
--background=BACKGROUND
```
Binary file not shown.
Binary file not shown.