aboutsummaryrefslogtreecommitdiff
path: root/launcher/DesktopServices.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-02 19:27:48 +0200
committerGitHub <noreply@github.com>2023-08-02 19:27:48 +0200
commitfa2b784f7eb817e97d0af45fe78d205932ada193 (patch)
treef263bdc3fd2f945e6ecc75f9b59b55d009082cca /launcher/DesktopServices.h
parentb1aa9e584624a0732dd55fc6c459524a8abfe6ba (diff)
parent01e17806f67534140a6db6cf90191f4db4dd30ac (diff)
downloadPrismLauncher-fa2b784f7eb817e97d0af45fe78d205932ada193.tar.gz
PrismLauncher-fa2b784f7eb817e97d0af45fe78d205932ada193.tar.bz2
PrismLauncher-fa2b784f7eb817e97d0af45fe78d205932ada193.zip
Merge branch 'develop' into sparkle-disable
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/DesktopServices.h')
-rw-r--r--launcher/DesktopServices.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/launcher/DesktopServices.h b/launcher/DesktopServices.h
index 21c9cae0..b1948cc2 100644
--- a/launcher/DesktopServices.h
+++ b/launcher/DesktopServices.h
@@ -34,5 +34,18 @@ namespace DesktopServices
*/
bool openUrl(const QUrl &url);
+ /**
+ * Determine whether the launcher is running in a Flatpak environment
+ */
bool isFlatpak();
+
+ /**
+ * Determine whether the launcher is running in a Snap environment
+ */
+ bool isSnap();
+
+ /**
+ * Determine whether the launcher is running in a sandboxed (Flatpak or Snap) environment
+ */
+ bool isSandbox();
}