Skip to content

Commit

Permalink
Updated classic support
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Dec 10, 2019
1 parent 58fa63a commit 8d3992c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

macos:
name: macOS
runs-on: macOS-10.14
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
Expand Down
2 changes: 1 addition & 1 deletion CB/WeakAura.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def install_companion(self, client_type, force):
if not os.path.isdir(Path('Interface/AddOns/WeakAurasCompanion')) or force:
Path('Interface/AddOns/WeakAurasCompanion').mkdir(exist_ok=True)
with open(Path('Interface/AddOns/WeakAurasCompanion/WeakAurasCompanion.toc'), 'w', newline='\n') as out:
out.write(f'## Interface: {"11302" if client_type == "wow_classic" else "80205"}\n## Title: WeakAu'
out.write(f'## Interface: {"11303" if client_type == "wow_classic" else "80205"}\n## Title: WeakAu'
f'ras Companion\n## Author: The WeakAuras Team\n## Version: 1.0.0\n## Notes: Keep your WeakAu'
f'ras updated!\n## X-Category: Interface Enhancements\n## DefaultState: Enabled\n## LoadOnDem'
f'and: 0\n## Dependencies: WeakAuras\n\ndata.lua\ninit.lua')
Expand Down
2 changes: 1 addition & 1 deletion CB/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import string
import random

__version__ = '3.1.0'
__version__ = '3.1.1'
__license__ = 'GPLv3'
__copyright__ = '2019, Paweł Jastrzębski <[email protected]>'
__docformat__ = 'restructuredtext en'
Expand Down
6 changes: 3 additions & 3 deletions CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def start(self):
self.setup_console()
self.print_header()
# Check if executable is in good location
if not glob.glob('World*.app') and not os.path.isfile('Wow.exe') or \
if not glob.glob('World*.app') and not glob.glob('Wow*.exe') or \
not os.path.isdir(Path('Interface/AddOns')) or not os.path.isdir('WTF'):
printft(HTML('<ansibrightred>This executable should be placed in the same directory where Wow.exe or World '
'of Warcraft.app is located.</ansibrightred>\n'))
printft(HTML('<ansibrightred>This executable should be placed in the same directory where Wow.exe, '
'WowClassic.exe or World of Warcraft.app is located.</ansibrightred>\n'))
pause()
sys.exit(1)
# Detect Classic client
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The latest release can be found [here](https://github.com/AcidWeb/CurseBreaker/r
Please be aware that Linux and macOS versions are not thoroughly tested.

## USAGE
Place **CurseBreaker** binary inside directory containing `Wow.exe` or `World of Warcraft.app` and start it up.\
Place **CurseBreaker** binary inside directory containing `Wow.exe`, `WowClassic.exe` or `World of Warcraft.app` and start it up.\
Read the instructions on the top of the screen.

Already installed addons will not be recognized by **CurseBreaker** and they need to be reinstalled.\
Expand Down

0 comments on commit 8d3992c

Please sign in to comment.