| @@ -210,6 +210,7 @@ elseif(Launcher_LAYOUT_REAL STREQUAL "lin-system") | ||||
|     set(Launcher_SHARE_DEST_DIR "share/polymc" CACHE STRING "Path to the shared data directory") | ||||
|     set(JARS_DEST_DIR "${Launcher_SHARE_DEST_DIR}/jars") | ||||
|     set(Launcher_DESKTOP_DEST_DIR "share/applications" CACHE STRING "Path to the desktop file directory") | ||||
|     set(Launcher_METAINFO_DEST_DIR "share/metainfo" CACHE STRING "Path to the metainfo directory") | ||||
|  | ||||
|     set(BINARY_DEST_DIR ${Launcher_BINARY_DEST_DIR}) | ||||
|     set(LIBRARY_DEST_DIR ${Launcher_LIBRARY_DEST_DIR}) | ||||
| @@ -218,6 +219,7 @@ elseif(Launcher_LAYOUT_REAL STREQUAL "lin-system") | ||||
|     SET(Launcher_APP_BINARY_DEFS "-DMULTIMC_JARS_LOCATION=${CMAKE_INSTALL_PREFIX}/${JARS_DEST_DIR}" "-DLAUNCHER_LINUX_DATADIR") | ||||
|  | ||||
|     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${Launcher_Desktop} DESTINATION ${Launcher_DESKTOP_DEST_DIR}) | ||||
|     install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${Launcher_MetaInfo} DESTINATION ${Launcher_METAINFO_DEST_DIR}) | ||||
|  | ||||
|     # install as bundle with no dependencies included | ||||
|     set(INSTALL_BUNDLE "nodeps") | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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; | ||||
							
								
								
									
										60
									
								
								program_info/org.polymc.PolyMC.metainfo.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								program_info/org.polymc.PolyMC.metainfo.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -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> | ||||
| Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB | 
| @@ -1,6 +1,6 @@ | ||||
| <!DOCTYPE RCC> | ||||
| <RCC version="1.0"> | ||||
|     <qresource prefix="/"> | ||||
|         <file>polymc.svg</file> | ||||
|         <file>org.polymc.PolyMC.svg</file> | ||||
|     </qresource> | ||||
| </RCC> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user