From 1760aa31797ae6d2298e64921778dbfc5b8503c5 Mon Sep 17 00:00:00 2001 From: Robby Attila Date: Fri, 2 Sep 2022 05:10:49 -0700 Subject: [PATCH] fix_urls --- bin/modpaths/urls.txt | 4 ++-- gui.pyw | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/modpaths/urls.txt b/bin/modpaths/urls.txt index 6cd3f5f..ab30c25 100644 --- a/bin/modpaths/urls.txt +++ b/bin/modpaths/urls.txt @@ -1,6 +1,6 @@ -update_url=https://github.com/robbyz512/dota2-minify/releases/new +update_url=https://github.com/robbyz512/dota2-minify/releases discord_url=https://discord.gg/2YDnqpbcKM patreon_url=https://www.patreon.com/minify help_url=https://github.com/robbyz512/dota2-minify#rocket-installation -latest_version_url=1.0.22 +latest_version_url=1.01.22 dev_version=https://github.com/robbyz512/dota2-minify#books-developing-your-own-mods \ No newline at end of file diff --git a/gui.pyw b/gui.pyw index 37de420..5f4a846 100644 --- a/gui.pyw +++ b/gui.pyw @@ -24,7 +24,7 @@ import mpaths import validatefiles import helper -version = "1.0" +version = "1.01.22" # button size btnXpad = 5 @@ -170,7 +170,7 @@ class App(): if helper.workshop_installed == False: helper.disableWorkshopMods(mpaths.mods_dir, mpaths.mods_folders, checkboxes) - if version == version: + if version == mpaths.latest_version_url: self.updateBtn.config(state='disabled') self.versionLabel.config(fg="#0cb6b3") self.versionLabel.config(text=f"Latest version {version}")