Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Fix relaunching on Windows / Linux (unintentionally broke with 7a183f2#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bsclifton authored and bbondy committed Dec 29, 2016
1 parent 0d2d46f commit 440867c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions atom/app/atom_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -339,11 +339,10 @@ int AtomMainDelegate::RunProcess(
#endif

#if defined(OS_MACOSX)
{ switches::kRelauncherProcess,
relauncher::RelauncherMain },
// mac_relauncher::internal::RelauncherMain },
{ switches::kRelauncherProcess, relauncher::RelauncherMain },
#else
{ kRelauncherProcess, relauncher::RelauncherMain },
#endif
{ "<invalid>", NULL }, // To avoid constant array of size 0
};

for (size_t i = 0; i < arraysize(kMainFunctions); ++i) {
Expand Down

0 comments on commit 440867c

Please sign in to comment.