This repository was archived by the owner on Apr 8, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "MainWindow.Control.Text6" : " 切换游戏分组" ,
2727 "MainWindow.Control.Text7" : " 添加分组" ,
2828 "MainWindow.Control.Text8" : " 移动到此游戏分组" ,
29+ "MainWindow.Live2d.Error1" : " Live2D模型不存在" ,
30+ "MainWindow.Live2d.Error2" : " Live2D模型加载失败" ,
2931 "MainWindow.Info1" : " 组名" ,
3032 "MainWindow.Info2" : " 已启动" ,
3133 "MainWindow.Info3" : " 正在启动游戏" ,
Original file line number Diff line number Diff line change @@ -73,9 +73,13 @@ private void ChangeModel()
7373 var window = Model . Con . Window ;
7474 lapp . Live2dManager . ReleaseAllModel ( ) ;
7575 var model = GuiConfigUtils . Config . Live2D . Model ;
76- if ( string . IsNullOrWhiteSpace ( model ) || ! File . Exists ( model ) )
76+ if ( string . IsNullOrWhiteSpace ( model ) )
7777 {
78- window . OkInfo . Show ( "Live2D模型不存在" ) ;
78+ return ;
79+ }
80+ if ( ! File . Exists ( model ) )
81+ {
82+ window . OkInfo . Show ( App . GetLanguage ( "MainWindow.Live2d.Error1" ) ) ;
7983 return ;
8084 }
8185 var info = new FileInfo ( model ) ;
@@ -86,7 +90,7 @@ private void ChangeModel()
8690 catch ( Exception e )
8791 {
8892 Logs . Error ( "model load error" , e ) ;
89- window . OkInfo . Show ( "Live2D模型加载失败" ) ;
93+ window . OkInfo . Show ( App . GetLanguage ( "MainWindow.Live2d.Error2" ) ) ;
9094 }
9195 }
9296
Original file line number Diff line number Diff line change 1+ pkgname = colormc
2+ pkgver = 1-1
3+ pkgdesc = ColorMC .
4+ url = https://www.github.com/Coloryr/ColorMC
5+ builddate = 1677483497
6+ packager = colormc
7+ arch = x86_64
8+ size = 140800
9+ license =
Original file line number Diff line number Diff line change 1+ post_install() {
2+ chmod a+x /usr/share/applications/ColorMC.desktop
3+ chmod a+x /usr/share/ColorMC/ColorMC.Launcher
4+ }
5+
6+ post_upgrade() {
7+ post_install
8+ }
Original file line number Diff line number Diff line change 1- sudo debtap colormc-linux-amd64.deb
1+ sudo debtap colormc-A19- linux-amd64.deb
22sudo pacman -U colormc-1-1-x86_64.pkg.tar.zst
You can’t perform that action at this time.
0 commit comments