From 3d08d137e20a2ed84b95bc4c61a8a401cdad78ec Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Sat, 6 Feb 2021 13:44:50 +0100 Subject: [PATCH] Add SailJail permissions --- harbour-seaprint.desktop | 10 +++++----- src/harbour-seaprint.cpp | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/harbour-seaprint.desktop b/harbour-seaprint.desktop index fb6c149..1837fdc 100644 --- a/harbour-seaprint.desktop +++ b/harbour-seaprint.desktop @@ -4,8 +4,8 @@ X-Nemo-Application-Type=silica-qt5 Icon=harbour-seaprint Exec=harbour-seaprint Name=SeaPrint -# translation example: -# your app name in German locale (de) -# -# Remember to comment out the following line, if you do not want to use -# a different app name in German locale (de). +[X-Sailjail] +Permissions=Internet;DataStorages;Pictures +OrganizationName=net.attah +ApplicationName=seaprint + diff --git a/src/harbour-seaprint.cpp b/src/harbour-seaprint.cpp index 468de25..afbc3cd 100644 --- a/src/harbour-seaprint.cpp +++ b/src/harbour-seaprint.cpp @@ -31,6 +31,8 @@ int main(int argc, char *argv[]) QGuiApplication* app = SailfishApp::application(argc, argv); + app->setOrganizationName(QStringLiteral("net.attah")); + app->setApplicationName(QStringLiteral("seaprint")); app->setApplicationVersion(QStringLiteral(SEAPRINT_VERSION)); qmlRegisterSingletonType("seaprint.ippdiscovery", 1, 0, "IppDiscovery", singletontype_provider);