|
@@ -44,8 +44,7 @@ public class ElectronUtils {
|
|
|
} else {
|
|
|
String cmd = LINUX_PREFIX + String.format(script, url, path);
|
|
|
String[] commands = new String[]{
|
|
|
- "/bin/bash",
|
|
|
- "-c",
|
|
|
+ "/bin/sh", "-c",
|
|
|
"export DISPLAY=':99.0'",
|
|
|
"Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &",
|
|
|
"cd /usr/local/nodejs/node_global/bin", cmd
|