mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00

This results in ~10MB savings, which is not much, but still worth reducing as much as we can. See: https://github.com/resin-io/etcher/issues/711 Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>
1.6 KiB
1.6 KiB
Running locally
This document aims to serve as a guide to get Etcher running locally on your development machine.
Prerequisites
Common
Windows
- Rimraf
- Asar
- NSIS v2.51 (v3.x won't work)
- Visual Studio Community 2013
OS X
Cloning the project
git clone https://github.com/resin-io/etcher
cd etcher
Installing dependencies
Please make use of the following scripts to install dependencies rather than
simply running npm install
given that we need to do extra configuration to
make sure native dependencies are correctly compiled for Electron, otherwise
the application might not run successfully.
OS X
./scripts/build/darwin.sh install
GNU/Linux
./scripts/build/linux.sh install <x64|x86>
Windows
Run the following command from the Developer Command Prompt for VS2013,
to ensure all Visual Studio command utilities are available in the %PATH%
:
.\scripts\build\windows.bat install <x64|x86>
Running the application
GUI
npm start
CLI
node bin/etcher