aboutsummaryrefslogtreecommitdiff
path: root/program_info
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-04-16 21:25:05 +0200
committerGitHub <noreply@github.com>2022-04-16 21:25:05 +0200
commitba5946dc60ba6407f899d27c5a59261ca18c4e0a (patch)
tree9c901faab679ad560ab6f8e5a34c3a7ad54b2eb6 /program_info
parente11d1b52026a912d49ba6a7e5dd24a92bb962d27 (diff)
parentabdb846c3fd9537b7eda47852ad942bc8498663f (diff)
downloadPrismLauncher-ba5946dc60ba6407f899d27c5a59261ca18c4e0a.tar.gz
PrismLauncher-ba5946dc60ba6407f899d27c5a59261ca18c4e0a.tar.bz2
PrismLauncher-ba5946dc60ba6407f899d27c5a59261ca18c4e0a.zip
Merge pull request #336 from Scrumplex/refactor-portable
Diffstat (limited to 'program_info')
-rw-r--r--program_info/CMakeLists.txt2
-rw-r--r--program_info/portable.txt4
2 files changed, 6 insertions, 0 deletions
diff --git a/program_info/CMakeLists.txt b/program_info/CMakeLists.txt
index 9c243826..60549d8d 100644
--- a/program_info/CMakeLists.txt
+++ b/program_info/CMakeLists.txt
@@ -17,5 +17,7 @@ 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)
+set(Launcher_Portable_File "program_info/portable.txt" PARENT_SCOPE)
+
configure_file(org.polymc.PolyMC.desktop.in org.polymc.PolyMC.desktop)
configure_file(org.polymc.PolyMC.metainfo.xml.in org.polymc.PolyMC.metainfo.xml)
diff --git a/program_info/portable.txt b/program_info/portable.txt
new file mode 100644
index 00000000..b7e256a2
--- /dev/null
+++ b/program_info/portable.txt
@@ -0,0 +1,4 @@
+This file enables the portable mode for the launcher.
+
+If this file is present in the root directory of the launcher, it will store all data here. Otherwise it will store your data in your appdata directory.
+You can safely delete this file, if you don't want the launcher to store your data here.