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
|
Icon=harbour-seaprint
|
||||||
X-Nemo-Application-Type=silica-qt5
|
X-Nemo-Application-Type=silica-qt5
|
||||||
Exec=harbour-seaprint
|
Exec=harbour-seaprint
|
||||||
#Exec=/usr/bin/sailjail -p net.attah.seaprint.desktop /usr/bin/harbour-seaprint
|
|
||||||
Name=SeaPrint
|
Name=SeaPrint
|
||||||
#[X-Sailjail]
|
[X-Sailjail]
|
||||||
#Permissions=Internet;Pictures;Documents;Downloads;MediaIndexing
|
Permissions=Internet;Pictures;Documents;Downloads;MediaIndexing;Compatibility
|
||||||
#OrganizationName=net.attah
|
OrganizationName=net.attah
|
||||||
#ApplicationName=seaprint
|
ApplicationName=seaprint
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
|
|
||||||
Overrider::Overrider()
|
Overrider::Overrider()
|
||||||
{
|
{
|
||||||
// QFile file(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)+"/overrides");
|
QFile file(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)+"/overrides");
|
||||||
QFile file(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.seaprint_overrides");
|
|
||||||
if(file.open(QIODevice::ReadOnly))
|
if(file.open(QIODevice::ReadOnly))
|
||||||
{
|
{
|
||||||
QJsonDocument JsonDocument = QJsonDocument::fromJson(file.readAll());
|
QJsonDocument JsonDocument = QJsonDocument::fromJson(file.readAll());
|
||||||
|
|
Loading…
Reference in a new issue