aboutsummaryrefslogtreecommitdiff
path: root/program_info
diff options
context:
space:
mode:
authorswirl <swurl@swurl.xyz>2022-01-03 15:41:31 -0500
committerswirl <swurl@swurl.xyz>2022-01-03 15:42:09 -0500
commit3613ffa80ee028bb2417d0d84d0f6b103b7e9f36 (patch)
tree7dd854d26799dc7546218b3fd0040f4eeda59a7b /program_info
parent38a1772f865a7af7c8efa3575213b3bd727734bf (diff)
downloadPrismLauncher-3613ffa80ee028bb2417d0d84d0f6b103b7e9f36.tar.gz
PrismLauncher-3613ffa80ee028bb2417d0d84d0f6b103b7e9f36.tar.bz2
PrismLauncher-3613ffa80ee028bb2417d0d84d0f6b103b7e9f36.zip
rDNS for icons and desktop file, and metainfo
Closes: #12, #13
Diffstat (limited to 'program_info')
-rw-r--r--program_info/CMakeLists.txt5
-rwxr-xr-xprogram_info/genicons.sh2
-rw-r--r--program_info/org.polymc.PolyMC.desktop.in (renamed from program_info/polymc.desktop.in)2
-rw-r--r--program_info/org.polymc.PolyMC.metainfo.xml60
-rw-r--r--program_info/org.polymc.PolyMC.svg (renamed from program_info/polymc.svg)0
-rw-r--r--program_info/polymc.qrc2
6 files changed, 66 insertions, 5 deletions
diff --git a/program_info/CMakeLists.txt b/program_info/CMakeLists.txt
index 840c3fa2..045b92ae 100644
--- a/program_info/CMakeLists.txt
+++ b/program_info/CMakeLists.txt
@@ -8,9 +8,10 @@ set(Launcher_UserAgent "${Launcher_CommonName}/5.0" PARENT_SCOPE)
set(Launcher_ConfigFile "polymc.cfg" PARENT_SCOPE)
set(Launcher_Git "https://github.com/PolyMC/PolyMC" PARENT_SCOPE)
-set(Launcher_Desktop "program_info/polymc.desktop" PARENT_SCOPE)
+set(Launcher_Desktop "program_info/org.polymc.PolyMC.desktop" PARENT_SCOPE)
+set(Launcher_MetaInfo "program_info/org.polymc.PolyMC.metainfo.xml" PARENT_SCOPE)
set(Launcher_Branding_ICNS "program_info/polymc.icns" PARENT_SCOPE)
set(Launcher_Branding_WindowsRC "program_info/polymc.rc" PARENT_SCOPE)
set(Launcher_Branding_LogoQRC "program_info/polymc.qrc" PARENT_SCOPE)
-configure_file(polymc.desktop.in polymc.desktop)
+configure_file(org.polymc.PolyMC.desktop.in org.polymc.PolyMC.desktop)
diff --git a/program_info/genicons.sh b/program_info/genicons.sh
index 2ed39129..e74aa991 100755
--- a/program_info/genicons.sh
+++ b/program_info/genicons.sh
@@ -5,7 +5,7 @@ inkscape -w 24 -h 24 -o polymc_24.png polymc.svg
inkscape -w 32 -h 32 -o polymc_32.png polymc.svg
inkscape -w 48 -h 48 -o polymc_48.png polymc.svg
inkscape -w 64 -h 64 -o polymc_64.png polymc.svg
-inkscape -w 128 -h 128 -o polymc_128.png polymc.svg
+inkscape -w 128 -h 128 -o polymc_128.png org.polymc.PolyMC.svg
convert polymc_128.png polymc_64.png polymc_48.png polymc_32.png polymc_24.png polymc_16.png polymc.ico
diff --git a/program_info/polymc.desktop.in b/program_info/org.polymc.PolyMC.desktop.in
index 1549cb9b..f89f63d2 100644
--- a/program_info/polymc.desktop.in
+++ b/program_info/org.polymc.PolyMC.desktop.in
@@ -6,6 +6,6 @@ Type=Application
Terminal=false
Exec=@Launcher_APP_BINARY_NAME@
StartupNotify=true
-Icon=polymc
+Icon=org.polymc.PolyMC
Categories=Game;
Keywords=game;minecraft;launcher;
diff --git a/program_info/org.polymc.PolyMC.metainfo.xml b/program_info/org.polymc.PolyMC.metainfo.xml
new file mode 100644
index 00000000..60b0ee73
--- /dev/null
+++ b/program_info/org.polymc.PolyMC.metainfo.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>org.polymc.PolyMC</id>
+ <provides><id>org.polymc.PolyMC</id></provides>
+ <launchable type="desktop-id">org.polymc.PolyMC.desktop</launchable>
+ <name>PolyMC</name>
+ <developer_name>PolyMC Team</developer_name>
+ <summary>A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0-only</project_license>
+ <url type="homepage">https://polymc.org/</url>
+ <url type="help">https://github.com/PolyMC/PolyMC#help--support</url>
+ <description>
+ <p>
+ PolyMC is a custom launcher for Minecraft that focuses on predictability, long term stability and simplicity.
+ Features:
+ - Easily install game modifications, such as Fabric or Forge
+ - Control your java settings
+ - Manage worlds and resource packs from the launcher
+ - See logs and other details easily
+ - Kill Minecraft in case of a crash/freeze
+ - Isolate minecraft instances to keep everything clean
+
+ This flatpak includes Wayland support without XWayland: to enable, tick Use system installation of GLFW... in the settings of a Minecraft instance.
+ All java versions that are required by Minecraft are included.
+ If using a Hybrid-Graphics device, you can use the prime-run script as a wrapper command to run Minecraft using the dedicated graphics card.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <caption>The main PolyMC window</caption>
+ <image type="source" width="802" height="639">https://i.imgur.com/q2GcDo4.png</image>
+ </screenshot>
+ </screenshots>
+ <releases>
+ <release version="1.0.2" date="2022-01-01"/>
+ </releases>
+ <content_rating type="oars-1.0">
+ <content_attribute id="violence-cartoon">moderate</content_attribute>
+ <content_attribute id="violence-fantasy">none</content_attribute>
+ <content_attribute id="violence-realistic">none</content_attribute>
+ <content_attribute id="violence-bloodshed">none</content_attribute>
+ <content_attribute id="violence-sexual">none</content_attribute>
+ <content_attribute id="drugs-alcohol">none</content_attribute>
+ <content_attribute id="drugs-narcotics">none</content_attribute>
+ <content_attribute id="drugs-tobacco">none</content_attribute>
+ <content_attribute id="sex-nudity">none</content_attribute>
+ <content_attribute id="sex-themes">none</content_attribute>
+ <content_attribute id="language-profanity">none</content_attribute>
+ <content_attribute id="language-humor">none</content_attribute>
+ <content_attribute id="language-discrimination">none</content_attribute>
+ <content_attribute id="social-chat">intense</content_attribute>
+ <content_attribute id="social-info">none</content_attribute>
+ <content_attribute id="social-audio">none</content_attribute>
+ <content_attribute id="social-location">none</content_attribute>
+ <content_attribute id="social-contacts">none</content_attribute>
+ <content_attribute id="money-purchasing">none</content_attribute>
+ <content_attribute id="money-gambling">none</content_attribute>
+ </content_rating>
+</component> \ No newline at end of file
diff --git a/program_info/polymc.svg b/program_info/org.polymc.PolyMC.svg
index c57e8f2f..c57e8f2f 100644
--- a/program_info/polymc.svg
+++ b/program_info/org.polymc.PolyMC.svg
diff --git a/program_info/polymc.qrc b/program_info/polymc.qrc
index ea238945..9ea695de 100644
--- a/program_info/polymc.qrc
+++ b/program_info/polymc.qrc
@@ -1,6 +1,6 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/">
- <file>polymc.svg</file>
+ <file>org.polymc.PolyMC.svg</file>
</qresource>
</RCC>