Skip to content

Commit

Permalink
wemod path bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dyang886 committed Jul 29, 2024
1 parent d1a85ba commit 961368f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
__pycache__
.venv
.vscode
.DS_Store
*.mo
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self):
self.setMinimumSize(680, 520)

# Version and links
self.appVersion = "2.1.0"
self.appVersion = "2.1.1"
self.githubLink = "https://github.com/dyang886/Game-Cheats-Manager"
self.updateLink = "https://api.github.com/repos/dyang886/Game-Cheats-Manager/releases/latest"
self.bilibiliLink = "https://space.bilibili.com/256673766"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ fuzzywuzzy
pinyin
polib
psutil
pyinstaller
PyQt6
PyQt6-WebEngine
python-Levenshtein
Expand Down
4 changes: 2 additions & 2 deletions wemod.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def selectWeModPath(self):
self.installLineEdit.setText(os.path.normpath(directory))

def setWeModPath(self):
settings["WeModPath"] = self.installLineEdit.text()
settings["WeModPath"] = self.installLineEdit.text().strip()
apply_settings(settings)
self.findWeModVersions(self.installLineEdit.text())
self.findWeModVersions(settings["WeModPath"])

def findWeModVersions(self, weModPath):
self.weModVersions = []
Expand Down

0 comments on commit 961368f

Please sign in to comment.