Created install.sh and pyshelf.sh

Also refactored methods to work as a zipapp
This commit is contained in:
2025-08-09 01:07:22 +00:00
parent f59d6530a9
commit 5f879804bc
2 changed files with 27 additions and 11 deletions

4
pyshelf.sh vendored
View File

@@ -9,8 +9,8 @@ else
exit 1
fi
# then we need to run the main script
if [ -f "release/pyshelf" ]; then
sudo -u pyshelf /etc/pyShelf/release/pyshelf
if [ -f "/etc/pyShelf/release/pyshelf" ]; then
exec /etc/pyShelf/release/pyshelf
else
echo "Main script not found. Please check the directory."
exit 1