From 11e5652d4539a8a3e98c28d41be63038c6fd8bcc Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 4 Jun 2015 04:08:13 +0200 Subject: [PATCH] fix, cesetup linux version --- cesetup/cesetup.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cesetup/cesetup.d b/cesetup/cesetup.d index 77d7650f..5abf5777 100644 --- a/cesetup/cesetup.d +++ b/cesetup/cesetup.d @@ -55,7 +55,7 @@ bool installResource(alias resource)(string path) f.close; version(win32) {} else - static if (resource.isExe) + if (resource.isExe) if (fname.exists) { string cmd = "chmod +x " ~ fname; @@ -99,7 +99,7 @@ void main(string[] args) else exePath = "/usr/bin"; string appDataPath; version(win32) appDataPath = environment.get("APPDATA") ~ r"\Coedit\"; - else appDataPath = "~/Coedit/"; + else appDataPath = environment.get("HOME") ~ r"/Coedit/"; writeln("|---------------------------------------------|"); writeln("| Coedit 1.0 RC1 setup |");