From d709e86e14ef2dac993b48aa5e83857f47085498 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Sat, 5 Feb 2022 08:09:02 -0600 Subject: [PATCH] Updated gemfile.lock, fixed crash on windows when trying to repair data/ -> Data/ when windows thinks they're the same. --- Gemfile.lock | 8 ++++---- lib/application_manager/task.rb | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9b522aa..6e747e6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -34,12 +34,12 @@ GEM digest-crc (0.6.4) rake (>= 12.0.0, < 14.0.0) excon (0.78.1) - ffi (1.15.4) - ffi (1.15.4-x64-mingw32) + ffi (1.15.5) + ffi (1.15.5-x64-mingw32) fiber-local (1.0.0) - gosu (1.2.0) + gosu (1.4.1) gosu_more_drawables (0.3.1) - i18n (1.8.11) + i18n (1.9.1) concurrent-ruby (~> 1.0) launchy (2.5.0) addressable (~> 2.7) diff --git a/lib/application_manager/task.rb b/lib/application_manager/task.rb index 7930774..98f2f4d 100644 --- a/lib/application_manager/task.rb +++ b/lib/application_manager/task.rb @@ -662,6 +662,9 @@ class W3DHub def repair_windows_case_insensitive(package, path) return true if @app_id == "apb" + # Windows is just confused + return true if W3DHub.windows? + # Force data/ to Data/ return true unless File.exist?("#{path}/data") && File.directory?("#{path}/data")