From 71bd281a845f9333bc52fb40c54c9ad4c09dfa8f Mon Sep 17 00:00:00 2001 From: Francois B Date: Mon, 12 Feb 2018 17:01:27 +0100 Subject: [PATCH] vscode repo added --- install_functions.sh | 17 ++++++++++++----- repo_functions.sh | 13 ++++++++++++- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/install_functions.sh b/install_functions.sh index 0c4878c..98277a3 100644 --- a/install_functions.sh +++ b/install_functions.sh @@ -888,12 +888,19 @@ function installPyCharmMenu () { installAppsFromListMenu pycharm } -#TODO: +# +# install Pycharm Apps (headless) +# function installVisualStudioCode () { - if which umake >/dev/null; then - msg "Umake installing : Visual-studio-code" - sudo umake ide visual-studio-code - fi + msg "Installing PyCharm" + installAppsFromList code +} + +# +# install Pycharm Apps (Menu) +# +function installVisualStudioCode () { + installAppsFromListMenu code } #TODO: diff --git a/repo_functions.sh b/repo_functions.sh index eb149b6..c1fee0d 100644 --- a/repo_functions.sh +++ b/repo_functions.sh @@ -377,6 +377,7 @@ kicad;apt;cad;kicad kicad-locale-fr;apt;cad;kicad-locale-fr librecad;apt;cad;librecad freecad;apt;cad;freecad +code;apt;code;code atom;apt;atom;atom sync-settings;apm;atom;sync-settings sqlparse;pip;atom;sqlparse @@ -415,7 +416,8 @@ kodi-nightly;addSpecificRepo_KodiNightly libreoffice6:addSpecificRepo_Libreoffice6 winehq-devel:addSpecificRepo_Wine mongodb-org;addSpecificRepo_MongoDB3CE -gyazo;addSpecificRepo_Gyazo" +gyazo;addSpecificRepo_Gyazo +code;addSpecificRepo_VSCode" # # Gyazo @@ -465,6 +467,15 @@ function addSpecificRepo_KodiNightly () { addPPA "ppa:team-xbmc/xbmc-nightly" } +# +# Visual Studio Code repo +# +function addSpecificRepo_VSCode () { + addKey "https://packages.microsoft.com/keys/microsoft.asc" + addRepo "vscode.list" \ + "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" +} + #-----------------------------------------------------------------------------# # Package post install functions list # #-----------------------------------------------------------------------------#