Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
winguru opened this issue Jun 10, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@winguru
Copy link
Owner

winguru commented Jun 10, 2021

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):

  • OS: Windows
  • Arch: x64
  • xTeVe Version and Build: 2.2.0 Build 0200

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

@winguru winguru self-assigned this Jun 10, 2021
@winguru winguru added the bug Something isn't working label Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant