Skip to content

Commit 9aa87ca

Browse files
authored
Merge pull request #2 from 0xkkl/main
auto restart + build
2 parents 44e8411 + f53c8af commit 9aa87ca

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
pip install -r requirements.txt
3+
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
4+
echo "Compiling for Linux..."
5+
nuitka --standalone --onefile CF-Handler.py
6+
7+
elif [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
8+
echo "Compiling for Windows..."
9+
nuitka --standalone --onefile --windows-disable-console CF-Handler.py
10+
else
11+
echo "Unsupported OS"
12+
fi

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nuitka

0 commit comments

Comments
 (0)