Skip to content

Commit

Permalink
Fix: Mac build broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
leezer3 committed Aug 27, 2016
1 parent d95539f commit 8c5763a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Expand Up @@ -24,4 +24,5 @@
*.zip binary
*.pdf binary
*.bin binary
*.dat binary
*.dat binary
*.tgz binary
Binary file modified Dependencies/MacBundle.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions openBVE/OpenBve/UserInterface/formMain.Start.cs
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8c5763a

Please sign in to comment.