Skip to content

Commit

Permalink
Use startAsProcess() instead of launchInDefaultBrowser() for HTML rel…
Browse files Browse the repository at this point in the history
…ated actions

Closes surge-synthesizer#4907
  • Loading branch information
mkruselj committed Aug 25, 2021
1 parent 46ca23b commit 007d4ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/SurgeGUIEditorHtmlGenerators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ void SurgeGUIEditor::showHTML(const std::string &html)

auto f = juce::File::createTempFile("_surge.html");
f.replaceWithText(html);
auto U = juce::URL(f);
U.launchInDefaultBrowser();
f.startAsProcess();
byebyeOnExit->deleteThese.push_back(f);
};

Expand Down

0 comments on commit 007d4ef

Please sign in to comment.