From d12d3ff6b8b57e8fd6056e685f954342526d8353 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Fri, 10 Oct 2025 13:30:37 -0500 Subject: [PATCH] Don't downcase file path unless we need too, update gems. --- Gemfile.lock | 8 +++++--- lib/application_manager/task.rb | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 403a4bb..082e651 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,16 +14,18 @@ GEM ffi (1.17.2-x86_64-linux-gnu) ffi-win32-extensions (1.0.4) ffi + fiddle (1.1.8) gosu (1.4.6) i18n (1.14.7) concurrent-ruby (~> 1.0) ircparser (1.0.0) - libui (0.1.2-x64-mingw) + libui (0.2.0-x64-mingw-ucrt) + fiddle logger (1.7.0) mutex_m (0.3.0) rake (13.3.0) - rexml (3.4.2) - rubyzip (3.0.2) + rexml (3.4.4) + rubyzip (3.1.1) sdl2-bindings (0.2.3) ffi (~> 1.15) websocket (1.2.11) diff --git a/lib/application_manager/task.rb b/lib/application_manager/task.rb index 6f02b40..663ea29 100644 --- a/lib/application_manager/task.rb +++ b/lib/application_manager/task.rb @@ -129,11 +129,11 @@ class W3DHub end end - # Find file if it exists, otherwise downcase the `path` sans `base_path` + # Find file if it exists else use provided path as cased if "#{base_path}/#{path}".length == constructed_path.length constructed_path else - "#{base_path}/#{path.downcase}" + "#{base_path}/#{path}" # File doesn't exist, case doesn't matter. end end