2
0
forked from Ivasoft/DSView

fix resource dir not find bug

This commit is contained in:
dreamsourcelabTAI
2021-11-25 10:50:39 +08:00
parent 050b6023d5
commit 5740946c7c
13 changed files with 35 additions and 18 deletions

View File

@@ -51,7 +51,6 @@ void usage()
"\n", DS_BIN_NAME, DS_DESCRIPTION);
}
char DS_RES_PATH[256] = {0};
int main(int argc, char *argv[])
{
@@ -146,9 +145,7 @@ int main(int argc, char *argv[])
open_file = argvFinal[argcFinal - 1];
}
QString path = GetAppDataDir();
strcpy(DS_RES_PATH, path.toUtf8().data());
//#ifdef Q_OS_DARWIN
//#endif