Skip to content

Commit 3fe5518

Browse files
author
minjk-bl
committed
Update visualpy script files for linux and windows
1 parent 62255d4 commit 3fe5518

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bin/visualpy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ f_main() {
7474
# Install Visual Python
7575
#=============================================================================
7676
f_install() {
77+
mkdir -p ${PATH_DST}/${VP_NAME}
78+
7779
RES=`f_check_extension`
7880
# 1 = Jupyter Extension is not actived
7981
# 2 = visualpython does not exist
8082
# 3 = visualpython exists
8183

82-
mkdir -p ${PATH_DST}/${VP_NAME}
83-
8484
if [ ${RES} -eq 1 ]; then
8585
f_print_not_extension
8686
elif [ ${RES} -eq 2 ]; then

bin/visualpy.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ rem #=========================================================================
8181
rem # Install Visual Python
8282
rem #=========================================================================
8383
:f_install
84+
if not exist "%PATH_DST%" (
85+
mkdir "%PATH_DST%"
86+
)
87+
8488
call :f_check_extension RES
8589
rem # 1 = Jupyter Extension is not actived
8690
rem # 2 = visualpython does not exist

0 commit comments

Comments
 (0)