diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2023-09-29 08:23:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-29 08:23:52 +0200 |
| commit | ff0eb2fb70df3aa374acd1bbba23871a2d4b1cf5 (patch) | |
| tree | b45190059131ca0d3eb99df57a46fa6c846f3863 /src/processrunner.cpp | |
| parent | 63f663ac8a3b93668b38045f8e5aa5ac4e12fea6 (diff) | |
Refresh Callback (+ Extra for AboutToRun) (#1884)
* Add working directory and arguments to onAboutToRun (optional).
* Add onRefreshCallback functionality.
Diffstat (limited to 'src/processrunner.cpp')
| -rw-r--r-- | src/processrunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/processrunner.cpp b/src/processrunner.cpp index f748f490..65e44598 100644 --- a/src/processrunner.cpp +++ b/src/processrunner.cpp @@ -768,8 +768,8 @@ std::optional<ProcessRunner::Results> ProcessRunner::runBinary() // saves profile, sets up usvfs, notifies plugins, etc.; can return false if // a plugin doesn't want the program to run (such as when checkFNIS fails to // run FNIS and the user clicks cancel) - if (!m_core.beforeRun(m_sp.binary, m_profileName, m_customOverwrite, - m_forcedLibraries)) { + if (!m_core.beforeRun(m_sp.binary, m_sp.currentDirectory, m_sp.arguments, + m_profileName, m_customOverwrite, m_forcedLibraries)) { return Error; } |
