Update to v0.1.3-alpha

- Add Forge/Neoforge support.
- Now launcher will try to recreate the manifest if specific version does not exist.
- Themed "ItLooksLikeOfficial" scrollbar.

CoreLib update to 0.1.6
This commit is contained in:
wei committed 2026-11-01 17:35:22 +08:00
1 parent ef3667ae5e
commit 8316722169
23 files changed
+3000 -127

No files matched your search

@@ -0,0 +1,11 @@
from TapLauncher import PluginContext, core
def entry(context: PluginContext) -> None:
# init
context.data_dir.mkdir(parents=True, exist_ok=True)
logger = context.logger
context.logger.info("Forge test initialized")
# Start
versions = core.fetch_forge_versions()
logger.info(f"Found {len(versions)} versions")
Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

@@ -0,0 +1,8 @@
group = "net.wei"
id = "forgetest"
name = "ForgeTest"
version = "1.0.0"
api_version = ">=0.0.1"
entrypoint = "__init__.py:entry" # Python file name:endpoint
icon = "neoforged.ico" # Relative to this plugin directory; GIF, PNG, JPG or BMP
description = "Test forge support!"
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@@ -62,3 +62,58 @@ QLabel#version_label { font-weight: bold; }
QMessageBox { background: #262626; }
QMessageBox QLabel { color: #ffffff; background: transparent; }
QMessageBox QPushButton { min-width: 72px; }
/* Square, inset tracks and raised handles match the launcher's buttons. */
QScrollBar:vertical, QScrollBar:horizontal {
background: #181818;
border: 1px solid #414141;
border-radius: 0;
margin: 0;
padding: 2px;
}
QScrollBar:vertical { width: 14px; }
QScrollBar:horizontal { height: 14px; }
QScrollBar::handle:vertical, QScrollBar::handle:horizontal {
background: #595959;
border: 1px solid #737373;
border-top-color: #858585;
border-left-color: #858585;
border-bottom-color: #303030;
border-right-color: #303030;
border-radius: 0;
}
QScrollBar::handle:vertical { min-height: 32px; }
QScrollBar::handle:horizontal { min-width: 32px; }
QScrollBar::handle:vertical:hover, QScrollBar::handle:horizontal:hover {
background: #737373;
border-top-color: #a0a0a0;
border-left-color: #a0a0a0;
}
QScrollBar::handle:vertical:pressed, QScrollBar::handle:horizontal:pressed {
background: #3c8527;
border: 1px solid #6cc349;
border-top-color: #28591a;
border-left-color: #28591a;
}
QScrollBar::handle:vertical:disabled, QScrollBar::handle:horizontal:disabled {
background: #303030;
border: 1px solid #414141;
}
QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
height: 0;
border: none;
background: transparent;
}
QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
width: 0;
border: none;
background: transparent;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical,
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
background: transparent;
}
QAbstractScrollArea::corner {
background: #181818;
border: 1px solid #414141;
}
+37
View File
@@ -353,6 +353,43 @@
"Use system keyring": "Use system keyring",
"Vanilla": "Vanilla",
"minutes": "minutes",
"Missing version manifest": "Missing version manifest",
"The manifest for version {version} is missing. Rebuild it now?": "The manifest for version {version} is missing. Rebuild it now?",
"Timed out while waiting to rebuild the version manifest.": "Timed out while waiting to rebuild the version manifest.",
"No valid backup is available for {version}. Reinstall this mod-loader version or restore its custom manifest, then try launching again.": "No valid backup is available for {version}. Reinstall this mod-loader version or restore its custom manifest, then try launching again.",
"Unable to rebuild the manifest for {version}: {error}": "Unable to rebuild the manifest for {version}: {error}",
"Install a mod-loader version without creating a profile.": "Install a mod-loader version without creating a profile.",
"Loading {loader} versions for {version}...": "Loading {loader} versions for {version}...",
"Unable to load {loader} versions: {error}": "Unable to load {loader} versions: {error}",
"Installing {loader}...": "Installing {loader}...",
"No {loader} versions are available for Minecraft {version}.": "No {loader} versions are available for Minecraft {version}.",
"Installation failed. Select a version to try again.": "Installation failed. Select a version to try again.",
"Install {loader}": "Install {loader}",
"Installing {loader} {loader_version} for Minecraft {minecraft_version}": "Installing {loader} {loader_version} for Minecraft {minecraft_version}",
"Waiting to start installation...": "Waiting to start installation...",
"Installation details": "Installation details",
"Stage progress: %p%": "Stage progress: %p%",
"Validating installation request...": "Validating installation request...",
"Loading Minecraft version information...": "Loading Minecraft version information...",
"Downloading and preparing the loader installer...": "Downloading and preparing the loader installer...",
"Preparing the required Java runtime...": "Preparing the required Java runtime...",
"Checking and downloading the Minecraft client...": "Checking and downloading the Minecraft client...",
"Installing bundled libraries...": "Installing bundled libraries...",
"Downloading required libraries...": "Downloading required libraries...",
"Applying loader patches...": "Applying loader patches...",
"Verifying the installed files...": "Verifying the installed files...",
"Cleaning up temporary installer files...": "Cleaning up temporary installer files...",
"Saving the installed version...": "Saving the installed version...",
"Creating the launch profile...": "Creating the launch profile...",
"Current item: {item}": "Current item: {item}",
"Installation failed while: {stage}": "Installation failed while: {stage}",
"Installation failed. See the details below.": "Installation failed. See the details below.",
"The installer did not return an installed version.": "The installer did not return an installed version.",
"The installed version has no version ID.": "The installed version has no version ID.",
"The loader was installed, but the profile could not be created.": "The loader was installed, but the profile could not be created.",
"The profile was created, but could not be selected.": "The profile was created, but could not be selected.",
"Select a {loader} version before creating a profile.": "Select a {loader} version before creating a profile.",
"{loader} does not support Minecraft {version}.": "{loader} does not support Minecraft {version}.",
"{account} is currently signed in.": "{account} is currently signed in.",
"{account}'s session has expired.": "{account}'s session has expired.",
"Plugins can run code on your computer and access your files and account data. Only enable plugins from sources you trust.": "Plugins can run code on your computer and access your files and account data. Only enable plugins from sources you trust.",
+38 -1
View File
@@ -354,8 +354,45 @@
"Use system keyring": "使用系統金鑰圈",
"Vanilla": "原版",
"minutes": "分鐘",
"Missing version manifest": "遺失版本資訊檔",
"The manifest for version {version} is missing. Rebuild it now?": "版本 {version} 的資訊檔已遺失,是否立即重新建立?",
"Timed out while waiting to rebuild the version manifest.": "等待確認重新建立版本資訊檔時逾時。",
"No valid backup is available for {version}. Reinstall this mod-loader version or restore its custom manifest, then try launching again.": "版本 {version} 沒有有效備份。請重新安裝此模組載入器版本,或還原自訂版本資訊檔後再啟動。",
"Unable to rebuild the manifest for {version}: {error}": "無法重新建立版本 {version} 的資訊檔:{error}",
"Install a mod-loader version without creating a profile.": "安裝模組載入器版本,不建立啟動設定檔。",
"Loading {loader} versions for {version}...": "正在讀取 Minecraft {version} 可用的 {loader} 版本……",
"Unable to load {loader} versions: {error}": "無法讀取 {loader} 版本:{error}",
"Installing {loader}...": "正在安裝 {loader}……",
"No {loader} versions are available for Minecraft {version}.": "Minecraft {version} 沒有可用的 {loader} 版本。",
"Installation failed. Select a version to try again.": "安裝失敗,請選擇版本後重試。",
"Install {loader}": "安裝 {loader}",
"Installing {loader} {loader_version} for Minecraft {minecraft_version}": "正在為 Minecraft {minecraft_version} 安裝 {loader} {loader_version}",
"Waiting to start installation...": "正在等待開始安裝……",
"Installation details": "安裝詳情",
"Stage progress: %p%": "目前階段進度:%p%",
"Validating installation request...": "正在檢查安裝要求……",
"Loading Minecraft version information...": "正在讀取 Minecraft 版本資訊……",
"Downloading and preparing the loader installer...": "正在下載並準備載入器安裝檔……",
"Preparing the required Java runtime...": "正在準備所需的 Java 執行環境……",
"Checking and downloading the Minecraft client...": "正在檢查並下載 Minecraft 用戶端……",
"Installing bundled libraries...": "正在安裝內附的程式庫……",
"Downloading required libraries...": "正在下載必要的程式庫……",
"Applying loader patches...": "正在套用載入器修補……",
"Verifying the installed files...": "正在驗證已安裝的檔案……",
"Cleaning up temporary installer files...": "正在清理安裝暫存檔……",
"Saving the installed version...": "正在儲存已安裝的版本……",
"Creating the launch profile...": "正在建立啟動設定檔……",
"Current item: {item}": "目前項目:{item}",
"Installation failed while: {stage}": "安裝失敗,階段:{stage}",
"Installation failed. See the details below.": "安裝失敗,請查看下方詳情。",
"The installer did not return an installed version.": "安裝程式未回傳已安裝的版本。",
"The installed version has no version ID.": "已安裝的版本缺少版本識別碼。",
"The loader was installed, but the profile could not be created.": "載入器已安裝,但無法建立啟動設定檔。",
"The profile was created, but could not be selected.": "啟動設定檔已建立,但無法切換使用。",
"Select a {loader} version before creating a profile.": "請先選擇 {loader} 版本,再建立啟動設定檔。",
"{loader} does not support Minecraft {version}.": "{loader} 不支援 Minecraft {version}。",
"{account} is currently signed in.": "{account} 目前已登入。",
"{account}'s session has expired.": "{account} 的工作階段已過期。",
"$ABOUT_THIS_LAUNCHER": "一個使用Python編寫的非官方 Minecraft 啟動器。旨在與官方啟動器保持最大程度的兼容,同時更加輕量且易於使用。\n\n本啟動器和 Mojang 工作室 或 Microsoft 沒有任何隸屬關係。只是一個為了好玩而開開發的專案。",
"$ABOUT_THIS_LAUNCHER_MARKDOWN": "一個使用Python編寫的非官方 Minecraft 啟動器。\n旨在與官方啟動器保持最大程度的兼容,同時更加輕量且易於使用。\n\\n\n*本啟動器和 Mojang 工作室 或 Microsoft 沒有任何隸屬關係。只是一個為了好玩而開開發的專案。*\n\\n\\n\n### 鳴謝\n- [PySide6](https://pypi.org/project/PySide6/): GUI 框架\n- [Nuitka](https://nuitka.net/): 構建工具\n- [Minecraft Wiki](https://minecraft.fandom.com/wiki/Main_Page): 帳號系統和啟動器開發參考\n\\n\n### 開發者\n- [Wei](https://repo.weispace.net/wei): 主要開發者"
"$ABOUT_THIS_LAUNCHER_MARKDOWN": "一個使用Python編寫的非官方 Minecraft 啟動器。\n旨在與官方啟動器保持最大程度的兼容,同時更加輕量且易於使用。\n\n\n*本啟動器和 Mojang 工作室 或 Microsoft 沒有任何隸屬關係。只是一個為了好玩而開開發的專案。*\n\n\n\n### 鳴謝\n- [PySide6](https://pypi.org/project/PySide6/): GUI 框架\n- [Nuitka](https://nuitka.net/): 構建工具\n- [Minecraft Wiki](https://minecraft.fandom.com/wiki/Main_Page): 帳號系統和啟動器開發參考\n\n\n### 開發者\n- [Wei](https://repo.weispace.net/wei): 主要開發者"
}