Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux support added #21

Merged
merged 10 commits into from Nov 8, 2021
Merged

Linux support added #21

merged 10 commits into from Nov 8, 2021

Conversation

Efemache
Copy link
Contributor

@Efemache Efemache commented Nov 8, 2021

-- Linux --
The bot is (normally) working on Linux. (I have a bug but I think it exists on Windows, I'll open an issue)

The bot select Wnck/Gtk for Linux and AHK for Windows to focus on the Hearthstone window.
For mouse/keyboard support, I add to use autopygui which is multi-platform (windows, linux & macos) instead of AHK.

Need some tests on Windows too.

-- bug --
I solved a bug to with screen resolution when calling partscreen :
"partscreen(2560, " => replaced with "partscreen(int(setings[0].split('x')[0])"

--improvement --

  • removed "part.png" from repo (with .gitignore)
  • mouse random movement added (it is no more linear)

@Deopster Deopster merged commit 2c6853c into Deopster:exDev Nov 8, 2021
Deopster added a commit that referenced this pull request Nov 8, 2021
* Modern (#18)

* added free pve content

* fix to farm 23, 27, 28 levels

* start to work on Linux support using the real folders name (case sentive) (#19)

* OS detection added and screenshot removed from repo (#20)

* start to work on Linux support using the real folders name (case sentive)

* OS detection added (Windows / Linux) and support to catch the Hearthstone window on Linux

Wnck/GTK add to work on Linux support. More work is needed to mouse/keyboard support

* .gitignore added to delete screenshot from git repo

* remove one unnecessary AHK import

* Linux support added (#21)

* start to work on Linux support using the real folders name (case sentive)

* OS detection added (Windows / Linux) and support to catch the Hearthstone window on Linux

Wnck/GTK add to work on Linux support. More work is needed to mouse/keyboard support

* .gitignore added to delete screenshot from git repo

* remove one unnecessary AHK import

* Documentation for and dependencies to 'pyautogui' added

* win.rect replace by a function to work Windows & Linux

win.rect replace by a function (windowMP).
Will be change in near futur to be a class for "win" variable (to replace more AHK functions)

* resolution '2560' ('partscreen' function call) replaced by settings-file resolution

* support for Linux added - using pyautogui for Windows & Linux

* remove part.png from repository

Co-authored-by: MODERN122 <45830356+MODERN122@users.noreply.github.com>
Co-authored-by: Efemache <56414438+Efemache@users.noreply.github.com>
@Efemache Efemache deleted the exDev branch November 8, 2021 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants