This commit is contained in:
bipproduction
2025-10-06 17:42:17 +08:00
parent cb789e43b7
commit 992b0ca2db
3 changed files with 6 additions and 4 deletions

View File

@@ -188,8 +188,10 @@ function handleCompose(name?: string): void {
return;
}
if(args.port.length !== 2) {
console.error("❌ Compose port must be 2 digits");
const _port = args.port.toString().padStart(2, "0");
if(_port.length !== 2) {
console.error(`❌ Compose port must be 2 digits [00-99] , ${args.port}`);
return;
}

View File

@@ -86,7 +86,7 @@ echo "Generating directory..."
mkdir -p data data/app data/postgres data/frpc data/ssh
echo "Generating authorized_keys..."
cat << EOF > data/ssh/authorized_keys
cat > data/ssh/authorized_keys <<EOF
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDfXPd7ab21qdKtKKdv2bLxIa9hEqq2oLLj7c3i/rN2f bip@bips-Air
EOF

View File

@@ -1,6 +1,6 @@
{
"name": "g3n",
"version": "1.0.15",
"version": "1.0.17",
"type": "module",
"bin": {
"g3n": "./bin/g3n.ts"