mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Crossplatform running and docs
This commit is contained in:
1 parent
910420b5d9
commit
5aefef465f
3 files changed
+59
-4
No files matched your search
@@ -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