run python as script in directory

pull/2/head
necro-nemesis 5 years ago
parent e1b8ab511d
commit 01a6120ce7

@ -123,9 +123,7 @@ function install_complete() {
fi
install_log "SNApp Launching"
echo -n "SNApp Launching"
cd $snapp_dir
sudo python3 -m http.server --bind localhost.loki 80
sleep 8
sudo $snapp_dir/lokipython.sh
exit 0 || install_error "Unable to exit"
}

@ -0,0 +1,2 @@
#!/usr/bin/env bash
python3 -m http.server --bind localhost.loki 80
Loading…
Cancel
Save