Add SailJail permissions

This commit is contained in:
Anton Thomasson 2021-02-06 13:44:50 +01:00
parent 5fa287c8aa
commit 3d08d137e2
2 changed files with 7 additions and 5 deletions

View file

@ -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

View file

@ -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<IppDiscovery>("seaprint.ippdiscovery", 1, 0, "IppDiscovery", singletontype_provider<IppDiscovery>);