Skip to content

Commit

Permalink
Merge pull request #2 from 0xkkl/main
Browse files Browse the repository at this point in the history
auto restart + build
  • Loading branch information
ProbAlex authored Nov 10, 2024
2 parents 44e8411 + f53c8af commit 9aa87ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
pip install -r requirements.txt
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "Compiling for Linux..."
nuitka --standalone --onefile CF-Handler.py

elif [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
echo "Compiling for Windows..."
nuitka --standalone --onefile --windows-disable-console CF-Handler.py
else
echo "Unsupported OS"
fi
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nuitka

0 comments on commit 9aa87ca

Please sign in to comment.