Skip to content
Snippets Groups Projects
Commit 0f5697f3 authored by fima's avatar fima :beers:
Browse files

Merge branch 'improve-viz-fix' into 'main'

Fixed windows installation for itk vtk viewer

See merge request !123
parents a242c396 97193dcb
No related branches found
No related tags found
1 merge request!123Fixed windows installation for itk vtk viewer
......@@ -128,7 +128,7 @@ class Installer:
output = subprocess.run(command, shell = True, capture_output=True)
def _windows():
subprocess.run(["powershell.exe", SOURCE_FNM, F"fnm use --fnm-dir {self.dir} --install-if-missing 22"])
subprocess.run(["powershell.exe",F'$env:XDG_DATA_HOME = "{self.dir}";', SOURCE_FNM, F"fnm use --fnm-dir {self.dir} --install-if-missing 22"])
print(F'Installing node.js...')
run_for_platform(linux_func = _linux, windows_func=_windows, macos_func=_linux)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment