Skip to content

Commit

Permalink
use windows graphics capture
Browse files Browse the repository at this point in the history
add uac to run as admin
  • Loading branch information
ok-oldking committed Jul 2, 2024
1 parent 123f2f1 commit d82a656
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ Automation for Wuthering waves

### How to Run

* Download the exe from [release](releases)
* Download the 7z from [release](releases), extract and run the exe
* May need to add the app folder to Windows Defender white list.
* Run the exe as Admin, because we need permission to send key and mouse event
* Game must be a 16:9 ratio like 1920*1080, 3840*2160, lowest supported resolution is 1280*720
* Game must be a 16:9 ratio like 1920x1080, 3840x2160, lowest supported resolution is 1280*720
* Can run while game is in background, but not minimized

### Development

use Python 3.11, other versions might work but not tested

```
pip install -r requirements.txt
python main_debug.py
Expand Down
1 change: 1 addition & 0 deletions main.spec
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ exe = EXE(
target_arch=None,
codesign_identity=None,
entitlements_file=None,
uac_admin=True,
)

coll = COLLECT(
Expand Down

0 comments on commit d82a656

Please sign in to comment.