Skip to content

Conversation

@Tweekism
Copy link
Collaborator

@Tweekism Tweekism commented Aug 9, 2024

Draft pull request for Windows support.

This is still early in the exploration phase, anyone wanting to contribute or follow the specific implementation details should subscribe to this thread.

More general Windows support discussion can be found on the original issue #22

List of changes so far to get server working:-

  • Use Windows specific environment variable setup for the yarn win-dev server launch script
  • Call file with double quotes instead of single quotes (the Windows version of file needs to be installed, see below)
  • Strip leading backslashes \ from file paths, like we do for forward slashes / (having backslashes after that is ok, browsers in Windows are setup to expect that).
  • Add C: back on when calling out to file

These early tests come with the following limitations:-

  • You can't use shortened home paths (~)
  • You can't access anything but C:\
  • You need to install the Windows version of the file command and add it to your Windows PATH environment variable
  • I haven't looked at the viv client at all yet, so you have to manually invoke the browser

@Tweekism Tweekism force-pushed the issue/22-windows-support branch from 9d59928 to f43d496 Compare August 9, 2024 05:38
@tuurep tuurep mentioned this pull request Jul 28, 2025
@jannis-baum jannis-baum changed the title Issue/22 windows support Windows support Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants