diff --git a/scripts/devkit/deploy_devkit.sh b/scripts/devkit/deploy_devkit.sh index 723c46f95a88d3c149dc378a141711deeacd705a..12c95f0cc9f41a6e04a726385bb1637510c268cc 100644 --- a/scripts/devkit/deploy_devkit.sh +++ b/scripts/devkit/deploy_devkit.sh @@ -7,13 +7,13 @@ cd $devkit_dir_path spawn $devkit_dir_path/install_devkit.sh expect { - "The preceding dependencies will be automatically installed with DevKit. If source installation packages are available, add the installation paths to the LD_LIBRARY_PATH or PATH environment variable. Do you allow automatic installation of these dependencies?" { send "y\r"; exp_continue } - "Enter the sequence number of the tool access mode for your installation (default: 1)" { send "\r"; exp_continue } - "Enter the sequence number of the tool to be installed (default: 1)" { send "2\r"; exp_continue } - "Enter the serial number of the plug-in that can be installed. Format: a single digit or 'digits+commas', for example, (1 or 1,2 or 1,2,3). To exit the plug-in installation, enter no" { send "1,2,3,4,5\r"; exp_continue } - "Do you want to authorize the tool to handle the items failed in the installation environment check?" { send "Y\r"; exp_continue } - "Enter the installation path. (The default path is /opt)" { send "\r"; exp_continue } - "Please enter the installation port (default: 8086)" { send "\r"; exp_continue } + "The preceding dependencies will be automatically installed with DevKit. If source installation packages are available, add the installation paths to the LD_LIBRARY_PATH or PATH environment variable. Do you allow automatic installation of these dependencies?" { send "y\r\n"; exp_continue } + "Enter the sequence number of the tool access mode for your installation (default: 1)" { send "\r\n"; exp_continue } + "Enter the sequence number of the tool to be installed (default: 1)" { send "2\r\n"; exp_continue } + "Enter the serial number of the plug-in that can be installed. Format: a single digit or 'digits+commas', for example, (1 or 1,2 or 1,2,3). To exit the plug-in installation, enter no" { send "1,2,3,4,5\r\n"; exp_continue } + "Do you want to authorize the tool to handle the items failed in the installation environment check?" { send "Y\r\n"; exp_continue } + "Enter the installation path. (The default path is /opt)" { send "\r\n"; exp_continue } + "Please enter the installation port (default: 8086)" { send "\r\n"; exp_continue } "please use the mapping IP" { exit 0 } eof {} } diff --git a/scripts/install_devkit.sh b/scripts/install_devkit.sh index ec41a4ae4ef9d5c7cb631c5d7b6ff7dd53e8c225..78e9e1fe1745f70dd542b92af6b313674fe8509c 100644 --- a/scripts/install_devkit.sh +++ b/scripts/install_devkit.sh @@ -38,7 +38,7 @@ function install_plugins() cp "${file}" "${ROOTFS}/${plugin}" display_alert "Installing " "${plugin}" "info" mount_chroot ${ROOTFS} - run_on_rootfs "code --no-sandbox --user-data-dir /home/${execute_user} --install-extension ${plugin}" + run_on_rootfs "code --no-sandbox --user-data-dir /home/${execute_user} --extensions-dir /home/${execute_user}/.vscode/extensions --install-extension ${plugin}" umount_chroot ${ROOTFS} rm ${ROOTFS}/${plugin} else