We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81970bd commit 7721c72Copy full SHA for 7721c72
src/nw_base.cc
@@ -25,7 +25,7 @@ Package* InitNWPackage() {
25
const base::CommandLine& command_line =
26
*base::CommandLine::ForCurrentProcess();
27
std::string process_type = command_line.GetSwitchValueASCII("type");
28
- if (process_type == "renderer") {
+ if (!process_type.empty()) {
29
base::FilePath pkg_path = command_line.GetSwitchValuePath("nwapp-path");
30
g_package = new Package(pkg_path);
31
} else
0 commit comments