fixed #13232: [feature] Support to pass commandline arguments to JS (#13268)

* [feature] Support to pass arguments to execution file and export them to JS ( native.process.argv ) .
This commit is contained in:
James Chen
2022-11-10 09:47:28 +08:00
committed by GitHub
parent d34ce17a70
commit cf8675a949
16 changed files with 292 additions and 37 deletions
@@ -39,6 +39,7 @@
#if defined(CC_SERVER_MODE)
#include "platform/empty/modules/Screen.h"
#include "platform/empty/modules/SystemWindow.h"
#include "platform/empty/modules/SystemWindowManager.h"
#else
#include "modules/Screen.h"
#include "modules/SystemWindow.h"