Commit Graph

3101 Commits

Author SHA1 Message Date
Glavo
4b14673aaf
Update JavaFXPatcher (#1955) 2023-01-01 14:35:55 +08:00
Glavo
bd7365e944
Add icon for qq channel (#1956) 2023-01-01 14:34:58 +08:00
Glavo
8c38e4c628
fix tags color (#1959) 2023-01-01 14:34:36 +08:00
Glavo
2b4e476153
fix crash on Java 8 (#1954) 2022-12-30 17:21:57 +08:00
Glavo
0f0f5cbc28
fix #1905: fix path splicing (#1951) 2022-12-30 17:01:49 +08:00
Glavo
bed74dc66c
fix find HMCL directory (#1953) 2022-12-30 17:00:10 +08:00
Glavo
ba196dcdf4
Do not put LittleSkin in authlibInjectorServers (#1952) 2022-12-30 16:59:29 +08:00
zkitefly
9f8ca0255b
修改提示 (#1919)
* 修改提示

* fix

* Update I18N_zh_CN.properties

Co-authored-by: Yuhui Huang <jackhuang1998@gmail.com>
2022-12-30 02:07:09 +08:00
zkitefly
b6a156b0d6
修复 (#1921) 2022-12-30 02:04:15 +08:00
Glavo
d032b3c677
close #1376: 在用户文件夹中存储账户信息 (#1941)
* Save accounts in hmcl dir

* close #1377: Add conversion button

* fix YggdrasilAccount::getIdentifier()

* Check whether the account exists before moving

* Add server url to selected account

* Add global prefix
2022-12-30 02:03:19 +08:00
Glavo
4c2d1063ec
fix #1922: Add Xms only when the min memory is less than the max memory (#1949) 2022-12-30 01:59:02 +08:00
Yingchi Long
2e7e2d261c
feat: use XDG_DATA_HOME as for Linux working directories (#1948) 2022-12-30 01:58:15 +08:00
zkitefly
9750c69742
fix #1926 (#1940) 2022-12-28 23:22:46 +08:00
Glavo
d67dd700e9
修复主题相关问题 (#1915)
* Update blue.css

* fix

* fix

* Cleanup Code

* Use blue.bss

* fix read theme
2022-12-17 18:34:10 +08:00
zkitefly
7f599638d7
完善 QQ 频道 的入口 (#1910)
* 完善 QQ 频道 的入口

* 日志分析窗口结果中添加相关入口

* 完善

* 取消使用qq图标
2022-12-11 00:43:26 +08:00
Glavo
bf04854e68
弃用 FXML (#1911)
* Remove message-dialog.fxml

* Remove authlib-injector-server-add.fxml

* Remove profile.fxml

* Remove task-dialog.fxml

* Flatten AddAuthlibInjectorServerPane

* Flatten MessageDialogPane

* Remove unused fxml files

* Remove modpack.fxml

* Remove modpack-source.fxml

* Remove selection.fxml

* Remove type.fxml

* Remove versions.fxml

* Remove input-dialog.fxml

* Remove fxml

* Cleanup code

* Cleanup code

* Cleanup Code

* Cleanup Code
2022-12-10 22:36:14 +08:00
Glavo
2bcf9ee39e
Optimize automatic memory allocation (#1914) 2022-12-10 22:32:09 +08:00
huanghongxun
7a90035278 feat(about): add link to qq channel. 2022-12-07 15:52:55 +08:00
Glavo
a7108f318a
Adjust JVM arguments priority (#1898)
* Adjust JVM arguments priority

* #1889: Use the default JVM arguments consistent with the official launcher

* Follow -Xmx settings in modpack info

* Do not force generation of -Xmx
2022-12-06 13:34:32 +08:00
zkitefly
a3eaccb45b
exe and sh download java link update (#1903)
* Update main.cpp

* exe and sh download java link update

* fix
2022-12-06 13:33:00 +08:00
zkitefly
e0c97da9fd
Update main.cpp (#1900) 2022-12-03 23:22:15 +08:00
zkitefly
3843002113
(c)->© (#1899)
* Update I18N_zh_CN.properties

* Update I18N.properties

* Update I18N_es.properties

* Update I18N_ja.properties

* Update I18N_ru.properties

* Update I18N_zh.properties

* Update I18N_zh_CN.properties

* Update I18N.properties

* `(c)`->`©`

* fix

* Update AboutPage.java

* Update AboutPage.java
2022-12-03 15:05:42 +08:00
Glavo
1ec9e41459
fix #1885: filter letter color code (#1890) 2022-12-02 17:28:25 +08:00
Glavo
a6231ac593
修复内存泄漏 (#1888)
* Fix memory leaks

* Cache icon in cell

* Lazy acquisition of availableCharsets
2022-12-02 17:27:52 +08:00
Glavo
ea91ee91ec
close #1199: Reimplement Zipper (#1891) 2022-12-02 17:26:00 +08:00
Glavo
d4c0c30283
修复在精简 JRE 上崩溃的问题 (#1893)
* Do not load javafx.web on unsupported platforms

* No longer requires jdk.zipfs to exist
2022-12-02 17:23:08 +08:00
Glavo
9e2c46a6f8
Gradle 7.6 (#1895) 2022-12-02 17:22:09 +08:00
Glavo
ce31bcc6e0 Catch the exception that the OperatingSystemMXBean does not exist 2022-12-01 03:51:21 +08:00
Glavo
d11e22026c
修复遗留问题 (#1875)
* Check the sha1 file of java in the minecraft runtime dir

* Fix download Java on macOS

* misc

* Verify Java at startup

* Find the Java installed by official launcher on osx-arm64

* Extract the downloaded file to a temporary file

* Rollback JavaRepository.getSystemJavaPlatform
2022-11-26 21:43:35 +08:00
Glavo
a96fe298b8
fix #1108 (#1882)
close #1791
close #1868
2022-11-26 21:43:03 +08:00
Glavo
8e28c2487f
Load gif background (#1877) 2022-11-26 20:33:46 +08:00
Glavo
fda6f75333
fix #1553: Hide popup before rolling back mod (#1881) 2022-11-26 20:33:02 +08:00
zkitefly
e414450f3c
优化日志分析器 (#1813)
* 优化日志分析器

* 修复翻译错误

* 修复翻译错误

* 修复翻译错误

* Update CrashReportAnalyzer.java

* Update I18N_zh_CN.properties

* 逐步修复问题

* 逐步修复问题

* 尝试修复

* 修复错误

* 修复错误

* 尝试

* 尝试

* 修复

* 按照要求修改

* 依据 Check Style 修复问题

* 按提示修改

* 修复错误

* Update CrashReportAnalyzer.java

* 删除

* Update I18N_zh_CN.properties

* Update CrashReportAnalyzer.java
2022-11-25 22:45:00 +08:00
Glavo
95e15d7df4
Replace ObservableMap with MapProperty (#1870) 2022-11-25 22:40:16 +08:00
Glavo
7e826a5952
close #1803: Add new rule to CrashReportAnalyzer (#1872) 2022-11-25 22:37:41 +08:00
Glavo
43e2644f0e
fix NPE (#1871) 2022-11-25 22:37:05 +08:00
Glavo
a0ef16bef4
close #1781: Add suggestions for naming (#1873) 2022-11-25 22:35:01 +08:00
Glavo
f5d83095cc
修复 Java 下载相关问题 (#1874)
* fix #1561: Replace existing files when downloading Java
close #1756

* close #1755: Download Java using mirror

* Skip existing files
2022-11-25 22:34:26 +08:00
Glavo
a94bb407e5
Submit the modification of JFXTextField after editing (#1869) 2022-11-25 17:20:16 +08:00
Glavo
6611774aa9
Fix the problem of garbled logs on Java 18+ (#1866) 2022-11-25 17:17:31 +08:00
Glavo
e1eb40c129
Optimization HMCLProcessListener::onLog (#1867) 2022-11-25 17:16:23 +08:00
Glavo
2e532be34c
将 Quilt 图标添加至 VersionIconDialog (#1864)
* Safely deserialize VersionSetting

* Add quilt to VersionIconDialog
2022-11-24 12:54:56 +08:00
Glavo
b9d0cfc12a
Update GitHub Action (#1863) 2022-11-24 12:54:48 +08:00
Glavo
3d88bc35bb
fix memory leak (#1865) 2022-11-24 12:53:16 +08:00
Glavo
8c9c8fd28f
修复 macOS Dock 中的图标 (#1862)
* High resolution logo

* Load original icon on Java 8
2022-11-24 12:52:54 +08:00
Glavo
5e685b7f26
Modify the version number for unofficial builds (#1861) 2022-11-23 22:54:28 +08:00
Glavo
c76b562705
Remove log4j-patch (#1860)
* Remove log4j-patch

* Update I18N
2022-11-23 17:20:15 +08:00
Glavo
4c9f8d3dca
Complete the missing translation (#1859) 2022-11-23 17:19:45 +08:00
Glavo
0f26ae5cfc
代码清理与修复 UI 卡顿资源占用过高的问题 (#1849)
* Lazy initialization of Swing

* Load ISRG Root X1 certificate only on Java 8

* Replace JOptionPane with JavaFX Alert

* Avoid using java.awt.Desktop

* Rewrite TexturesLoader

* Optimization SelfDependencyPatcher

* fix typo

* close #968: Use computeIfAbsent to ensure thread safety

* Optimization GameVersion::minecraftVersion

* code cleanup

* Set the initial capacity of readFullyWithoutClosing

* code cleanup

* Mark inner classes as static if possible

* Cache version icon

* Code cleanup

* Fix ListView scrolling performance issues

* DatapackListPage::items

* Replace OutputStream with FileChannel::write
2022-11-23 16:33:14 +08:00
Glavo
035469240d
close #1855: Add 1.19 to DEFAULT_GAME_VERSIONS (#1857) 2022-11-23 16:32:20 +08:00