Skip to content

Commit

Permalink
Some minmor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 3, 2019
1 parent 4d5b2f0 commit d4213fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion distrib/windows/application.vbs.in
Expand Up @@ -5,7 +5,6 @@ For Each arg in WScript.Arguments
Next

Set shell = CreateObject("WScript.Shell")

cmd = """"&Left(Wscript.ScriptFullName, Len(Wscript.ScriptFullName)-Len(Wscript.ScriptName))&"bin\${CMAKE_PROJECT_NAME}.exe"&args&""""

shell.Run cmd, 1, False
3 changes: 1 addition & 2 deletions distrib/windows/jupyterlab.vbs
@@ -1,6 +1,5 @@
shell = CreateObject("WScript.Shell")
Set shell = CreateObject("WScript.Shell")
appDir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)

updatePythonPath = """"&appDir&"\Python\bin\Python.exe"" """&appDir&"\Python\Scripts\set_python_path.py"" """&appDir&"\Python"" -s"

shell.Run updatePythonPath, 0, True
Expand Down
3 changes: 1 addition & 2 deletions distrib/windows/jupyternotebook.vbs
@@ -1,6 +1,5 @@
shell = CreateObject("WScript.Shell")
Set shell = CreateObject("WScript.Shell")
appDir = CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName)

updatePythonPath = """"&appDir&"\Python\bin\Python.exe"" """&appDir&"\Python\Scripts\set_python_path.py"" """&appDir&"\Python"" -s"

shell.Run updatePythonPath, 0, True
Expand Down

0 comments on commit d4213fb

Please sign in to comment.