diff --git a/pyshelf.sh b/pyshelf.sh index 6701834..c8f86c6 100755 --- a/pyshelf.sh +++ b/pyshelf.sh @@ -8,9 +8,9 @@ else echo "Virtual environment not found. Please create it first." exit 1 fi -export PYSHELF_ASSETS=/etc/pyShelf/src/frontend # then we need to run the main script if [ -f "/etc/pyShelf/release/pyshelf" ]; then + sudo export PYSHELF_ASSETS=/etc/pyShelf/src/frontend exec /etc/pyShelf/release/pyshelf else echo "Main script not found. Please check the directory."