mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
fix: don't manually format UUIDs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
9bf2792c7f
commit
d81fa77d1f
5 changed files with 9 additions and 18 deletions
|
|
@ -370,8 +370,7 @@ LibraryPtr OneSixVersionFormat::plusJarModFromJson([[maybe_unused]] ProblemConta
|
|||
}
|
||||
|
||||
// just make up something unique on the spot for the library name.
|
||||
auto uuid = QUuid::createUuid();
|
||||
QString id = uuid.toString().remove('{').remove('}');
|
||||
QString id = QUuid::createUuid().toString(QUuid::WithoutBraces);
|
||||
out->setRawName(GradleSpecifier("org.multimc.jarmods:" + id + ":1"));
|
||||
|
||||
// filename override is the old name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue