Add password reset feature to players module

This commit is contained in:
2025-06-21 18:34:41 +03:00
parent d8fd37e757
commit 5c90d62e78
5 changed files with 41 additions and 10 deletions

View File

@@ -3,6 +3,9 @@ set oldsum (cat (find . -name '*.rb' | sort) | md5sum)
if not test -p infinsweeper.db
sqlite3 infinsweeper.db < schema.sql
end
if not test -p db.json
echo "{\"account_num\":0,\"pass_num\":0}" > db.json
end
pkill ruby
ruby main.rb -p8080 &
if not test -p $pipe_path