Wieku / danser-go

Dancing visualizer of osu! standard maps and custom osu! client written in Go. Also a generator for osu! videos.
Other
743 stars 102 forks source link

Unable to use network drive as skins folder #323

Closed cyperdark closed 11 months ago

cyperdark commented 1 year ago

Describe the bug I have my skins on other computer and im accessing them via network drive, but for some reason danser rewrite path from \\\\ to \\, after that path look like this: \Oldest/e/osu/Skins/replays but should be \\Oldest/e/osu/Skins/replays

Screenshots

https://user-images.githubusercontent.com/21735205/228836604-9b4bc6a5-9d92-4f81-ab3e-635f7291942f.mp4

Logs Put danser.log here. danser.log

Wieku commented 1 year ago

Huh, I forgot about this scenario. It was implemented because people were putting wrong number of backslashes and were ending up with malformed paths. I think since GUI is live for a while now and people don't need to manage paths manually I can remove that sanity fix.

It's located here:

https://github.com/Wieku/danser-go/blob/75c5e4fe89a30c1692aa260cbef48ec3dd997432/app/settings/settings.go#L72-L75