mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
add package compatible
This commit is contained in:
@@ -50,6 +50,9 @@ int main(int argc, char *argv[]) {
|
||||
auto args = QApplication::arguments();
|
||||
if (args.contains("-many")) NekoRay::dataStore->flag_many = true;
|
||||
if (args.contains("-appdata")) NekoRay::dataStore->flag_use_appdata = true;
|
||||
#ifdef NKR_PACKAGE
|
||||
NekoRay::dataStore->flag_use_appdata = true;
|
||||
#endif
|
||||
|
||||
// dirs & clean
|
||||
auto wd = QDir(QApplication::applicationDirPath());
|
||||
|
||||
Reference in New Issue
Block a user