Skip to content

Commit

Permalink
modified: program_info/CMakeLists.txt
Browse files Browse the repository at this point in the history
	modified:   program_info/README.md
	modified:   program_info/genicons.sh
	modified:   program_info/instance_icons.svg
	modified:   program_info/prismlauncher.6.scd
	modified:   program_info/prismlauncher.manifest.in
	modified:   program_info/prismlauncher.qrc
	modified:   program_info/prismlauncher.rc.in
  • Loading branch information
s0me1newithhand7s committed Jul 11, 2024
1 parent abdeeb7 commit 27ad6ea
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 62 deletions.
48 changes: 24 additions & 24 deletions program_info/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,49 @@ if(UNIX)
endif()
endif()

set(Launcher_CommonName "PrismLauncher")
set(Launcher_DisplayName "Prism Launcher")
set(Launcher_CommonName "FreesmLauncher")
set(Launcher_DisplayName "Freesm Launcher")

set(Launcher_Name "${Launcher_CommonName}" PARENT_SCOPE)
set(Launcher_DisplayName "${Launcher_DisplayName}" PARENT_SCOPE)

set(Launcher_Copyright "© 2022-2024 Prism Launcher Contributors\\n© 2021-2022 PolyMC Contributors\\n© 2012-2021 MultiMC Contributors")
set(Launcher_Copyright_Mac "© 2022-2024 Prism Launcher Contributors, © 2021-2022 PolyMC Contributors and © 2012-2021 MultiMC Contributors" PARENT_SCOPE)
set(Launcher_Copyright 2024-2024 Freesm Launcher Contributors\\2022-2024 Prism Launcher Contributors\\n© 2021-2022 PolyMC Contributors\\n© 2012-2021 MultiMC Contributors")
set(Launcher_Copyright_Mac 2024-2024 Freesm Launcher Contributors\\2022-2024 Prism Launcher Contributors, © 2021-2022 PolyMC Contributors and © 2012-2021 MultiMC Contributors" PARENT_SCOPE)
set(Launcher_Copyright "${Launcher_Copyright}" PARENT_SCOPE)
set(Launcher_Domain "prismlauncher.org" PARENT_SCOPE)
set(Launcher_Domain "https://github.com/FreesmTeam/FreesmLauncher" PARENT_SCOPE)
set(Launcher_UserAgent "${Launcher_CommonName}/${Launcher_VERSION_NAME}" PARENT_SCOPE)
set(Launcher_ConfigFile "prismlauncher.cfg" PARENT_SCOPE)
set(Launcher_Git "https://github.com/PrismLauncher/PrismLauncher" PARENT_SCOPE)
set(Launcher_DesktopFileName "org.prismlauncher.PrismLauncher.desktop" PARENT_SCOPE)
set(Launcher_SVGFileName "org.prismlauncher.PrismLauncher.svg" PARENT_SCOPE)
set(Launcher_ConfigFile "freesmlauncher.cfg" PARENT_SCOPE)
set(Launcher_Git "https://github.com/FreesmTeam/FreesmLauncher" PARENT_SCOPE)
set(Launcher_DesktopFileName "org.freesmlauncher.FreesmLauncher.desktop" PARENT_SCOPE)
set(Launcher_SVGFileName "org.freesmLauncher.FreesmLauncher.svg" PARENT_SCOPE)

set(Launcher_Desktop "program_info/org.prismlauncher.PrismLauncher.desktop" PARENT_SCOPE)
set(Launcher_Desktop "program_info/org.freesmlauncher.FreesmLauncher.desktop" PARENT_SCOPE)
set(Launcher_mrpack_MIMEInfo "program_info/modrinth-mrpack-mime.xml" PARENT_SCOPE)
set(Launcher_MetaInfo "program_info/org.prismlauncher.PrismLauncher.metainfo.xml" PARENT_SCOPE)
set(Launcher_SVG "program_info/org.prismlauncher.PrismLauncher.svg" PARENT_SCOPE)
set(Launcher_Branding_ICNS "program_info/prismlauncher.icns" PARENT_SCOPE)
set(Launcher_Branding_ICO "program_info/prismlauncher.ico")
set(Launcher_MetaInfo "program_info/org.freesmlauncher.FreesmLauncher.metainfo.xml" PARENT_SCOPE)
set(Launcher_SVG "program_info/org.freesmlauncher.FreesmLauncher.svg" PARENT_SCOPE)
set(Launcher_Branding_ICNS "program_info/freesmlauncher.icns" PARENT_SCOPE)
set(Launcher_Branding_ICO "program_info/freesmlauncher.ico")
set(Launcher_Branding_ICO "${Launcher_Branding_ICO}" PARENT_SCOPE)
set(Launcher_Branding_WindowsRC "program_info/prismlauncher.rc" PARENT_SCOPE)
set(Launcher_Branding_LogoQRC "program_info/prismlauncher.qrc" PARENT_SCOPE)
set(Launcher_Branding_WindowsRC "program_info/freesmlauncher.rc" PARENT_SCOPE)
set(Launcher_Branding_LogoQRC "program_info/freesmlauncher.qrc" PARENT_SCOPE)

set(Launcher_Portable_File "program_info/portable.txt" PARENT_SCOPE)

configure_file(org.prismlauncher.PrismLauncher.desktop.in org.prismlauncher.PrismLauncher.desktop)
configure_file(org.prismlauncher.PrismLauncher.metainfo.xml.in org.prismlauncher.PrismLauncher.metainfo.xml)
configure_file(prismlauncher.rc.in prismlauncher.rc @ONLY)
configure_file(prismlauncher.manifest.in prismlauncher.manifest @ONLY)
configure_file(prismlauncher.ico prismlauncher.ico COPYONLY)
configure_file(org.freesmlauncher.FreesmLauncher.desktop.in org.freesmlauncher.FreesmLauncher.desktop)
configure_file(org.freesmlauncher.FreesmLauncher.metainfo.xml.in org.freesmlauncher.FreesmLauncher.metainfo.xml)
configure_file(freesmlauncher.rc.in freesmlauncher.rc @ONLY)
configure_file(freesmlauncher.manifest.in freesmlauncher.manifest @ONLY)
configure_file(freesmlauncher.ico freesmlauncher.ico COPYONLY)
configure_file(win_install.nsi.in win_install.nsi @ONLY)

if(SCDOC_FOUND)
set(in_scd "${CMAKE_CURRENT_SOURCE_DIR}/prismlauncher.6.scd")
set(out_man "${CMAKE_CURRENT_BINARY_DIR}/prismlauncher.6")
set(in_scd "${CMAKE_CURRENT_SOURCE_DIR}/freesmlauncher.6.scd")
set(out_man "${CMAKE_CURRENT_BINARY_DIR}/freesmlauncher.6")
add_custom_command(
DEPENDS "${in_scd}"
OUTPUT "${out_man}"
COMMAND ${SCDOC_SCDOC} < "${in_scd}" > "${out_man}"
)
add_custom_target(man ALL DEPENDS ${out_man})
set(Launcher_ManPage "program_info/prismlauncher.6" PARENT_SCOPE)
set(Launcher_ManPage "program_info/freesmlauncher.6" PARENT_SCOPE)
endif()
4 changes: 2 additions & 2 deletions program_info/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Prism Launcher Program Info
# Freesm Launcher Program Info

This is Prism Launcher's program info which contains information about:
This is Freesm Launcher's program info which contains information about:

- Application name and logo (and branding in general)
- Various URLs and API endpoints
Expand Down
36 changes: 18 additions & 18 deletions program_info/genicons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@ if command -v "inkscape" && command -v "icotool"; then
# Windows ICO
d=$(mktemp -d)

svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_16.png" 16 16
svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_24.png" 24 24
svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_32.png" 32 32
svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_48.png" 48 48
svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_64.png" 64 64
svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_128.png" 128 128
svg2png org.prismlauncher.PrismLauncher.svg "$d/prismlauncher_256.png" 256 256
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_16.png" 16 16
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_24.png" 24 24
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_32.png" 32 32
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_48.png" 48 48
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_64.png" 64 64
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_128.png" 128 128
svg2png org.freesmLauncher.FreesmLauncher.svg "$d/freesmlauncher_256.png" 256 256

rm prismlauncher.ico && icotool -o prismlauncher.ico -c \
"$d/prismlauncher_256.png" \
"$d/prismlauncher_128.png" \
"$d/prismlauncher_64.png" \
"$d/prismlauncher_48.png" \
"$d/prismlauncher_32.png" \
"$d/prismlauncher_24.png" \
"$d/prismlauncher_16.png"
rm freesmLauncher.ico && icotool -o freesmLauncher.ico -c \
"$d/freesmlauncher_256.png" \
"$d/freesmlauncher_128.png" \
"$d/freesmlauncher_64.png" \
"$d/freesmlauncher_48.png" \
"$d/freesmlauncher_32.png" \
"$d/freesmlauncher_24.png" \
"$d/freesmlauncher_16.png"
else
echo "ERROR: Windows icons were NOT generated!" >&2
echo "ERROR: requires inkscape and icotool in PATH"
Expand All @@ -47,11 +47,11 @@ if command -v "inkscape" && command -v "sips" && command -v "iconutil"; then
# macOS ICNS
d=$(mktemp -d)

d="$d/prismlauncher.iconset"
d="$d/freesmlauncher.iconset"

mkdir -p "$d"

svg2png org.prismlauncher.PrismLauncher.bigsur.svg "$d/icon_512x512@2x.png" 1024 1024
svg2png org.freesmLauncher.FreesmLauncher.bigsur.svg "$d/icon_512x512@2x.png" 1024 1024
sipsresize "$d/icon_512x512@2.png" "$d/icon_16x16.png" 16 16
sipsresize "$d/icon_512x512@2.png" "$d/icon_16x16@2.png" 32 32
sipsresize "$d/icon_512x512@2.png" "$d/icon_32x32.png" 32 32
Expand All @@ -67,4 +67,4 @@ else
fi

# replace icon in themes
cp -v org.prismlauncher.PrismLauncher.svg "../launcher/resources/multimc/scalable/launcher.svg"
cp -v org.freesmLauncher.FreesmLauncher.svg "../launcher/resources/multimc/scalable/launcher.svg"
4 changes: 2 additions & 2 deletions program_info/instance_icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions program_info/prismlauncher.6.scd
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
prismlauncher(6)
freesmlauncher(6)


# NAME

prismlauncher - a launcher and instance manager for Minecraft.
freesmlauncher - a launcher and instance manager for Minecraft.


# SYNOPSIS

*prismlauncher* [OPTIONS...]
*freesmlauncher* [OPTIONS...]


# DESCRIPTION

Prism Launcher is a custom launcher for Minecraft that allows you to easily manage
Freesm Launcher is a custom launcher for Minecraft that allows you to easily manage
multiple installations of Minecraft at once. It also allows you to easily
install and remove mods by simply dragging and dropping.
Here are the current features of Prism Launcher.
Here are the current features of Freesm Launcher.

# OPTIONS

*-d, --dir*=DIRECTORY
Use DIRECTORY as the Prism Launcher root.
Use DIRECTORY as the Freesm Launcher root.

*-l, --launch*=INSTANCE_ID
Launch the instance specified by INSTANCE_ID.
Expand All @@ -30,7 +30,7 @@ Here are the current features of Prism Launcher.
Show the configuration window of the instance specified by INSTANCE_ID.

*--alive*
Write a small 'live.check' file after Prism Launcher starts.
Write a small 'live.check' file after Freesm Launcher starts.

*-h, --help*
Display help text and exit.
Expand Down Expand Up @@ -69,14 +69,14 @@ variables, besides other common Qt variables:

# BUGS

https://github.com/PrismLauncher/PrismLauncher/issues
https://github.com/FreesmTeam/FreesmLauncher/issues

# RESOURCES

GitHub: https://github.com/PrismLauncher/PrismLauncher
GitHub: https://github.com/FreesmTeam/FreesmLauncher

Main website: https://prismlauncher.org
Main website: https://github.com/FreesmTeam/FreesmLauncher

# AUTHORS

Prism Launcher Contributors
Freesm Launcher Contributors
2 changes: 1 addition & 1 deletion program_info/prismlauncher.manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ws2:longPathAware>true</ws2:longPathAware>
</windowsSettings>
</application>
<assemblyIdentity name="PrismLauncher.Application.1" type="win32" version="@Launcher_VERSION_NAME4@" />
<assemblyIdentity name="FreesmLauncher.Application.1" type="win32" version="@Launcher_VERSION_NAME4@" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
Expand Down
2 changes: 1 addition & 1 deletion program_info/prismlauncher.qrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/">
<file>org.prismlauncher.PrismLauncher.svg</file>
<file>org.freesmlauncher.FreesmLauncher.svg</file>
</qresource>
</RCC>
6 changes: 3 additions & 3 deletions program_info/prismlauncher.rc.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ BEGIN
BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", "MultiMC & Prism Launcher Contributors"
VALUE "FileDescription", "Prism Launcher"
VALUE "CompanyName", "Freesm Launcher Contributors"
VALUE "FileDescription", "Freesm Launcher"
VALUE "FileVersion", "@Launcher_VERSION_NAME4@"
VALUE "ProductName", "Prism Launcher"
VALUE "ProductName", "Freesm Launcher"
VALUE "ProductVersion", "@Launcher_VERSION_NAME4@"
END
END
Expand Down

0 comments on commit 27ad6ea

Please sign in to comment.