Update some text.
This commit is contained in:
+7
-7
@@ -2,17 +2,17 @@ __version__ = "0.0.1"
|
||||
__author__ = "wei"
|
||||
__email__ = "[email protected]"
|
||||
__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
|
||||
game, and I think launcher must be simple and lightweight to make user to feel is easy to use.
|
||||
I made this because the official Minecraft Launcher is too large and slow. I have to wait over a minute to launch
|
||||
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
|
||||
2: Be complex at some point (Yeah this rule looks opposite to the first rule)
|
||||
3: Be cool and fun
|
||||
4: No AI slop (Nobody wants to read spaghetti code that made by AI)
|
||||
5: Freedom just like the bird (This project use MIT license)
|
||||
4: No AI slop (Nobody wants to read spaghetti code generated by AI)
|
||||
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"
|
||||
|
||||
+6
-1
@@ -7,4 +7,9 @@ LAUNCHER_USER_AGENT = f"{LAUNCHER_NAME}/{LAUNCHER_VERSION} (Powered by request m
|
||||
|
||||
ACCESS_TOKEN_KEYWORD = "accessToken"
|
||||
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:
|
||||
logger.warning(
|
||||
"Flag \"raw\" is not enabled. But the launcher haven't implemented support for compressed files."
|
||||
"You will likely to decompress all files before use them."
|
||||
"The \"raw\" flag is not enabled, but the launcher does not support compressed files yet. "
|
||||
"You will likely need to decompress all files before using them."
|
||||
)
|
||||
|
||||
return result_executables, result_files, result_dirs
|
||||
|
||||
@@ -29,8 +29,8 @@ def main():
|
||||
# parse arguments
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("-m", "--mode", choices=['lightweight', 'full', 'choice'], default='choice',
|
||||
help="Select mode (lightweight for tui, full is gui,"
|
||||
"choice for a mode select window) (TUI is not implemented)", required=False)
|
||||
help="Select a mode (lightweight for TUI, full for GUI, or choice to open a mode-selection window). "
|
||||
"TUI is not implemented yet.", required=False)
|
||||
parser.add_argument("-d", "--debug", action="store_true",
|
||||
help="Enable debug mode", default=False)
|
||||
parser.add_argument("-wd", "--work-dir", default=os.getcwd(), help="Work directory")
|
||||
|
||||
+3
-3
@@ -494,9 +494,9 @@ class LaunchManager:
|
||||
except Exception as e:
|
||||
self.widget_mgr.download_signal.failed.emit(task_id, str(e))
|
||||
result.add_warning(
|
||||
"Some assets were not downloaded. Although is not necessary for launching game."
|
||||
" But it may cause some texture issue when you playing. (Such as missing textures)"
|
||||
" Try relaunching to automatic redownload assets."
|
||||
"Some assets could not be downloaded. They are not required to launch the game,"
|
||||
" but missing assets may cause texture issues while you play."
|
||||
" Try relaunching to download them automatically."
|
||||
)
|
||||
else:
|
||||
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.",
|
||||
)
|
||||
self.widget_mgr.signal.show_warning_message.emit(
|
||||
"Some assets were not downloaded. Although is not necessary for launching game."
|
||||
" But it may cause some texture issue when you playing. (Such as missing textures)"
|
||||
"Some assets could not be downloaded. They are not required to launch the game,"
|
||||
" but missing assets may cause texture issues while you play."
|
||||
)
|
||||
else:
|
||||
self.widget_mgr.download_signal.log.emit(
|
||||
|
||||
+2
-1
@@ -1,5 +1,5 @@
|
||||
[project]
|
||||
name = "testlauncher(taplauncher)"
|
||||
name = "testlauncher"
|
||||
version = "0.0.4a0"
|
||||
description = "A lightweight Minecraft launcher."
|
||||
readme = "README.md"
|
||||
@@ -19,6 +19,7 @@ build = [
|
||||
"Nuitka>=4.1",
|
||||
"ordered-set>=4.1",
|
||||
"zstandard>=0.23",
|
||||
"imageio>=2.37.0"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
||||
@@ -111,7 +111,8 @@ class LauncherMainWindow(QMainWindow):
|
||||
|
||||
# center message (will be deleted if launcher finished development)
|
||||
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.setObjectName("icon_label")
|
||||
self.dev_info_box = QLabel(content)
|
||||
|
||||
Reference in New Issue
Block a user