Update to 0.1.7-alpha
Add custom game directory and launch log controls CoreLib update to 0.1.9
This commit is contained in:
1 parent
fea979fb6f
commit
ad38cf726e
24 files changed
+542
-124
No files matched your search
@@ -2,6 +2,6 @@ group = "net.wei"
|
||||
id = "offline-support"
|
||||
name = "Offline Support"
|
||||
version = "1.1.0"
|
||||
api_version = ">=0.0.1"
|
||||
api_version = ">=0.0.3"
|
||||
entrypoint = "__init__.py:setup"
|
||||
description = "Adds offline accounts after at least one Microsoft account is signed in."
|
||||
@@ -52,8 +52,7 @@ QPushButton#profileItem QLabel[itemHovered="true"] {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
QPushButton#launchButton {
|
||||
min-width: 150px;
|
||||
QPushButton#launchButton, QPushButton#logButton {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
background-color: palette(button);
|
||||
@@ -63,21 +62,21 @@ QPushButton#launchButton {
|
||||
padding: 6px 14px;
|
||||
}
|
||||
|
||||
QPushButton#launchButton:hover {
|
||||
QPushButton#launchButton:hover, QPushButton#logButton:hover {
|
||||
background-color: palette(midlight);
|
||||
color: palette(button-text);
|
||||
}
|
||||
|
||||
QPushButton#launchButton:focus {
|
||||
QPushButton#launchButton:focus, QPushButton#logButton:focus {
|
||||
border-color: palette(highlight);
|
||||
}
|
||||
|
||||
QPushButton#launchButton:pressed {
|
||||
QPushButton#launchButton:pressed, QPushButton#logButton:pressed {
|
||||
background-color: palette(highlight);
|
||||
color: palette(highlighted-text);
|
||||
}
|
||||
|
||||
QPushButton#launchButton:disabled {
|
||||
QPushButton#launchButton:disabled, QPushButton#logButton:disabled {
|
||||
color: palette(placeholder-text);
|
||||
}
|
||||
|
||||
@@ -91,3 +90,6 @@ QFrame#profileFrame {
|
||||
border: 1px solid palette(mid);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
QPushButton#launchButton { min-width: 150px; }
|
||||
QPushButton#logButton { min-width: 0; padding-left: 0; padding-right: 0; }
|
||||
@@ -23,15 +23,17 @@ QPushButton#profileItem:hover {
|
||||
background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #80b8f4,stop:1 #3875d7);
|
||||
}
|
||||
QPushButton#profileItem QLabel[itemHovered="true"] { color: #ffffff; background: transparent; }
|
||||
QPushButton#launchButton {
|
||||
min-width: 150px;
|
||||
QPushButton#launchButton, QPushButton#logButton {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
border-radius: 16px;
|
||||
border-color: #3266ac;
|
||||
background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #effaff,stop:0.45 #a7d0ff,stop:0.5 #649be5,stop:1 #c2e2ff);
|
||||
}
|
||||
QPushButton#launchButton:pressed { background: #79a5db; }
|
||||
QPushButton#launchButton:pressed, QPushButton#logButton:pressed { background: #79a5db; }
|
||||
QFrame#profileFrame { background: #dceaff; border: 1px solid #8fa8c9; border-radius: 12px; }
|
||||
QFrame#header { background: rgba(245, 250, 255, 220); border: 1px solid #b6c9e3; border-radius: 8px; }
|
||||
QLabel#headerLabel { color: #203653; background: transparent; font-size: 20px; font-weight: bold; }
|
||||
|
||||
QPushButton#launchButton { min-width: 150px; }
|
||||
QPushButton#logButton { min-width: 0; padding-left: 0; padding-right: 0; }
|
||||
@@ -23,8 +23,7 @@ QPushButton#profileItem:hover {
|
||||
background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5286d4,stop:1 #316ac5);
|
||||
}
|
||||
QPushButton#profileItem QLabel[itemHovered="true"] { color: #ffffff; background: transparent; }
|
||||
QPushButton#launchButton {
|
||||
min-width: 150px;
|
||||
QPushButton#launchButton, QPushButton#logButton {
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
@@ -33,9 +32,9 @@ QPushButton#launchButton {
|
||||
background: qlineargradient(x1:0,y1:0,x2:0,y2:1,
|
||||
stop:0 #93d875,stop:0.15 #55ad39,stop:0.8 #31851e,stop:1 #246514);
|
||||
}
|
||||
QPushButton#launchButton:hover { border-color: #e59700; background: #4b9f2c; }
|
||||
QPushButton#launchButton:pressed { background: #28691b; }
|
||||
QPushButton#launchButton:disabled { color: #d9e3d5; background: #7b9472; }
|
||||
QPushButton#launchButton:hover, QPushButton#logButton:hover { border-color: #e59700; background: #4b9f2c; }
|
||||
QPushButton#launchButton:pressed, QPushButton#logButton:pressed { background: #28691b; }
|
||||
QPushButton#launchButton:disabled, QPushButton#logButton:disabled { color: #d9e3d5; background: #7b9472; }
|
||||
QFrame#profileFrame { background: #dceaff; border: 1px solid #8fa8c9; border-radius: 3px; }
|
||||
QFrame#header {
|
||||
background: qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 #5794f5,stop:0.18 #2879ed,stop:1 #0053cf);
|
||||
@@ -43,3 +42,6 @@ QFrame#header {
|
||||
border-radius: 5px;
|
||||
}
|
||||
QLabel#headerLabel { color: #ffffff; background: transparent; font-size: 20px; font-weight: bold; }
|
||||
|
||||
QPushButton#launchButton { min-width: 150px; }
|
||||
QPushButton#logButton { min-width: 0; padding-left: 0; padding-right: 0; }
|
||||
@@ -17,8 +17,7 @@ QPushButton#profileItem {
|
||||
QPushButton#profileItem:hover { background: #3c8527; }
|
||||
QPushButton#profileItem:focus { border-color: #a0e081; }
|
||||
QPushButton#profileItem QLabel[itemHovered="true"] { color: #ffffff; background: transparent; }
|
||||
QPushButton#launchButton {
|
||||
min-width: 150px;
|
||||
QPushButton#launchButton, QPushButton#logButton {
|
||||
min-height: 32px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
@@ -29,10 +28,13 @@ QPushButton#launchButton {
|
||||
border-bottom: 5px solid #1d4d13;
|
||||
border-radius: 0;
|
||||
}
|
||||
QPushButton#launchButton:hover { background: #4f9f30; }
|
||||
QPushButton#launchButton:pressed { background: #2f6b1f; border-top-color: #1d4d13; border-bottom-color: #3c8527; }
|
||||
QPushButton#launchButton:focus { border-left-color: #b5f293; border-right-color: #b5f293; }
|
||||
QPushButton#launchButton:disabled { background: #3c3c3c; color: #858585; border-color: #505050; }
|
||||
QPushButton#launchButton:hover, QPushButton#logButton:hover { background: #4f9f30; }
|
||||
QPushButton#launchButton:pressed, QPushButton#logButton:pressed { background: #2f6b1f; border-top-color: #1d4d13; border-bottom-color: #3c8527; }
|
||||
QPushButton#launchButton:focus, QPushButton#logButton:focus { border-left-color: #b5f293; border-right-color: #b5f293; }
|
||||
QPushButton#launchButton:disabled, QPushButton#logButton:disabled { background: #3c3c3c; color: #858585; border-color: #505050; }
|
||||
QFrame#profileFrame { background: #202020; border: 1px solid #505050; border-radius: 0; }
|
||||
QFrame#header { background: #202020; border-bottom: 1px solid #505050; }
|
||||
QLabel#headerLabel { color: #ffffff; background: transparent; font-size: 22px; font-weight: bold; }
|
||||
|
||||
QPushButton#launchButton { min-width: 150px; }
|
||||
QPushButton#logButton { min-width: 0; padding-left: 0; padding-right: 0; }
|
||||
@@ -21,7 +21,10 @@ QPushButton#profileItem {
|
||||
}
|
||||
QPushButton#profileItem:hover { background: #000080; }
|
||||
QPushButton#profileItem QLabel[itemHovered="true"] { color: #ffffff; background: transparent; }
|
||||
QPushButton#launchButton { min-width: 150px; font-size: 14px; font-weight: bold; }
|
||||
QPushButton#launchButton, QPushButton#logButton { font-size: 14px; font-weight: bold; }
|
||||
QFrame#profileFrame { background: #008080; border: 2px inset #c0c0c0; border-radius: 0; }
|
||||
QFrame#header { background: #000080; border: 0; }
|
||||
QLabel#headerLabel { color: #ffffff; background: transparent; font-size: 18px; font-weight: bold; }
|
||||
|
||||
QPushButton#launchButton { min-width: 150px; }
|
||||
QPushButton#logButton { min-width: 0; padding-left: 0; padding-right: 0; }
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"Settings Error": "Settings Error",
|
||||
"Open game log when launching": "Open game log when launching",
|
||||
"After game launch": "After game launch",
|
||||
"Close launcher window": "Close launcher window",
|
||||
"Keep launcher open": "Keep launcher open",
|
||||
"Minimize launcher window": "Minimize launcher window",
|
||||
"Image file does not exist or is not a file": "Image file does not exist or is not a file",
|
||||
"Unable to set profile icon. Icon may invalid.": "Unable to set profile icon. The icon may be invalid.",
|
||||
"Launch page background": "Launch page background",
|
||||
@@ -11,7 +17,7 @@
|
||||
"Image format is not supported.": "Image format is not supported.",
|
||||
"Select a profile before replacing the icon": "Select a profile before replacing the icon",
|
||||
"Game": "Game",
|
||||
"Game file hash verification": "Game file hash verification",
|
||||
"Game downloading and launching configuration": "Game downloading and launching configuration",
|
||||
"Verify file hashes when downloading": "Verify file hashes when downloading",
|
||||
"Verify library hashes before launch": "Verify library hashes before launch",
|
||||
"OK": "OK",
|
||||
@@ -98,7 +104,10 @@
|
||||
"Current": "Current",
|
||||
"Current launcher working directory": "Current launcher working directory",
|
||||
"Current program directory": "Current program directory",
|
||||
"Current game directory": "Current game directory",
|
||||
"Current version: {version}": "Current version: {version}",
|
||||
"Compatibility Mode": "Compatibility Mode",
|
||||
"Minecraft Launcher": "Minecraft Launcher",
|
||||
"Dark": "Dark",
|
||||
"Default": "Default",
|
||||
"Delete": "Delete",
|
||||
@@ -129,6 +138,7 @@
|
||||
"Game directory": "Game directory",
|
||||
"Game Log": "Game Log",
|
||||
"General": "General",
|
||||
"Toolbar": "Toolbar",
|
||||
"Home": "Home",
|
||||
"Icon": "Icon",
|
||||
"Import Mods": "Import Mods",
|
||||
@@ -154,7 +164,6 @@
|
||||
"Launched!": "Launched!",
|
||||
"Launcher error occurred.": "Launcher error occurred.",
|
||||
"Launcher theme": "Launcher theme",
|
||||
"Minecraft Launcher": "Minecraft Launcher",
|
||||
"Light": "Light",
|
||||
"Loading all types...": "Loading all types...",
|
||||
"Loading all versions...": "Loading all versions...",
|
||||
@@ -418,5 +427,31 @@
|
||||
"{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.",
|
||||
"$ABOUT_THIS_LAUNCHER": "<ORIGINAL>",
|
||||
"$ABOUT_THIS_LAUNCHER_MARKDOWN": "<ORIGINAL>"
|
||||
"$ABOUT_THIS_LAUNCHER_MARKDOWN": "<ORIGINAL>",
|
||||
"Download": "Download",
|
||||
"Enable token updater": "Enable token updater",
|
||||
"Environment Information": "Environment Information",
|
||||
"Game Launching": "Game Launching",
|
||||
"Multiple log views (among {count} windows) are running for profile {profile}. Are you sure you want to open all log view?": "Multiple log views (among {count} windows) are running for profile {profile}. Are you sure you want to open all log view?",
|
||||
"PageBar": "PageBar",
|
||||
"Position": "Position",
|
||||
"Reset to last used page": "Reset to last used page",
|
||||
"Show game log": "Show game log",
|
||||
"Time out waiting for request for open window.": "Time out waiting for request for open window.",
|
||||
"TokenUpdater": "TokenUpdater",
|
||||
"Left": "Left",
|
||||
"Right": "Right",
|
||||
"Top": "Top",
|
||||
"Bottom": "Bottom",
|
||||
"Process interrupted by user": "Process interrupted by user",
|
||||
"Some settings contain invalid values:": "Some settings contain invalid values:",
|
||||
"The settings file contains invalid TOML syntax.": "The settings file contains invalid TOML syntax.",
|
||||
"The settings file could not be read.\nCheck that the file exists and that you have permission to read it.": "The settings file could not be read.\nCheck that the file exists and that you have permission to read it.",
|
||||
"An unexpected error prevented the settings from loading.": "An unexpected error prevented the settings from loading.",
|
||||
"Settings could not be loaded. Default settings are now in use.\nThe original settings file will not be overwritten.\nSettings changes made during this session will not be saved.": "Settings could not be loaded. Default settings are now in use.\nThe original settings file will not be overwritten.\nSettings changes made during this session will not be saved.",
|
||||
"Settings file: {path}": "Settings file: {path}",
|
||||
"Correct the settings file and restart the launcher to try again.": "Correct the settings file and restart the launcher to try again.",
|
||||
"Raw details (Python traceback)": "Raw details (Python traceback)",
|
||||
"Reset Icon": "Reset Icon",
|
||||
"This image exceeds 128 x 128 pixels and will be resized to 128 x 128.": "This image exceeds 128 x 128 pixels and will be resized to 128 x 128."
|
||||
}
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"Settings Error": "設定錯誤",
|
||||
"Open game log when launching": "啟動遊戲時開啟日誌",
|
||||
"After game launch": "遊戲啟動後",
|
||||
"Close launcher window": "關閉啟動器視窗",
|
||||
"Keep launcher open": "保持啟動器開啟",
|
||||
"Minimize launcher window": "最小化啟動器視窗",
|
||||
"Reset Icon": "重設圖示",
|
||||
"Profile icons must be square and at least 128 x 128 pixels.": "不支援此圖片:設定檔圖示必須是正方形,且尺寸至少為 128×128 像素。",
|
||||
"This image exceeds 128 x 128 pixels and will be resized to 128 x 128.": "此圖片超過 128×128 像素,將縮小為 128×128。",
|
||||
@@ -15,7 +21,7 @@
|
||||
"Image format is not supported.": "圖片格式不支援或檔案已損壞。",
|
||||
"Select a profile before replacing the icon": "請先選取要替換圖示的設定檔",
|
||||
"Game": "遊戲",
|
||||
"Game file hash verification": "遊戲檔案雜湊驗證",
|
||||
"Game downloading and launching configuration": "遊戲檔案下載與啟動設定",
|
||||
"Verify file hashes when downloading": "下載時驗證檔案雜湊",
|
||||
"Verify library hashes before launch": "啟動前驗證函式庫雜湊",
|
||||
"OK": "確定",
|
||||
@@ -101,6 +107,9 @@
|
||||
"Current": "目前使用",
|
||||
"Current launcher working directory": "目前啟動器工作目錄",
|
||||
"Current program directory": "目前程式目錄",
|
||||
"Current game directory": "目前遊戲目錄",
|
||||
"Compatibility Mode": "相容性模式",
|
||||
"Minecraft Launcher": "Minecraft Launcher",
|
||||
"Current version: {version}": "目前版本:{version}",
|
||||
"Dark": "深色",
|
||||
"Default": "預設",
|
||||
@@ -132,6 +141,7 @@
|
||||
"Game directory": "遊戲目錄",
|
||||
"Game Log": "遊戲記錄",
|
||||
"General": "一般",
|
||||
"Toolbar": "工具列",
|
||||
"Home": "首頁",
|
||||
"Icon": "圖示",
|
||||
"Import Mods": "匯入模組",
|
||||
@@ -157,7 +167,6 @@
|
||||
"Launched!": "已啟動!",
|
||||
"Launcher error occurred.": "啟動器發生錯誤。",
|
||||
"Launcher theme": "啟動器佈景主題",
|
||||
"Minecraft Launcher": "Minecraft 官方啟動器風格",
|
||||
"Light": "淺色",
|
||||
"Loading all types...": "正在載入所有類型……",
|
||||
"Loading all versions...": "正在載入所有版本……",
|
||||
@@ -422,5 +431,29 @@
|
||||
"{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.wiki/): 帳號系統和啟動器開發參考 ([Writing a launcher](https://zh.minecraft.wiki/w/Tutorial:%E7%BC%96%E5%86%99%E5%90%AF%E5%8A%A8%E5%99%A8))\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.wiki/): 帳號系統和啟動器開發參考 ([Writing a launcher](https://zh.minecraft.wiki/w/Tutorial:%E7%BC%96%E5%86%99%E5%90%AF%E5%8A%A8%E5%99%A8))\n\n\n### 開發者\n- [Wei](https://repo.weispace.net/wei): 主要開發者",
|
||||
"Download": "下載",
|
||||
"Enable token updater": "啟用權杖自動更新",
|
||||
"Environment Information": "環境資訊",
|
||||
"Game Launching": "遊戲啟動",
|
||||
"Multiple log views (among {count} windows) are running for profile {profile}. Are you sure you want to open all log view?": "啟動設定檔 {profile} 有 {count} 個日誌視窗。確定要開啟全部日誌視窗嗎?",
|
||||
"PageBar": "頁面列",
|
||||
"Position": "位置",
|
||||
"Reset to last used page": "啟動時還原上次使用的頁面",
|
||||
"Show game log": "顯示遊戲日誌",
|
||||
"Time out waiting for request for open window.": "等待開啟視窗的確認已逾時。",
|
||||
"TokenUpdater": "權杖自動更新",
|
||||
"Left": "左側",
|
||||
"Right": "右側",
|
||||
"Top": "上方",
|
||||
"Bottom": "下方",
|
||||
"Process interrupted by user": "使用者已中止程序",
|
||||
"Some settings contain invalid values:": "下列設定值無效:",
|
||||
"The settings file contains invalid TOML syntax.": "設定檔的 TOML 語法有誤。",
|
||||
"The settings file could not be read.\nCheck that the file exists and that you have permission to read it.": "無法讀取設定檔。\n請確認檔案存在,且您具有讀取權限。",
|
||||
"An unexpected error prevented the settings from loading.": "載入設定時發生未預期的錯誤。",
|
||||
"Settings could not be loaded. Default settings are now in use.\nThe original settings file will not be overwritten.\nSettings changes made during this session will not be saved.": "設定無法載入,目前使用預設值。\n原始設定檔不會被覆寫。\n本次執行期間的設定變更不會儲存。",
|
||||
"Settings file: {path}": "設定檔:{path}",
|
||||
"Correct the settings file and restart the launcher to try again.": "請修正設定檔,再重新啟動啟動器。",
|
||||
"Raw details (Python traceback)": "原始資訊(Python traceback)"
|
||||
}
|
||||
Reference in new issue
Block a user