Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed Dec 9, 2024
1 parent c8c601b commit 8ad8afd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HMCL/src/main/java/org/jackhuang/hmcl/setting/Accounts.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.jackhuang.hmcl.Metadata;
import org.jackhuang.hmcl.auth.*;
import org.jackhuang.hmcl.auth.authlibinjector.*;
import org.jackhuang.hmcl.auth.littleskin.LittleSkinAccount;
import org.jackhuang.hmcl.auth.littleskin.LittleSkinAccountFactory;
import org.jackhuang.hmcl.auth.littleskin.LittleSkinService;
import org.jackhuang.hmcl.auth.microsoft.MicrosoftAccount;
Expand Down Expand Up @@ -142,6 +143,8 @@ else if (account instanceof AuthlibInjectorAccount)
return FACTORY_AUTHLIB_INJECTOR;
else if (account instanceof MicrosoftAccount)
return FACTORY_MICROSOFT;
else if (account instanceof LittleSkinAccount)
return FACTORY_LITTLE_SKIN;
else
throw new IllegalArgumentException("Failed to determine account type: " + account);
}
Expand Down

0 comments on commit 8ad8afd

Please sign in to comment.