Describe the bug
I configured surge docker-compose's file to mount the download directory on /mnt/c/Users/me/Downloads so that I could easily find my files downloaded through Surge. It happen to be working almost as intended : Surge saves the file in /mnt/c/Users/me/Downloads/C:/Users/me/Downloads/.
To Reproduce
- Download compose.yml file as explained in README.md
- Set volumes to:
volumes:
- /mnt/c/Users/me/Downloads:/downloads
- ./surge-config:/root/.local/state/surge
- Boot up the container / setup the token with the extension.
- Download a file : the file gets put in
/mnt/c/Users/me/Downloads/C:/Users/me/Downloads/ instead of /mnt/c/Users/me/Downloads/.
Expected behavior
The file should be put directly in /mnt/c/Users/me/Downloads/ (as when you use ~/surge/downloads for example)
Screenshots



Logs
Surge automatically writes debug log files. (Not with docker ? the log dir remains empty)
System info:
- OS: Windows 11 with WSL 2.7.1.0
- Surge Version: latest on docker image (v0.7.5)
- Installed From: Docker images
Additional context
- I know the docker image is a bit behind as the current version is v8.0 but I did not see any fix in the changelogs anyway
- I tried to trace down the issue in the source code but without great success for now. I'll keep updating in this issue.
Describe the bug
I configured surge docker-compose's file to mount the download directory on
/mnt/c/Users/me/Downloadsso that I could easily find my files downloaded through Surge. It happen to be working almost as intended : Surge saves the file in/mnt/c/Users/me/Downloads/C:/Users/me/Downloads/.To Reproduce
/mnt/c/Users/me/Downloads/C:/Users/me/Downloads/instead of/mnt/c/Users/me/Downloads/.Expected behavior
The file should be put directly in
/mnt/c/Users/me/Downloads/(as when you use~/surge/downloadsfor example)Screenshots



Logs
Surge automatically writes debug log files. (Not with docker ? the log dir remains empty)
System info:
Additional context