Add SailJail, move overrides location
This commit is contained in:
parent
c00ddf0ed0
commit
aa1dbea32c
2 changed files with 5 additions and 7 deletions
|
@ -3,10 +3,9 @@ Type=Application
|
|||
Icon=harbour-seaprint
|
||||
X-Nemo-Application-Type=silica-qt5
|
||||
Exec=harbour-seaprint
|
||||
#Exec=/usr/bin/sailjail -p net.attah.seaprint.desktop /usr/bin/harbour-seaprint
|
||||
Name=SeaPrint
|
||||
#[X-Sailjail]
|
||||
#Permissions=Internet;Pictures;Documents;Downloads;MediaIndexing
|
||||
#OrganizationName=net.attah
|
||||
#ApplicationName=seaprint
|
||||
[X-Sailjail]
|
||||
Permissions=Internet;Pictures;Documents;Downloads;MediaIndexing;Compatibility
|
||||
OrganizationName=net.attah
|
||||
ApplicationName=seaprint
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
|
||||
Overrider::Overrider()
|
||||
{
|
||||
// QFile file(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)+"/overrides");
|
||||
QFile file(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.seaprint_overrides");
|
||||
QFile file(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)+"/overrides");
|
||||
if(file.open(QIODevice::ReadOnly))
|
||||
{
|
||||
QJsonDocument JsonDocument = QJsonDocument::fromJson(file.readAll());
|
||||
|
|
Loading…
Reference in a new issue