Skip to content

v2.1

Compare
Choose a tag to compare
@MrShieh-X MrShieh-X released this 12 Feb 10:13
· 23 commits to master since this release
  • 优化了启动器的启动速度。
  • 与版本相关的操作(version)后面可以不接版本以操作已选择版本,如cmcl version --fabric --api
  • 可通过version [<版本>] --isolateversion [<版本>] --unset-isolate设置与取消设置版本隔离。
  • 可通过version [<版本>] -pversion [<版本>] --print-command打印版本的启动命令。
  • 可通过version [<版本>] --export-script=<脚本文件>导出启动脚本,通过version [<版本>] --export-script-ps=<脚本文件>导出 PowerShell 格式的启动脚本。
  • 原打印启动命令的选项-p--print后面可不加上版本,意为打印已选择版本的启动命令。

Jaffe2718Issue#25 提出的新特性

  • 帮助文档更加整洁。
  • 将会自动安装前置模组。
  • 安装模组与整合包时可以不指定下载源,首次下载时会询问并保存到本地供下次使用。
  • 可通过cmcl mod --url=<模组地址>cmcl modpack --url=<整合包地址> [--storage=<版本存储名称>]从互联网下载模组、下载与安装整合包。
  • 安装模组与整合包时,可通过--game-version=<游戏版本>指定游戏版本,通过-v, --version=<模组版本>指定模组或整合包的版本。因 CurseForge 中某些模组或整合包的版本名称不存在于文件名中,所以对于他们,并不能正确地找到相应的模组或整合包,此功能可能会无济于事,甚至会匹配错误。

English

  • Optimized the startup speed of the launcher.
  • Version-related operations (version) may not be followed by the version to operate the selected version, such as cmcl version --fabric --api.
  • Version isolation can be set and unset via version [<version>] --isolate and version [<version>] --unset-isolate.
  • The startup command of the version can be printed by version [<version>] -p or version [<version>] --print-command.
  • You can export the startup script via version [<version>] --export-script=<script file>, or version [<version>] --export-script-ps=<script file> in PowerShell format.
  • The original startup command printing options -p and --print can not be followed by the version, which means to print the startup command of the selected version.

New features proposed by Jaffe2718 on Issue#25

  • Cleaner help documentation.
  • Will automatically install mod dependencies.
  • You can not specify the download source when installing mods and modpacks. When you download for the first time, you will be asked and saved locally for next use.
  • You can download mods, download and install modpacks from the Internet through cmcl mod --url=<mod url> and cmcl modpack --url=<modpack url> [--storage=<version storage name>].
  • When installing mods and modpacks, you can use --game-version=<game version> to specify the game version, and -v, --version=<mod version> to specify the mod or modpack version. For some mods or modpacks in CurseForge whose version name does not exist in the filename, so for them, the corresponding mod or modpack cannot be found correctly, this function may not help, or even match wrongly.