Skip to content

Commit

Permalink
Changed the version number; Added information for building a .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
LakayFTW committed May 9, 2024
1 parent b94dd23 commit f058c78
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,14 @@ __Use this with caution!.__
- Install requirements
- `pip install -r requirements.txt`
- Run clicker.py
- `python clicker.py`
- `python clicker.py`

## Building your own .exe
If you made changes to the code you can build your own .exe very easily.
1. Install pyinstaller
- `pip install pyinstaller`
2. Use pyinstaller
- `pyinstaller clicker.py --onefile -w`
- --onefile: provides just a single .exe file
- -w removes the cli
- If you dont want a single cli and need all the other files, just remove it from the command.
2 changes: 1 addition & 1 deletion clicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def write_key(key, stop_event):
def main():
stop_event = Event()
initial_text = "None"
window_title = "Autoclicker v0.1"
window_title = "Autopresser v0.2"
pressedKey = None
sg.theme('DarkAmber')
layout = [
Expand Down

0 comments on commit f058c78

Please sign in to comment.