mirror of https://github.com/odrling/Aegisub
Build wx without iostream support
This commit is contained in:
parent
193b30af86
commit
ff9beb850c
|
@ -29,7 +29,7 @@
|
|||
#define wxUSE_CMDLINE_PARSER 0
|
||||
#define wxUSE_THREADS 1
|
||||
#define wxUSE_STREAMS 1
|
||||
#define wxUSE_STD_IOSTREAM 1
|
||||
#define wxUSE_STD_IOSTREAM 0
|
||||
#define wxUSE_STD_STRING 1
|
||||
#define wxUSE_PRINTF_POS_PARAMS 1
|
||||
#define wxUSE_LONGLONG 1
|
||||
|
|
|
@ -105,7 +105,7 @@ void RestartAegisub() {
|
|||
if (bundle_path.empty() || helper_path.empty()) return;
|
||||
|
||||
wxString exec = fmt_wx("\"%s\" /usr/bin/open -n \"%s\"'", helper_path, bundle_path);
|
||||
LOG_I("util/restart/exec") << exec;
|
||||
LOG_I("util/restart/exec") << exec.utf8_str();
|
||||
wxExecute(exec);
|
||||
#else
|
||||
wxExecute(wxStandardPaths::Get().GetExecutablePath());
|
||||
|
|
Loading…
Reference in New Issue