winguru / xTeVe

M3U Proxy for Plex DVR and Emby Live TV
MIT License
2 stars 1 forks source link

Developer mode incorrectly creates webUI.go file using backslash references on Windows #1

Open winguru opened 3 years ago

winguru commented 3 years ago

Please first read the documentation. Problems affecting the client, e.g. Plex or Emby should be reported there in the forum.

Describe the bug Enabling -dev (developer mode) on xTeVe for Windows rebuilds the src/webUI.go file with backslashes "\" in the file paths that are interpreted as escape characters instead of normal slashes "/' that should be used for file paths.

Server (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Run "xteve.exe -dev" from the command line
  2. Wait for xTeVe to start sucessfully
  3. Examine the src/webUI.go file
  4. Starting on line 7, verify that paths use the backslash ("\") character.
  5. Close xTeVe and try to recompile with "go build xteve.go"
  6. Verify that the compiler fails with errors in the src/webUI.go file

Expected behavior The webUI.go file should reference paths with the slash, rather than backslash character.

Screenshots N/A

Desktop (please complete the following information): N/A

Additional context N/A