Update some text.
This commit is contained in:
+6
-6
@@ -2,17 +2,17 @@ __version__ = "0.0.1"
|
|||||||
__author__ = "wei"
|
__author__ = "wei"
|
||||||
__email__ = "[email protected]"
|
__email__ = "[email protected]"
|
||||||
__description__ = """
|
__description__ = """
|
||||||
A *Minecraft* launcher that I'm still thinking about its name.
|
A *Minecraft* launcher that I still haven't named.
|
||||||
|
|
||||||
I made this due to the official Minecraft Launcher is too huge and laggy. I need to wait it over 1 min to launch
|
I made this because the official Minecraft Launcher is too large and slow. I have to wait over a minute to launch
|
||||||
game, and I think launcher must be simple and lightweight to make user to feel is easy to use.
|
the game, and I believe a launcher should be simple, lightweight, and easy to use.
|
||||||
|
|
||||||
This launcher should adheres to the following rules:
|
This launcher should adhere to the following rules:
|
||||||
|
|
||||||
1: Be simple
|
1: Be simple
|
||||||
2: Be complex at some point (Yeah this rule looks opposite to the first rule)
|
2: Be complex at some point (Yeah this rule looks opposite to the first rule)
|
||||||
3: Be cool and fun
|
3: Be cool and fun
|
||||||
4: No AI slop (Nobody wants to read spaghetti code that made by AI)
|
4: No AI slop (Nobody wants to read spaghetti code generated by AI)
|
||||||
5: Freedom just like the bird (This project use MIT license)
|
5: Freedom like a bird (This project uses the MIT license)
|
||||||
"""
|
"""
|
||||||
__website__ = "https://repo.weispace.net/wei/Launcher"
|
__website__ = "https://repo.weispace.net/wei/Launcher"
|
||||||
@@ -8,3 +8,8 @@ LAUNCHER_USER_AGENT = f"{LAUNCHER_NAME}/{LAUNCHER_VERSION} (Powered by request m
|
|||||||
ACCESS_TOKEN_KEYWORD = "accessToken"
|
ACCESS_TOKEN_KEYWORD = "accessToken"
|
||||||
REFRESH_TOKEN_KEYWORD = "refreshToken"
|
REFRESH_TOKEN_KEYWORD = "refreshToken"
|
||||||
SYSTEM_KEYRING_KEYWORD = "SYSTEM_CREDENTIALS"
|
SYSTEM_KEYRING_KEYWORD = "SYSTEM_CREDENTIALS"
|
||||||
|
|
||||||
|
LAUNCHER_DESCRIPTION = """
|
||||||
|
An unofficial Minecraft launcher written in Python. It aims to maintain maximum compatibility with the official Minecraft
|
||||||
|
Launcher while being more lightweight and easier to use.
|
||||||
|
"""
|
||||||
|
|||||||
@@ -269,8 +269,8 @@ def collect_runtime_files(manifest: dict, runtime_dir: Path, max_workers=RUNTIME
|
|||||||
|
|
||||||
if not use_raw:
|
if not use_raw:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"Flag \"raw\" is not enabled. But the launcher haven't implemented support for compressed files."
|
"The \"raw\" flag is not enabled, but the launcher does not support compressed files yet. "
|
||||||
"You will likely to decompress all files before use them."
|
"You will likely need to decompress all files before using them."
|
||||||
)
|
)
|
||||||
|
|
||||||
return result_executables, result_files, result_dirs
|
return result_executables, result_files, result_dirs
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ def main():
|
|||||||
# parse arguments
|
# parse arguments
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("-m", "--mode", choices=['lightweight', 'full', 'choice'], default='choice',
|
parser.add_argument("-m", "--mode", choices=['lightweight', 'full', 'choice'], default='choice',
|
||||||
help="Select mode (lightweight for tui, full is gui,"
|
help="Select a mode (lightweight for TUI, full for GUI, or choice to open a mode-selection window). "
|
||||||
"choice for a mode select window) (TUI is not implemented)", required=False)
|
"TUI is not implemented yet.", required=False)
|
||||||
parser.add_argument("-d", "--debug", action="store_true",
|
parser.add_argument("-d", "--debug", action="store_true",
|
||||||
help="Enable debug mode", default=False)
|
help="Enable debug mode", default=False)
|
||||||
parser.add_argument("-wd", "--work-dir", default=os.getcwd(), help="Work directory")
|
parser.add_argument("-wd", "--work-dir", default=os.getcwd(), help="Work directory")
|
||||||
|
|||||||
+3
-3
@@ -494,9 +494,9 @@ class LaunchManager:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.widget_mgr.download_signal.failed.emit(task_id, str(e))
|
self.widget_mgr.download_signal.failed.emit(task_id, str(e))
|
||||||
result.add_warning(
|
result.add_warning(
|
||||||
"Some assets were not downloaded. Although is not necessary for launching game."
|
"Some assets could not be downloaded. They are not required to launch the game,"
|
||||||
" But it may cause some texture issue when you playing. (Such as missing textures)"
|
" but missing assets may cause texture issues while you play."
|
||||||
" Try relaunching to automatic redownload assets."
|
" Try relaunching to download them automatically."
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
self.widget_mgr.download_signal.finished.emit(task_id)
|
self.widget_mgr.download_signal.finished.emit(task_id)
|
||||||
|
|||||||
+2
-2
@@ -597,8 +597,8 @@ class TestPage(QWidget):
|
|||||||
f"{len(fails)} asset files failed to download.",
|
f"{len(fails)} asset files failed to download.",
|
||||||
)
|
)
|
||||||
self.widget_mgr.signal.show_warning_message.emit(
|
self.widget_mgr.signal.show_warning_message.emit(
|
||||||
"Some assets were not downloaded. Although is not necessary for launching game."
|
"Some assets could not be downloaded. They are not required to launch the game,"
|
||||||
" But it may cause some texture issue when you playing. (Such as missing textures)"
|
" but missing assets may cause texture issues while you play."
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
self.widget_mgr.download_signal.log.emit(
|
self.widget_mgr.download_signal.log.emit(
|
||||||
|
|||||||
+2
-1
@@ -1,5 +1,5 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "testlauncher(taplauncher)"
|
name = "testlauncher"
|
||||||
version = "0.0.4a0"
|
version = "0.0.4a0"
|
||||||
description = "A lightweight Minecraft launcher."
|
description = "A lightweight Minecraft launcher."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@@ -19,6 +19,7 @@ build = [
|
|||||||
"Nuitka>=4.1",
|
"Nuitka>=4.1",
|
||||||
"ordered-set>=4.1",
|
"ordered-set>=4.1",
|
||||||
"zstandard>=0.23",
|
"zstandard>=0.23",
|
||||||
|
"imageio>=2.37.0"
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
|
|||||||
@@ -111,7 +111,8 @@ class LauncherMainWindow(QMainWindow):
|
|||||||
|
|
||||||
# center message (will be deleted if launcher finished development)
|
# center message (will be deleted if launcher finished development)
|
||||||
content = """Still digging!"""
|
content = """Still digging!"""
|
||||||
message = "If you found that something might be a issue. You can report it to the main repo! Any suggestion are welcome."
|
message = ("If you find an issue, you can report it in the main repository. "
|
||||||
|
"Suggestions are always welcome!")
|
||||||
self.icon_label = QLabel()
|
self.icon_label = QLabel()
|
||||||
self.icon_label.setObjectName("icon_label")
|
self.icon_label.setObjectName("icon_label")
|
||||||
self.dev_info_box = QLabel(content)
|
self.dev_info_box = QLabel(content)
|
||||||
|
|||||||
Reference in New Issue
Block a user