From c33d84dafaed9169fd32d0cba629105ab34473c9 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Sun, 29 Nov 2020 01:19:58 +0100 Subject: [PATCH] Removed Linux detection helper file --- LinuxDetectionFile.lua | 1 - main.lua | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 LinuxDetectionFile.lua diff --git a/LinuxDetectionFile.lua b/LinuxDetectionFile.lua deleted file mode 100644 index e4b79be6..00000000 --- a/LinuxDetectionFile.lua +++ /dev/null @@ -1 +0,0 @@ -EID.IsLinux = false \ No newline at end of file diff --git a/main.lua b/main.lua index bc4bef0f..838098b7 100644 --- a/main.lua +++ b/main.lua @@ -61,7 +61,8 @@ if isluadebug then local userPath = os.tmpname() userPath = string.gsub(userPath, "\\", "/") local newPath = "" - if not string.find(userPath, "AppData") then + if not string.find(userPath, "AppData") then + -- Linux EID.modPath = os.getenv("HOME") .. "/.local/share/binding of isaac afterbirth+ mods/"..modfolder.."/" else for str in string.gmatch(userPath, "([^/]+)") do