From 8c5763a7293988e52f4c37e4b65db2c4c5b7f536 Mon Sep 17 00:00:00 2001 From: Christopher Lees Date: Sat, 27 Aug 2016 12:09:28 +0100 Subject: [PATCH] Fix: Mac build broken. --- .gitattributes | 3 ++- Dependencies/MacBundle.tgz | Bin 118784 -> 118787 bytes .../OpenBve/UserInterface/formMain.Start.cs | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 619d1a798..63fb68f22 100644 --- a/.gitattributes +++ b/.gitattributes @@ -24,4 +24,5 @@ *.zip binary *.pdf binary *.bin binary -*.dat binary \ No newline at end of file +*.dat binary +*.tgz binary \ No newline at end of file diff --git a/Dependencies/MacBundle.tgz b/Dependencies/MacBundle.tgz index 6c8105d8a157d5dd508d460e0e9c26baa9dc2376..1ea70c96fbd04b58a3f5602630e598fbc1d5021e 100644 GIT binary patch delta 32 ncmZozz}~!oeM8s+M&8X~3o6z#@@_xp&-gkWNblUv=q>>O*4+%C delta 26 icmZo(z}~QceM8uS&EX3w)^ESy&-glh`=0HL?h*j2QVe_m diff --git a/openBVE/OpenBve/UserInterface/formMain.Start.cs b/openBVE/OpenBve/UserInterface/formMain.Start.cs index 1a2ac45c7..3119d8e69 100644 --- a/openBVE/OpenBve/UserInterface/formMain.Start.cs +++ b/openBVE/OpenBve/UserInterface/formMain.Start.cs @@ -35,7 +35,7 @@ internal partial class formMain : Form { rf = Folder; routeWatcher = new FileSystemWatcher(); - routeWatcher.Path = Folder + "\\"; + routeWatcher.Path = Folder; routeWatcher.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName; routeWatcher.Filter = "*.*"; routeWatcher.Changed += onRouteFolderChanged; @@ -288,7 +288,7 @@ private void populateRouteList(string Folder) tf = Folder; trainWatcher = new FileSystemWatcher(); - trainWatcher.Path = Folder + "\\"; + trainWatcher.Path = Folder; trainWatcher.NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName; trainWatcher.Filter = "*.*"; trainWatcher.Changed += onTrainFolderChanged;