mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
NOISSUE use absolute data path for application ID
This commit is contained in:
parent
a717864013
commit
e9949e3a54
1 changed files with 2 additions and 1 deletions
|
|
@ -189,7 +189,8 @@ MultiMC::MultiMC(int &argc, char **argv) : QApplication(argc, argv)
|
|||
m_status = MultiMC::Failed;
|
||||
return;
|
||||
}
|
||||
m_peerInstance = new LocalPeer(this, ApplicationId::fromPathAndVersion(dataPath, BuildConfig.printableVersionString()));
|
||||
auto appID = ApplicationId::fromPathAndVersion(QDir(dataPath).absolutePath(), BuildConfig.printableVersionString());
|
||||
m_peerInstance = new LocalPeer(this, appID);
|
||||
connect(m_peerInstance, &LocalPeer::messageReceived, this, &MultiMC::messageReceived);
|
||||
if(m_peerInstance->isClient())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue