Feature: Make tgswitch working on windows#129
Feature: Make tgswitch working on windows#129mivalsten wants to merge 2 commits intowarrensbox:masterfrom
Conversation
|
Added windows specific Not the best solution, but option to symlink as non-admin user only became available in windows 10 and requires customized syscall that is not available in go libraries yet. |
|
@warrensbox can this PR be reviewed please? tswitch in it's current state is not compatible with Windows due to the download URL not appending .exe file extension to the URL. This results in tgswitch downloading the 404 HTML response page from github @mivalsten thank you for distributing the built binary in your fork. I've tested it locally and it's working great for me |
This PR makes tgswitch working on windows by changing default path. It also allows to have different default path on each OS.