diff --git a/installer.iss b/installer.iss index ec31099..50f06ea 100644 --- a/installer.iss +++ b/installer.iss @@ -1,11 +1,11 @@ ; PixelLauncher — Inno Setup 6 script ; Сборка: python make_installer.py (или: ISCC.exe installer.iss) -; Результат: PixelLauncherSetup2.1.0.exe в папке проекта. +; Результат: PixelLauncherSetup2.1.1.exe в папке проекта. ; AppId должен оставаться неизменным, иначе обновление появится ; как отдельная программа. #define MyAppName "PixelLauncher" -#define MyAppVersion "2.1.0" +#define MyAppVersion "2.1.1" #define MyAppPublisher "SuperBoys" #define MyAppURL "https://pixellauncher.ru" #define StageDir "build\stage" @@ -32,7 +32,7 @@ ArchitecturesAllowed=x64compatible SetupIconFile={#MyIcon} UninstallDisplayIcon={app}\launcher.ico UninstallDisplayName={#MyAppName} -VersionInfoVersion=2.1.0.0 +VersionInfoVersion=2.1.1.0 VersionInfoProductVersion={#MyAppVersion} LZMANumBlockThreads=2 diff --git a/launcher/__init__.py b/launcher/__init__.py index 5a46dee..1e60d1a 100644 --- a/launcher/__init__.py +++ b/launcher/__init__.py @@ -1,4 +1,4 @@ """PixelLauncher — lightweight Minecraft launcher (offline mode).""" LAUNCHER_NAME = "PixelLauncher" -LAUNCHER_VERSION = "2.1.0" +LAUNCHER_VERSION = "2.1.1" diff --git a/launcher/http.py b/launcher/http.py index 362a47c..6f350e2 100644 --- a/launcher/http.py +++ b/launcher/http.py @@ -13,7 +13,7 @@ import struct import time import urllib.request -USER_AGENT = "PixelLauncher/2.1.0 (lightweight Minecraft launcher)" +USER_AGENT = "PixelLauncher/2.1.1 (lightweight Minecraft launcher)" ATTEMPTS = 4 _opener = None # настроенный opener (прокси) или None — напрямую в сеть diff --git a/launcher/selfupdate.py b/launcher/selfupdate.py index 36333d5..9154b30 100644 --- a/launcher/selfupdate.py +++ b/launcher/selfupdate.py @@ -2,7 +2,7 @@ """Автообновление лаунчера: проверка манифеста, скачивание установщика. Манифест на сервере — /update.json: - {"version": "2.1.0", "url": "/download/PixelLauncherSetup2.1.0.exe", + {"version": "2.1.1", "url": "/download/PixelLauncherSetup2.1.1.exe", "sha256": "…", "size": 15418378, "notes": "…"} url относительный (база — UPDATE_BASE), sha256/size необязательны, но sha256 проверяется, если указан. diff --git a/launcher/version.py b/launcher/version.py index c75dfd9..efe6d2e 100644 --- a/launcher/version.py +++ b/launcher/version.py @@ -198,7 +198,7 @@ class Version: "version_type": self.type, "natives_directory": self.natives_dir(), "launcher_name": "PixelLauncher", - "launcher_version": "2.1.0", + "launcher_version": "2.1.1", "classpath": self.classpath_str(), "classpath_separator": os.pathsep, "library_directory": self.libraries_dir(), diff --git a/make_installer.py b/make_installer.py index cdfa7ca..68c232e 100644 --- a/make_installer.py +++ b/make_installer.py @@ -26,7 +26,7 @@ STAGE = os.path.join(BUILD, "stage") ISCC = r"C:\Program Files (x86)\Inno Setup 6\ISCC.exe" PYVER = "%d.%d.%d" % sys.version_info[:3] -APP_VERSION = "2.1.0" # должен совпадать с LAUNCHER_VERSION в launcher/__init__.py +APP_VERSION = "2.1.1" # должен совпадать с LAUNCHER_VERSION в launcher/__init__.py SETUP_NAME = "PixelLauncherSetup%s.exe" % APP_VERSION