* 'Custom Yggdrasil' AccountType Signed-off-by: Evan Goode <mail@evangoo.de> * Allow multiple accounts with the same player UUID Signed-off-by: Evan Goode <mail@evangoo.de> * Use correct services server URL for SkinDelete Signed-off-by: Evan Goode <mail@evangoo.de> * Correctly use CustomYggdrasilRefresh, add warning message Signed-off-by: Evan Goode <mail@evangoo.de> * Custom Yggdrasil: Readability fixes Also made the MinecraftEntitlement for Custom Yggdrasil accounts work just like offline accounts---instead of checking the reply from the auth server, Custom Yggdrasil accounts are granted canPlayMinecraft and ownsMinecraft when they are created, in MinecraftAccount.cpp. Signed-off-by: Evan Goode <mail@evangoo.de> * Custom Yggdrasil: Add extra confirmation dialog Signed-off-by: Evan Goode <mail@evangoo.de> * Add install authlib-injector button Signed-off-by: Evan Goode <mail@evangoo.de> * authlib-injector accounts Signed-off-by: Evan Goode <mail@evangoo.de> * Suggest installing authlib-injector when needed Signed-off-by: Evan Goode <mail@evangoo.de> * Use Unmojang metadata Signed-off-by: Evan Goode <mail@evangoo.de> * Use std::string for MANAGED_AGENTS, not QString --------- Signed-off-by: Evan Goode <mail@evangoo.de> Resolve X-Authlib-Injector-API-Location Signed-off-by: Evan Goode <mail@evangoo.de> Prefetch authlib-injector metadata Resolves https://github.com/unmojang/PrismLauncher/issues/4 See https://github-com.translate.goog/yushijinhun/authlib-injector/wiki/%E5%90%AF%E5%8A%A8%E5%99%A8%E6%8A%80%E6%9C%AF%E8%A7%84%E8%8C%83?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US#%E9%85%8D%E7%BD%AE%E9%A2%84%E8%8E%B7%E5%8F%96 Signed-off-by: Evan Goode <mail@evangoo.de> drag-and-drop authlib-injector URL, clang-format Resolves https://github.com/unmojang/PrismLauncher/issues/2 Signed-off-by: Evan Goode <mail@evangoo.de>
142 lines
3.7 KiB
XML
142 lines
3.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AccountListPage</class>
|
|
<widget class="QMainWindow" name="AccountListPage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="VersionListView" name="listView">
|
|
<property name="alternatingRowColors">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="rootIsDecorated">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="itemsExpandable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="headerStretchLastSection">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="WideBar" name="toolBar">
|
|
<attribute name="toolBarArea">
|
|
<enum>RightToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionAddMicrosoft"/>
|
|
<addaction name="actionAddMojang"/>
|
|
<addaction name="actionAddAuthlibInjector"/>
|
|
<addaction name="actionAddOffline"/>
|
|
<addaction name="actionRefresh"/>
|
|
<addaction name="actionRemove"/>
|
|
<addaction name="actionSetDefault"/>
|
|
<addaction name="actionNoDefault"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionUploadSkin"/>
|
|
<addaction name="actionDeleteSkin"/>
|
|
</widget>
|
|
<action name="actionAddMojang">
|
|
<property name="text">
|
|
<string>Add &Mojang</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddAuthlibInjector">
|
|
<property name="text">
|
|
<string>Add &authlib-injector</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRemove">
|
|
<property name="text">
|
|
<string>Remo&ve</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSetDefault">
|
|
<property name="text">
|
|
<string>&Set Default</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNoDefault">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>&No Default</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionUploadSkin">
|
|
<property name="text">
|
|
<string>&Upload Skin</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDeleteSkin">
|
|
<property name="text">
|
|
<string>&Delete Skin</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Delete the currently active skin and go back to the default one</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddMicrosoft">
|
|
<property name="text">
|
|
<string>&Add Microsoft</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionAddOffline">
|
|
<property name="text">
|
|
<string>Add &Offline</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRefresh">
|
|
<property name="text">
|
|
<string>&Refresh</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Refresh the account tokens</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>VersionListView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>ui/widgets/VersionListView.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>WideBar</class>
|
|
<extends>QToolBar</extends>
|
|
<header>ui/widgets/WideBar.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|