Windows: Rawtherapee plugin cannot be installed
Due to the fact that Rawtherapee.exe opens a Windows console, GIMP cannot install it. Following patch prevents Rawtherapee to open a Windows console.
diff --git a/plug-ins/file-raw/file-rawtherapee.c b/plug-ins/file-raw/file-rawtherapee.c
index 1199f82673..7a5b62edaf 100644
--- a/plug-ins/file-raw/file-rawtherapee.c
+++ b/plug-ins/file-raw/file-rawtherapee.c
@@ -97,7 +97,11 @@ init (void)
"com.rawtherapee.rawtherapee",
REGISTRY_KEY_BASE,
&search_path);
- gchar *argv[] = { exec_path, "-v", NULL };
+ #ifdef WIN32
+ gchar *argv[] = { exec_path, "-v", "-w", NULL };
+ #else
+ gchar *argv[] = { exec_path, "-v", NULL };
+ #endif
gchar *rawtherapee_stdout = NULL;
gboolean have_rawtherapee = FALSE;
gint i;
Edited by Ghost User