mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-16 07:16:27 -04:00
Fresh icon (#2677)
* Added Optifine Icon * Updated Optifine Icons * Updated Optifine Icons
This commit is contained in:
parent
1d8ead2cbb
commit
43fee4878f
BIN
HMCL/image/optifine.png
Executable file
BIN
HMCL/image/optifine.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
@ -291,7 +291,7 @@ public class HMCLGameRepository extends DefaultGameRepository {
|
||||
else if (libraryAnalyzer.has(LibraryAnalyzer.LibraryType.QUILT))
|
||||
return VersionIconType.QUILT.getIcon();
|
||||
else if (libraryAnalyzer.has(LibraryAnalyzer.LibraryType.OPTIFINE))
|
||||
return VersionIconType.COMMAND.getIcon();
|
||||
return VersionIconType.OPTIFINE.getIcon();
|
||||
else if (libraryAnalyzer.has(LibraryAnalyzer.LibraryType.LITELOADER))
|
||||
return VersionIconType.CHICKEN.getIcon();
|
||||
else
|
||||
|
@ -27,6 +27,7 @@ public enum VersionIconType {
|
||||
CHEST("/assets/img/chest.png"),
|
||||
CHICKEN("/assets/img/chicken.png"),
|
||||
COMMAND("/assets/img/command.png"),
|
||||
OPTIFINE("/assets/img/optifine.png"),
|
||||
CRAFT_TABLE("/assets/img/craft_table.png"),
|
||||
FABRIC("/assets/img/fabric.png"),
|
||||
FORGE("/assets/img/forge.png"),
|
||||
|
@ -87,7 +87,7 @@ public class InstallerItem extends Control {
|
||||
iconType = VersionIconType.CHICKEN;
|
||||
break;
|
||||
case "optifine":
|
||||
iconType = VersionIconType.COMMAND;
|
||||
iconType = VersionIconType.OPTIFINE;
|
||||
break;
|
||||
case "quilt":
|
||||
case "quilt-api":
|
||||
|
@ -323,7 +323,7 @@ public final class VersionsPage extends BorderPane implements WizardPage, Refres
|
||||
if (remoteVersion instanceof LiteLoaderRemoteVersion)
|
||||
iconType = VersionIconType.CHICKEN;
|
||||
else if (remoteVersion instanceof OptiFineRemoteVersion)
|
||||
iconType = VersionIconType.COMMAND;
|
||||
iconType = VersionIconType.OPTIFINE;
|
||||
else if (remoteVersion instanceof ForgeRemoteVersion)
|
||||
iconType = VersionIconType.FORGE;
|
||||
else if (remoteVersion instanceof NeoForgeRemoteVersion)
|
||||
|
@ -62,6 +62,7 @@ public class VersionIconDialog extends DialogPane {
|
||||
createIcon(VersionIconType.CHEST),
|
||||
createIcon(VersionIconType.CHICKEN),
|
||||
createIcon(VersionIconType.COMMAND),
|
||||
createIcon(VersionIconType.OPTIFINE),
|
||||
createIcon(VersionIconType.CRAFT_TABLE),
|
||||
createIcon(VersionIconType.FABRIC),
|
||||
createIcon(VersionIconType.FORGE),
|
||||
|
BIN
HMCL/src/main/resources/assets/img/optifine.png
Executable file
BIN
HMCL/src/main/resources/assets/img/optifine.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
HMCL/src/main/resources/assets/img/optifine@2x.png
Executable file
BIN
HMCL/src/main/resources/assets/img/optifine@2x.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
Loading…
x
Reference in New Issue
Block a user