jack-mil / bing-rewards

A script to automate daily Bing rewards points
MIT License
177 stars 23 forks source link

Update __init__.py for macOS on brave #42

Closed Lombae closed 8 months ago

Lombae commented 8 months ago

Hi, I'm new to GitHub, I hope I did things correctly! This little changing of these 4 lines of code allows you to get the correct keyboard input when selecting the search bar when using the script in brave browser from MacOS

jack-mil commented 8 months ago

Can you make this pull request against the develop branch instead of master? That is where all new features go. I have never tested this on Mac OS, so it doesn't suprise me that the keyboard shortcuts don't work out of the box. Sorry about that. However, seems like changing the shortcut outright will break compatibility with other platforms. There will need to be some check to detect the platform I think. What happens with Key.cmd is used on a non-Mac platform I wonder?