aboutsummaryrefslogtreecommitdiff
path: root/launcher/DesktopServices.h
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-08-02 20:27:37 +0100
committerGitHub <noreply@github.com>2023-08-02 20:27:37 +0100
commitafaf6f894c797fc0aa7eb329b661b533be469005 (patch)
tree0be358a0b616010aa5a022dbd3336a15cb791638 /launcher/DesktopServices.h
parent8b3c465a50e6be2a09c3968f1fd1e91b0428cbb0 (diff)
parentac36a2289faf331af17b51e2c9ebb78d005f9bfa (diff)
downloadPrismLauncher-afaf6f894c797fc0aa7eb329b661b533be469005.tar.gz
PrismLauncher-afaf6f894c797fc0aa7eb329b661b533be469005.tar.bz2
PrismLauncher-afaf6f894c797fc0aa7eb329b661b533be469005.zip
Merge branch 'PrismLauncher:develop' into better-component-installation
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();
}