mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-21 23:00:24 -08:00
Fix portable on OSX
This commit is contained in:
@@ -516,7 +516,7 @@ bool SaveSetsPage::validatePage()
|
||||
dataDir = QStandardPaths::standardLocations(QStandardPaths::DataLocation).first();
|
||||
#endif
|
||||
#else
|
||||
dataDir = "data";
|
||||
dataDir = qApp->applicationDirPath() + "/data";
|
||||
#endif
|
||||
|
||||
#ifdef PORTABLE_BUILD
|
||||
@@ -731,7 +731,7 @@ bool SaveTokensPage::validatePage()
|
||||
dataDir = QStandardPaths::standardLocations(QStandardPaths::DataLocation).first();
|
||||
#endif
|
||||
#else
|
||||
dataDir = "data";
|
||||
dataDir = qApp->applicationDirPath() + "/data";
|
||||
#endif
|
||||
|
||||
#ifdef PORTABLE_BUILD
|
||||
|
||||
Reference in New Issue
Block a user