Skip to content
This repository was archived by the owner on Jun 22, 2022. It is now read-only.

Commit 205f4f3

Browse files
committed
Added compile script.
This compile script is completely crap and will probably require modification for anyone else to use. Turns out it's also easier to use a third-party program to set metadata than it is to do with PyInstaller.
1 parent 60f7b8c commit 205f4f3

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,4 @@ ENV/
9898
/site
9999

100100
# mypy
101-
.mypy_cache/
102-
103-
# crouchjump
104-
compile.bat
105-
img/
106-
utils/
107-
dist/
101+
.mypy_cache/

compile.bat

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@RD /S /Q "dist"
2+
cd %~p0
3+
python %localappdata%\Programs\Python\Python35\Scripts\pyinstaller-script.py src/crouchjump.py --onefile --clean --icon=img/logo.ico --key=zfDzwOwIUvnQemip
4+
@RD /S /Q "build"
5+
del /s /q "crouchjump.spec"
6+
cd %~p0/utils/
7+
verpatch.exe ../dist/crouchjump.exe 1.0.0.0 /va /pv 1.0.0.0 /s description "A crouch-jump hotkey script for PUBG." /s product "Crouchjump" /s copyright "No copyright applied." /s company "https://github.com/snaacky"
8+
cd %~p0/src/
9+
@RD /S /Q "__pycache__"

img/logo.ico

36.2 KB
Binary file not shown.

img/logo.png

18.1 KB
Loading

utils/verpatch.exe

108 KB
Binary file not shown.

0 commit comments

Comments
 (0)