Skip to content

Commit 93587e6

Browse files
committed
Support for 'single-instance' when app is started in folder
Fix nwjs#515
1 parent 1e43133 commit 93587e6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/shell_browser_main_parts.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,6 @@ void ShellBrowserMainParts::Init() {
207207
bool ShellBrowserMainParts::ProcessSingletonNotificationCallback(
208208
const CommandLine& command_line,
209209
const base::FilePath& current_directory) {
210-
if (!package_->self_extract()) {
211-
// We're in runtime mode, create the new app.
212-
return false;
213-
}
214210

215211
// Don't reuse current instance if 'single-instance' is specified to false.
216212
bool single_instance;

0 commit comments

Comments
 (0)