Spaces:
Sleeping
Sleeping
add chromium browser to packages list
Browse files- chrome_sandbox +10 -2
- packages.txt +1 -0
chrome_sandbox
CHANGED
@@ -1,3 +1,11 @@
|
|
1 |
#!/bin/bash
|
2 |
-
|
3 |
-
google-chrome
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
#!/bin/bash
|
2 |
+
CHROME=""
|
3 |
+
if command -v google-chrome > /dev/null; then
|
4 |
+
CHROME=$(which google-chrome)
|
5 |
+
elif command -v chrome-browser > /dev/null; then
|
6 |
+
CHROME=$(which chrome-browser)
|
7 |
+
else
|
8 |
+
echo "No version for chrome found"
|
9 |
+
exit 1
|
10 |
+
fi
|
11 |
+
$CHROME --no-sandbox $@
|
packages.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
nodejs
|
2 |
npm
|
|
|
|
1 |
nodejs
|
2 |
npm
|
3 |
+
chromium-browser
|