Updated gemfile.lock, fixed crash on windows when trying to repair data/ -> Data/ when windows thinks they're the same.

This commit is contained in:
2022-02-05 08:09:02 -06:00
parent 610bee05eb
commit d709e86e14
2 changed files with 7 additions and 4 deletions

View File

@@ -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)

View File

@@ -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")