Giter VIP home page Giter VIP logo

colormc's Introduction

只想摸鱼

  • 稍微加点这种东西
  • 嗯也没啥好写的
  • 有时候写写软件
  • 有时候搞搞硬件

colormc's People

Contributors

coloryr avatar huige233 avatar staccato-kashi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

colormc's Issues

实例名字可以输入非法路径字符,或粘贴多行内容以致启动器报错

添加游戏实例时实例名字可以输入非法路径字符,或粘贴多行内容以致启动器报错
比如

[2023/9/27 19:20:20][Error]Gui Crash
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (文件名、目录名或卷标语法不正确。 : 'C:\minecraft\Launcher\ColorMC\minecraft\instances\CCDD
AABB')
 ---> System.IO.IOException: 文件名、目录名或卷标语法不正确。 : 'C:\minecraft\Launcher\ColorMC\minecraft\instances\CCDD
AABB'
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at ColorMC.Core.LaunchPath.InstancesPath.CreateGame(GameSettingObj game)
   at ColorMC.Gui.UIBinding.GameBinding.AddGame(String name, String version, Loaders loaders, String loaderversion, String group)
   at ColorMC.Gui.UI.Model.Add.AddGame.AddGameModel.AddGame()
   --- End of inner exception stack trace ---

或者

[2023/9/27 19:23:45][Error]Gui Crash
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (文件名、目录名或卷标语法不正确。 : 'C:\minecraft\Launcher\ColorMC\minecraft\instances\***:::<<<>>>|||\')
 ---> System.IO.IOException: 文件名、目录名或卷标语法不正确。 : 'C:\minecraft\Launcher\ColorMC\minecraft\instances\***:::<<<>>>|||\'
   at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
   at System.IO.Directory.CreateDirectory(String path)
   at ColorMC.Core.LaunchPath.InstancesPath.CreateGame(GameSettingObj game)
   at ColorMC.Gui.UIBinding.GameBinding.AddGame(String name, String version, Loaders loaders, String loaderversion, String group)
   at ColorMC.Gui.UI.Model.Add.AddGame.AddGameModel.AddGame()
   --- End of inner exception stack trace ---

从文件夹导入实例会报错

添加游戏实例 -> 从文件夹导入 -> 导入
会生成一个崩溃报告

[2023/9/27 19:10:26][Error]Gui Crash
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at ColorMC.Gui.UI.Model.Add.AddGame.AddGameModel.AddFiles()
   --- End of inner exception stack trace ---

nb

希望继续维护下去

整合包导出

能否添加mcbbs格式整合包导出,modrinth和curseforge格式整合包导出感觉并不完善
image
是否能完善modrinth和curseforge格式整合包导出,实现自定义选择配置文件和其他文件,就像mulitmc导出modrinth整合包和curseforge导出整合包格式一样
这些只是我的一些看法

简化微软登录步骤

如果 API 返回来的 URL 是 https://microsoft.com/link,那么就在这个 URL 后面加上 ?otc=代码 就可以不用在浏览器里输入代码

反复修改下载线程数会造成较高的 CPU 负担

问题

反复修改下载线程数会大量销毁和创建线程,造成较高的 CPU 负担;如果不小心填入了特别大的值(比如 10000 ),会使程序卡顿或假死,且由于保存进了配置文件,重新启动程序仍会卡顿或假死

建议

  • 等修改完成后再调整线程数;
  • 加入上限;
  • 当用户尝试设置一个特别大的值时,发出警告让用户二次确认;
  • 仅销毁/创建与原先线程数量之差

截图

界面
性能监视

How about creating a Fedora version (RPM)?

I'm a Fedora user and I don't want to install it using user install.
我是一个Fedora用户,但我不想用Alien进行转换,也不想把启动器拷到~/.local/bin,还对直接用APT安装不太放心,创建Debian/Arch子系统也不是我喜欢的方法,我还不喜欢用Toolbx/Distrobox,虚拟机会有性能损耗,我我也不想安装Ubuntu,因为它容易掉驱动,影响游戏体验,Arch的pacman又极度辣鸡,换成Manjaro又要忍受我无法忍受的半个月更新延迟,Debian连网卡驱动都没有,Windows下又有PCL,macOS我不用,我还不喜欢自己打代码编译,我还......
就算不搞rpm至少也得搞个snap/flatpak版吧,我还用solusopensusemageiapclinuxosvoidendlessgnomeoscentosrhelrisiosalpinefreebsdnixosguix
搞不懂?

Solus
openSUSE
Mageia
PCLinuxOS
Void
Endless
GNOME OS
CentOS
RHEL
risiOS
Alpine
FreeBSD
NixOS
Guix
……











----------

额……其实Fedora用户大都Linux技术较高(比如我)
(废话)
对不起,中二病犯了(其实我就初中二年级)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.