File size: 373 Bytes
519a20c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

# Make sure pwd is the directory of the script
cd "$(dirname "$0")"

echo "Assuming nodejs and npm is already installed. If you haven't installed them already, do so now"
echo "Installing Electron Wrapper's Node Modules..."
npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev

echo "Starting Electron Wrapper..."
npm run start -- "$@"