set assets dir

This commit is contained in:
2025-08-09 02:13:16 +00:00
parent 2175e86f8b
commit a25b84fa6d

2
pyshelf.sh vendored
View File

@@ -10,7 +10,7 @@ else
fi fi
# 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 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."