diff options
Diffstat (limited to 'polymc')
| -rw-r--r-- | polymc/.footprint | 19 | ||||
| -rw-r--r-- | polymc/.md5sum | 1 | ||||
| -rw-r--r-- | polymc/Pkgfile | 23 | ||||
| -rw-r--r-- | polymc/disable_offline_check.diff | 24 |
4 files changed, 67 insertions, 0 deletions
diff --git a/polymc/.footprint b/polymc/.footprint new file mode 100644 index 0000000..c899638 --- /dev/null +++ b/polymc/.footprint | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | drwxr-xr-x root/root usr/ | ||
| 2 | drwxr-xr-x root/root usr/bin/ | ||
| 3 | -rwxr-xr-x root/root usr/bin/polymc | ||
| 4 | drwxr-xr-x root/root usr/share/ | ||
| 5 | drwxr-xr-x root/root usr/share/applications/ | ||
| 6 | -rw-r--r-- root/root usr/share/applications/org.polymc.PolyMC.desktop | ||
| 7 | drwxr-xr-x root/root usr/share/icons/ | ||
| 8 | drwxr-xr-x root/root usr/share/icons/hicolor/ | ||
| 9 | drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ | ||
| 10 | drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ | ||
| 11 | -rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/org.polymc.PolyMC.svg | ||
| 12 | drwxr-xr-x root/root usr/share/jars/ | ||
| 13 | -rw-r--r-- root/root usr/share/jars/JavaCheck.jar | ||
| 14 | -rw-r--r-- root/root usr/share/jars/NewLaunch.jar | ||
| 15 | drwxr-xr-x root/root usr/share/man/ | ||
| 16 | drwxr-xr-x root/root usr/share/man/man6/ | ||
| 17 | -rw-r--r-- root/root usr/share/man/man6/polymc.6.gz | ||
| 18 | drwxr-xr-x root/root usr/share/metainfo/ | ||
| 19 | -rw-r--r-- root/root usr/share/metainfo/org.polymc.PolyMC.metainfo.xml | ||
diff --git a/polymc/.md5sum b/polymc/.md5sum new file mode 100644 index 0000000..af96bfd --- /dev/null +++ b/polymc/.md5sum | |||
| @@ -0,0 +1 @@ | |||
| 75d8dbc95fd64ab14e8c2bdf270618e7 PolyMC-1.2.1.tar.gz | |||
diff --git a/polymc/Pkgfile b/polymc/Pkgfile new file mode 100644 index 0000000..aaf505e --- /dev/null +++ b/polymc/Pkgfile | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # Description: A custom FOSS Minecraft launcher that lets you manage multiple instances (Nuegia fork) | ||
| 2 | # URL: https://git.nuegia.net/MultiMC/ | ||
| 3 | # Maintainer: Shokara Kou, shokara at kalli dot st | ||
| 4 | # Depends on: openjdk8 qt5 cmake | ||
| 5 | |||
| 6 | name=polymc | ||
| 7 | version=1.2.1 | ||
| 8 | release=1 | ||
| 9 | source=(https://github.com/$name/$name/releases/download/$version/PolyMC-$version.tar.gz) | ||
| 10 | |||
| 11 | build() { | ||
| 12 | cd PolyMC-$version | ||
| 13 | |||
| 14 | mkdir build | ||
| 15 | cd build | ||
| 16 | |||
| 17 | cmake .. \ | ||
| 18 | -DCMAKE_INSTALL_PREFIX=/usr \ | ||
| 19 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 20 | -DLauncher_PORTABLE=OFF | ||
| 21 | make | ||
| 22 | make DESTDIR=$PKG install | ||
| 23 | } | ||
diff --git a/polymc/disable_offline_check.diff b/polymc/disable_offline_check.diff new file mode 100644 index 0000000..b02bd3d --- /dev/null +++ b/polymc/disable_offline_check.diff | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp | ||
| 2 | index 6e1e2183..6821f192 100644 | ||
| 3 | --- a/launcher/ui/pages/global/AccountListPage.cpp | ||
| 4 | +++ b/launcher/ui/pages/global/AccountListPage.cpp | ||
| 5 | @@ -186,19 +186,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered() | ||
| 6 | |||
| 7 | void AccountListPage::on_actionAddOffline_triggered() | ||
| 8 | { | ||
| 9 | - if (!m_accounts->anyAccountIsValid()) { | ||
| 10 | - QMessageBox::warning( | ||
| 11 | - this, | ||
| 12 | - tr("Error"), | ||
| 13 | - tr( | ||
| 14 | - "You must add a Microsoft or Mojang account that owns Minecraft before you can add an offline account." | ||
| 15 | - "<br><br>" | ||
| 16 | - "If you have lost your account you can contact Microsoft for support." | ||
| 17 | - ) | ||
| 18 | - ); | ||
| 19 | - return; | ||
| 20 | - } | ||
| 21 | - | ||
| 22 | MinecraftAccountPtr account = OfflineLoginDialog::newAccount( | ||
| 23 | this, | ||
| 24 | tr("Please enter your desired username to add your offline account.") | ||
