I want to Change the parameter between main(line23) and application.Run(argc,argv)(line31)
argc and argv is passed by commandline, but I should judge the parameter before application.Run(), if the commandline has now --url, I should add --url=xx to the argv and pass it to application.Run()
So how can I do that and make the function(application.Run()) run normally?
https://cobalt.googlesource.com/cobalt/+/417b4b4a2ad66d939d77d700eff0f85fb2cb6f16/src/starboard/linux/x64x11/main.cc#23 https://cobalt.googlesource.com/cobalt/+/417b4b4a2ad66d939d77d700eff0f85fb2cb6f16/src/starboard/linux/x64x11/main.cc#31