diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-02 18:24:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 18:24:54 +0200 |
commit | 39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a (patch) | |
tree | b933c710d52ecaa8d6fce9f99c91e27419e460db /launcher/DesktopServices.h | |
parent | bb039d4bc71863bd068efbadb788e76cf1b7bce3 (diff) | |
parent | 6a7f63166d9d65a48b4bc0b0f1355aba047967ee (diff) | |
download | PrismLauncher-39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a.tar.gz PrismLauncher-39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a.tar.bz2 PrismLauncher-39d7bc6c24922c2d6e3d6f7eb2ab7efb9b35940a.zip |
Merge pull request #1294 from ashuntu/develop
Diffstat (limited to 'launcher/DesktopServices.h')
-rw-r--r-- | launcher/DesktopServices.h | 13 |
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(); } |