From 6de596720cc17e7bc5f04100cc44b9b9e7535ae0 Mon Sep 17 00:00:00 2001 From: Lucas Di Pietro <59773132+lucs100@users.noreply.github.com> Date: Fri, 3 Nov 2023 13:05:08 -0400 Subject: [PATCH] Minor text fixes, update changelog for 1.1 release --- changelog.txt | 6 ++++++ src/client.py | 4 ++-- src/engine.py | 3 --- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index 4eb787a..6aaac3f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +v1.1 - November 3, 2023 +Focus on major performance improvements! Details: +* Unpacks and repacks now run in the backround instead of freezing the app temporarily. +* Merged repack warning popups into a single popup. This is still a bit ugly right now, but a fix is in development. + + v1.0 - October 23, 2023 Initial release of shtickerpack! Supports: * Unpacking .mf files. Automatically tries to locate a Clash installation to do so. diff --git a/src/client.py b/src/client.py index cfdfd54..2ba7da7 100644 --- a/src/client.py +++ b/src/client.py @@ -35,7 +35,7 @@ "Clash will automatically use any packed files in the /contentpacks/ folder in-game. "+ "Simply remove any .mf file from this folder to disable it.") -APP_NAME = "repacker" +APP_NAME = "shtickerpack" ORG_NAME = "lucs100" APP_VER = "1.1" @@ -391,7 +391,7 @@ def repackTargetDir(self, button: QPushButton): if not modName.isalnum(): #should refactor these checks but w/e... msg = QMessageBox.critical(None, "Invalid mod name!", "Your mod name can only be alphanumeric! Note your mod name shouldn't end with '.mf'.") return False - + if engine.modExists(self.DEFAULT_OUTPUT_DIR, modName): msg = QMessageBox.critical(None, "Mod already exists!", f"{modName}.mf already exists in the output folder!\n({outputDir})") return False diff --git a/src/engine.py b/src/engine.py index 399a5e1..9af8c67 100644 --- a/src/engine.py +++ b/src/engine.py @@ -174,9 +174,6 @@ def addResult(self, result: phasePackResult): def getMaxWarningLevel(self) -> int: return max(self.warnings.values()) - - def getWarningTypes(self) -> "set[int]": - return sorted(set(self.warnings.values()), reverse=True) #descending def getFilesAtLevel(self, queryLevel: int) -> "list[str]": output = []