Skip to content

Commit

Permalink
update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyz512 committed Sep 28, 2023
1 parent f8cbe0f commit 03721f1
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 36 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ venv/
ENV/
env.bak/
venv.bak/
bin/modpaths/urls.txt
6 changes: 0 additions & 6 deletions bin/modpaths/Dark Terrain [7.34]/blacklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
40 changes: 15 additions & 25 deletions gui.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import mpaths
import validatefiles
import helper

version = "1.05b.23"
version = "1.06"

# widget vars
btnXpad = 8
Expand Down Expand Up @@ -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')
Expand Down Expand Up @@ -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):

Expand Down
2 changes: 1 addition & 1 deletion mods/Dark Terrain [7.34]/blacklist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Dark%20Terrain%20%5B7.34%5D/blacklist.txt
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Dark%20Terrain%20%5B7.34%5D/blacklist.txt
2 changes: 1 addition & 1 deletion mods/Minify Base Attacks/blacklist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Minify%20Base%20Attacks/blacklist.txt
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Minify%20Base%20Attacks/blacklist.txt
2 changes: 1 addition & 1 deletion mods/Minify Spells & Items/blacklist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Minify%20Spells%20%26%20Items/blacklist.txt
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Minify%20Spells%20%26%20Items/blacklist.txt
2 changes: 1 addition & 1 deletion mods/Misc Optimization/blacklist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Misc%20Optimization/blacklist.txt
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Misc%20Optimization/blacklist.txt
2 changes: 1 addition & 1 deletion mods/Remove Ambient Sounds/blacklist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/1.06/bin/modpaths/Remove%20Ambient%20Sounds/blacklist.txt
@@https://raw.githubusercontent.com/robbyz512/dota2-minify/stable/bin/modpaths/Remove%20Ambient%20Sounds/blacklist.txt

0 comments on commit 03721f1

Please sign in to comment.