mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
set assets dir
This commit is contained in:
2
pyshelf.sh
vendored
2
pyshelf.sh
vendored
@@ -8,9 +8,9 @@ else
|
|||||||
echo "Virtual environment not found. Please create it first."
|
echo "Virtual environment not found. Please create it first."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
export PYSHELF_ASSETS=/etc/pyShelf/src/frontend
|
|
||||||
# then we need to run the main script
|
# then we need to run the main script
|
||||||
if [ -f "/etc/pyShelf/release/pyshelf" ]; then
|
if [ -f "/etc/pyShelf/release/pyshelf" ]; then
|
||||||
|
sudo export PYSHELF_ASSETS=/etc/pyShelf/src/frontend
|
||||||
exec /etc/pyShelf/release/pyshelf
|
exec /etc/pyShelf/release/pyshelf
|
||||||
else
|
else
|
||||||
echo "Main script not found. Please check the directory."
|
echo "Main script not found. Please check the directory."
|
||||||
|
|||||||
Reference in New Issue
Block a user