🎉 初始化项目
This commit is contained in:
11
web-app/src/electron/start.sh
Executable file
11
web-app/src/electron/start.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
||||
|
||||
echo "Starting Electron Wrapper..."
|
||||
npm run start -- "$@"
|
||||
Reference in New Issue
Block a user