Skip to content
Snippets Groups Projects
Commit 97193dcb authored by s233039's avatar s233039 Committed by fima
Browse files

Fixed windows installation for itk vtk viewer

parent 85014a4b
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