mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Windows is too easy, or annoying. Fix Task#normalize_path on windows ignoring base_path"
This commit is contained in:
@@ -114,7 +114,7 @@ class W3DHub
|
|||||||
|
|
||||||
def normalize_path(path, base_path)
|
def normalize_path(path, base_path)
|
||||||
path = path.to_s.gsub("\\", "/")
|
path = path.to_s.gsub("\\", "/")
|
||||||
return path if W3DHub.windows? # Windows is easy, or annoying, depending how you look at it...
|
return "#{base_path}/#{path}" if W3DHub.windows? # Windows is easy, or annoying, depending how you look at it...
|
||||||
|
|
||||||
constructed_path = base_path
|
constructed_path = base_path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user