mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix some scripting issues
This commit is contained in:
parent
2158478894
commit
97bbc77162
11 changed files with 129 additions and 53 deletions
21
installer/scripts/darwin_build_installer.sh
Executable file
21
installer/scripts/darwin_build_installer.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Get the directory where this script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
INSTALLER_ROOT="${SCRIPT_DIR}/.."
|
||||
|
||||
echo "=== Building Safe Chain Installer for macOS ==="
|
||||
|
||||
# Ensure we are in the installer directory
|
||||
cd "${INSTALLER_ROOT}"
|
||||
|
||||
# Install dependencies
|
||||
echo "Installing build dependencies..."
|
||||
npm install
|
||||
|
||||
# Build the binary and installer using the Node.js build script
|
||||
echo "Building binary and installer..."
|
||||
node build.js --platform=macos
|
||||
|
||||
echo "Done."
|
||||
Loading…
Add table
Add a link
Reference in a new issue