main funcions fixes

This commit is contained in:
2025-09-29 22:06:11 +09:00
parent 40e016e128
commit c8c3274527
7995 changed files with 1517998 additions and 1057 deletions

21
desktop-operator/node_modules/app-builder-bin/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Vladimir Krivosheev
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1 @@
export const appBuilderPath: string

26
desktop-operator/node_modules/app-builder-bin/index.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
"use strict"
const path = require("path")
function getPath() {
if (process.env.USE_SYSTEM_APP_BUILDER === "true") {
return "app-builder"
}
if (!!process.env.CUSTOM_APP_BUILDER_PATH) {
return path.resolve(process.env.CUSTOM_APP_BUILDER_PATH)
}
const { platform, arch } = process;
if (platform === "darwin") {
return path.join(__dirname, "mac", `app-builder_${arch === "x64" ? "amd64" : arch}`)
}
else if (platform === "win32") {
return path.join(__dirname, "win", arch, "app-builder.exe")
}
else {
return path.join(__dirname, "linux", arch, "app-builder")
}
}
exports.appBuilderPath = getPath()

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,48 @@
{
"name": "app-builder-bin",
"description": "app-builder precompiled binaries",
"version": "5.0.0-alpha.10",
"files": [
"index.js",
"mac",
"linux",
"win",
"index.d.ts"
],
"license": "MIT",
"repository": "develar/app-builder",
"keywords": [
"snap",
"appimage",
"icns"
],
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"conventional-changelog-cli": "^4.1.0"
},
"publishConfig": {
"tag": "next",
"git-checks": false,
"executableFiles": [
"linux/arm/app-builder",
"linux/arm64/app-builder",
"linux/ia32/app-builder",
"linux/loong64/app-builder",
"linux/riscv64/app-builder",
"linux/x64/app-builder",
"mac/app-builder",
"mac/app-builder_amd64",
"mac/app-builder_arm64",
"win/arm64/app-builder.exe",
"win/ia32/app-builder.exe",
"win/x64/app-builder.exe"
]
},
"scripts": {
"changeset": "changeset",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"ci:version": "pnpm changelog && changeset version && make assets && git add .",
"ci:publish": "make build-all && pnpm publish --no-git-checks --tag next && changeset tag"
}
}

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.

Binary file not shown.