From 7ae3f373f5a338afa8ea9ee5f7d63c82025db917 Mon Sep 17 00:00:00 2001 From: nothing Date: Sun, 21 Jan 2024 22:38:12 +0100 Subject: [PATCH] renaming and other fixes --- .gitignore | 4 ++-- ...hron_updater.py => Keychron_mice_updater.py | 11 ++--------- build.bat | 2 +- innosetup/setup.iss | 18 +++++++++--------- readme.md | 2 +- 5 files changed, 15 insertions(+), 22 deletions(-) rename Keychron_updater.py => Keychron_mice_updater.py (86%) diff --git a/.gitignore b/.gitignore index 5224b1f..b6be538 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ build/ dist/ app.log -Keychron_updater.spec -innosetup/Keychron_updater_setup.exe \ No newline at end of file +Keychron_mice_updater.spec +innosetup/Keychron_mice_updater_setup.exe \ No newline at end of file diff --git a/Keychron_updater.py b/Keychron_mice_updater.py similarity index 86% rename from Keychron_updater.py rename to Keychron_mice_updater.py index 10f14ad..91529a0 100644 --- a/Keychron_updater.py +++ b/Keychron_mice_updater.py @@ -1,8 +1,6 @@ -import requests, gdown, zipfile, os, ctypes, tempfile, shutil, subprocess, logging +import requests, gdown, zipfile, os, ctypes, tempfile, shutil, subprocess from tkinter import messagebox -logging.basicConfig(filename='app.log', filemode='w', format='%(name)s - %(levelname)s - %(message)s') - install_path = "C:\\Program Files (x86)\\Keychron" def get_installed_version(): @@ -11,7 +9,6 @@ def get_installed_version(): installed_version = f.read().split('