From 03721f18fd5c8cb15406debe973b9207b0e4391e Mon Sep 17 00:00:00 2001 From: Robby Attila Date: Wed, 27 Sep 2023 18:18:27 -0700 Subject: [PATCH] update paths --- .gitignore | 1 + .../Dark Terrain [7.34]/blacklist.txt | 6 --- gui.pyw | 40 +++++++------------ mods/Dark Terrain [7.34]/blacklist.txt | 2 +- mods/Minify Base Attacks/blacklist.txt | 2 +- mods/Minify Spells & Items/blacklist.txt | 2 +- mods/Misc Optimization/blacklist.txt | 2 +- mods/Remove Ambient Sounds/blacklist.txt | 2 +- 8 files changed, 21 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index a5f6a97..2434e1d 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ venv/ ENV/ env.bak/ venv.bak/ +bin/modpaths/urls.txt diff --git a/bin/modpaths/Dark Terrain [7.34]/blacklist.txt b/bin/modpaths/Dark Terrain [7.34]/blacklist.txt index 93578e2..589ee61 100644 --- a/bin/modpaths/Dark Terrain [7.34]/blacklist.txt +++ b/bin/modpaths/Dark Terrain [7.34]/blacklist.txt @@ -108,12 +108,6 @@ models\props_structures\vines_wall001.vmdl_c models\props_structures\vines_wall003.vmdl_c models\props_teams\banner_dire_small.vmdl_c models\props_teams\banner_radiant.vmdl_c -models\props_teams\logo_dire_medium.vmdl_c -models\props_teams\logo_dire_small.vmdl_c -models\props_teams\logo_radiant_default.vmdl_c -models\props_teams\logo_radiant_large.vmdl_c -models\props_teams\logo_radiant_medium.vmdl_c -models\props_teams\logo_radiant_small.vmdl_c models\props_wildlife\crow001.vmdl_c models\props_wildlife\wildlife_birdsmall003.vmdl_c models\props_wildlife\wildlife_birdsmall004.vmdl_c diff --git a/gui.pyw b/gui.pyw index 75c0422..da63d4d 100644 --- a/gui.pyw +++ b/gui.pyw @@ -24,7 +24,7 @@ import mpaths import validatefiles import helper -version = "1.05b.23" +version = "1.06" # widget vars btnXpad = 8 @@ -146,15 +146,6 @@ class App(): self.consoleText.grid(row=0,column=0) self.consoleText.configure(font=("Fixedsys")) - self.betaLabel = tk.Label(self.consoleFrame, font=("Tahoma", 10)) - self.betaLabel.config(text="BETA testing version of 1.06, for early testing only.", fg="#ff0000") - self.betaLabel.grid(row=1, column=0, sticky='w') - - self.betaLabel2 = tk.Label(self.consoleFrame, font=("Tahoma", 10)) - self.betaLabel2.config(text="Delete this and download the proper 1.06 when its out.", fg="#ff0000") - self.betaLabel2.grid(row=2, column=0, sticky='w') - - self.devLabel = tk.Label(self.consoleFrame, font=("Tahoma", 10)) self.devLabel.config(text="Minify 2.0 under development", fg="#FF8C00") self.devLabel.grid(row=1, column=0, sticky='e') @@ -194,23 +185,22 @@ class App(): if helper.workshop_installed == False: helper.disableWorkshopMods(mpaths.mods_dir, mpaths.mods_folders, checkboxes) - self.updateBtn.config(state='disabled') - # if version == mpaths.latest_version_url: - # self.updateBtn.config(state='disabled') - # self.versionLabel.config(fg="#0cb6b3") - # self.versionLabel.config(text=f"Latest version {version}") - # self.updateBtnTip.text = 'You are using the latest version' - # self.updateBtnTip.hover_delay = hoverDelay - # else: - # self.updateBtn.config(state='normal', fg='#0cb6b3', activeforeground='#0cb6b3') - # self.updateBtnTip.text = '' - # self.updateBtnTip.hover_delay = 500000 # .text='' showing pixelated whitespace, just set hover delay to forever + if version == mpaths.latest_version_url: + self.updateBtn.config(state='disabled') + self.versionLabel.config(fg="#0cb6b3") + self.versionLabel.config(text=f"Latest version {version}") + self.updateBtnTip.text = 'You are using the latest version' + self.updateBtnTip.hover_delay = hoverDelay + else: + self.updateBtn.config(state='normal', fg='#0cb6b3', activeforeground='#0cb6b3') + self.updateBtnTip.text = '' + self.updateBtnTip.hover_delay = 500000 # .text='' showing pixelated whitespace, just set hover delay to forever - # self.newVersionLabel.config(fg='red') - # self.newVersionLabel.config(text=f"New version! {mpaths.latest_version_url}") + self.newVersionLabel.config(fg='red') + self.newVersionLabel.config(text=f"New version! {mpaths.latest_version_url}") - # self.versionLabel.config(fg="#0cb6b3") - # self.versionLabel.config(text=f"Your version {version}") + self.versionLabel.config(fg="#0cb6b3") + self.versionLabel.config(text=f"Your version {version}") def uninstaller(self): diff --git a/mods/Dark Terrain [7.34]/blacklist.txt b/mods/Dark Terrain [7.34]/blacklist.txt index 374335f..357d197 100644 --- a/mods/Dark Terrain [7.34]/blacklist.txt +++ b/mods/Dark Terrain [7.34]/blacklist.txt @@ -1 +1 @@ -@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Dark%20Terrain%20%5B7.34%5D/blacklist.txt \ No newline at end of file +@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Dark%20Terrain%20%5B7.34%5D/blacklist.txt \ No newline at end of file diff --git a/mods/Minify Base Attacks/blacklist.txt b/mods/Minify Base Attacks/blacklist.txt index a773f30..045f7b3 100644 --- a/mods/Minify Base Attacks/blacklist.txt +++ b/mods/Minify Base Attacks/blacklist.txt @@ -1 +1 @@ -@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Minify%20Base%20Attacks/blacklist.txt \ No newline at end of file +@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Minify%20Base%20Attacks/blacklist.txt \ No newline at end of file diff --git a/mods/Minify Spells & Items/blacklist.txt b/mods/Minify Spells & Items/blacklist.txt index a586db3..8449905 100644 --- a/mods/Minify Spells & Items/blacklist.txt +++ b/mods/Minify Spells & Items/blacklist.txt @@ -1 +1 @@ -@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Minify%20Spells%20%26%20Items/blacklist.txt \ No newline at end of file +@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Minify%20Spells%20%26%20Items/blacklist.txt \ No newline at end of file diff --git a/mods/Misc Optimization/blacklist.txt b/mods/Misc Optimization/blacklist.txt index f85a560..c6c6310 100644 --- a/mods/Misc Optimization/blacklist.txt +++ b/mods/Misc Optimization/blacklist.txt @@ -1 +1 @@ -@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Misc%20Optimization/blacklist.txt \ No newline at end of file +@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Misc%20Optimization/blacklist.txt \ No newline at end of file diff --git a/mods/Remove Ambient Sounds/blacklist.txt b/mods/Remove Ambient Sounds/blacklist.txt index 338c0f2..7b7f510 100644 --- a/mods/Remove Ambient Sounds/blacklist.txt +++ b/mods/Remove Ambient Sounds/blacklist.txt @@ -1 +1 @@ -@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Remove%20Ambient%20Sounds/blacklist.txt \ No newline at end of file +@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Remove%20Ambient%20Sounds/blacklist.txt \ No newline at end of file