From 9ab21f2050bad55d0972aebd936a87e2ad46d783 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Mon, 21 Jul 2014 03:49:45 +0200 Subject: [PATCH] fixes for the linux version --- .gitignore | 21 +++++++++++++++++++++ src/ce_common.pas | 2 +- src/ce_main.pas | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..b3d0381c --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +*.bak +*.bin +*.cache +*.compiled +*.dbg +*.dll +*.exe +*.log +*.lps +*.npp +*.o +*.obj +*.old +*.or +*.ppu +*.res +Thumbs.db +backup +doc +lib +temp \ No newline at end of file diff --git a/src/ce_common.pas b/src/ce_common.pas index 49d28b15..70bb65f6 100644 --- a/src/ce_common.pas +++ b/src/ce_common.pas @@ -545,7 +545,7 @@ begin {$IFDEF LINUX} with TProcess.Create(nil) do try - Executable := 'xdg-open' + Executable := 'xdg-open'; Parameters.Add(aFilename); Execute; finally diff --git a/src/ce_main.pas b/src/ce_main.pas index d601308b..bc3e6473 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -1084,7 +1084,7 @@ begin {$IFDEF RELEASE} dmdProc.ShowWindow := swoHIDE; {$ENDIF} - dmdproc.Options := [poNewConsole, poStdErrToOutput, poUsePipes]; + dmdproc.Options := [{$IFDEF WINDOWS}poNewConsole,{$ENDIF} poStdErrToOutput, poUsePipes]; dmdproc.Executable := 'dmd'; aProject.getOpts(dmdproc.Parameters);