mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
overlays: add cracked support for prismlauncher
This commit is contained in:
@@ -75,5 +75,9 @@
|
||||
sha256 = "sha256-95mRJ3ZCSkLHqehFQdwM2BY0h+YDhohwpnRiF6/lZtA=";
|
||||
};
|
||||
});
|
||||
|
||||
prismlauncher = prev.prismlauncher.overrideAttrs (oa: {
|
||||
patches = (oa.patches or [ ]) ++ [ ./offline-mode-prism-launcher.diff ];
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp
|
||||
index 9e2fd11..3965913 100644
|
||||
--- a/launcher/minecraft/auth/AccountList.cpp
|
||||
+++ b/launcher/minecraft/auth/AccountList.cpp
|
||||
@@ -657,13 +657,7 @@ void AccountList::setListFilePath(QString path, bool autosave)
|
||||
|
||||
bool AccountList::anyAccountIsValid()
|
||||
{
|
||||
- for(auto account: m_accounts)
|
||||
- {
|
||||
- if(account->ownsMinecraft()) {
|
||||
- return true;
|
||||
- }
|
||||
- }
|
||||
- return false;
|
||||
+ return true;
|
||||
}
|
||||
|
||||
void AccountList::fillQueue() {
|
||||
Reference in New Issue
Block a user