mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 11:49:25 +00:00
Crossplatform running and docs
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
ELECTRON="$1"
|
||||
APP_ENTRY="src/main/node/app.js"
|
||||
SCREEN="1280x800"
|
||||
|
||||
@@ -33,7 +34,7 @@ OPENBOX_PID=$!
|
||||
|
||||
sleep 0.5
|
||||
|
||||
DISPLAY=":$DISP" electron "$APP_ENTRY" &
|
||||
DISPLAY=":$DISP" "${ELECTRON}" "$APP_ENTRY" &
|
||||
ELECTRON_PID=$!
|
||||
DISPLAY=":$DISP" xsetroot -solid "#009999"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user