mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
1 KiB
1 KiB
Safe Chain Installer - WIP
This directory contains the build scripts and resources for creating standalone Safe Chain installers for different platforms.
Overview
The installer bundles the Safe Chain Node.js application into a standalone binary using @yao-pkg/pkg and creates platform-specific installers that:
- Install the
safe-chainbinary to the system PATH - Generate and install the CA certificate in the OS trust store
- Configure the system for automatic MITM proxy interception
Building the Installer
To build the installer for the current platform, run the following command from the root of the workspace:
npm run build:installer
To build for a specific platform, you can pass arguments to the script:
# macOS
npm run build:installer -- --platform=macos
# Linux
npm run build:installer -- --platform=linux
# Windows
npm run build:installer -- --platform=windows
The build artifacts (binaries and installer packages) will be created in the installer/dist directory.