1
0
mirror of https://github.com/c9fe/22120.git synced 2024-10-03 21:57:13 +02:00

Updating build scripts

This commit is contained in:
Cris Stringfellow 2023-07-23 09:57:19 +08:00
parent 745a9a44a6
commit ec7f2a4bb3
No known key found for this signature in database
2 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "diskernet",
"version": "2.9.0",
"version": "3.0.0",
"type": "module",
"description": "Library server and an archivist browser controller.",
"main": "src/app.js",
@ -41,7 +41,7 @@
"library"
],
"author": "@dosy",
"license": "PolyForm Strict 1.0",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/dosyago/DiskerNet/issues"
},

View File

@ -1,9 +1,14 @@
#!/usr/bin/env bash
./scripts/build_only.sh
unset npm_config_prefix
source $HOME/.nvm/nvm.sh
nvm use --lts
PKG=$(which pkg)
if [ -z $PKG ]; then
npm i -g pkg@latest
PKG=$(which pkg)
fi
pkg --compress GZip .
./scripts/build_only.sh
$PKG --compress GZip .