setup windows store appx project (desktop bridge)

This commit is contained in:
2018-10-02 00:51:37 +02:00
parent 8e3ff2f634
commit 4696342421
56 changed files with 648 additions and 2 deletions

View File

@@ -302,6 +302,25 @@ int main(int argc, char** argv)
return -1;
}
FILE* fp_check = fopen("data\\layout.xml", "rb");
if (!fp_check)
{
LOG("data files not found");
static char path[MAX_PATH];
GetModuleFileNameA(NULL, path, MAX_PATH);
LOG("current dir %s", path);
PathRemoveFileSpecA(path);
SetCurrentDirectoryA(path);
LOG("change dir to %s", path);
}
else
{
fclose(fp_check);
LOG("data files ok");
}
SetupExceptionHandler();
BT_SetTerminate();