Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
botbahlul authored Jun 19, 2023
1 parent a302ca4 commit 72a8637
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions linux/mypyinstaller.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/sh

folder1="./build"
folder2="./dist"
file1="./*.spec"

if [ -d "$folder1" ]; then
rm -rf "$folder1"
fi

if [ -d "$folder2" ]; then
rm -rf "$folder2"
fi

if [ -f "$file1" ]; then
rm -f "$file1"
fi

pyinstaller --python=/usr/local/bin/python3.8 \
--hidden-import argparse \
--onefile autosrt.py

0 comments on commit 72a8637

Please sign in to comment.