Skip to content

Commit ada399b

Browse files
committed
UPDATED: arm syntax in code and a little fix / update for url of main bundle package. Not finished because we need to issue or pr the repo of the arm syntax for proper format in the clone for possible automatization
1 parent e2d341c commit ada399b

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

data/core/feature_arguments.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ clone_arguments=("clone")
3838
clonezilla_arguments=("clonezilla")
3939
cmake_arguments=("cmake" "c_make")
4040
cmatrix_arguments=("cmatrix")
41-
code_arguments=("code" "visual_studio_code" "visual_studio")
41+
code_arguments=("code" "visual_studio_code" "visual_studio" "vscode" "vs_code")
4242
codeblocks_arguments=("codeblocks" "code::blocks")
4343
codium_arguments=("codium" "vs_codium")
4444
commit_arguments=("commit")

data/features/code/code.dat.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ code_version="Microsoft dependent"
66
code_tags=("development" "microsoft")
77
code_systemcategories=("Development" "Utility")
88
code_bashfunctions=("silentFunction")
9-
code_binariesinstalledpaths=("code;code")
10-
code_downloadKeys="bundle"
11-
code_bundle_URL="https://go.microsoft.com/fwlink/?LinkID=620884"
9+
code_binariesinstalledpaths=("bin/code;code")
10+
code_downloadKeys=("bundle" "extension")
11+
code_bundle_URL="https://code.visualstudio.com/sha/download?build=stable&os=linux-x64"
12+
code_extension_URL="https://github.com/ininavicode/arm-syntax-vscode-extension/archive/refs/heads/main.zip"
13+
code_extension_downloadPath="${CURRENT_INSTALLATION_FOLDER}/arm-syntax-vscode-extension-main"
14+
code_extension_doNotInherit="yes"
1215
code_launcherkeynames="default"
1316
code_default_exec="code %f"
1417
code_default_windowclass="visual-studio-code"
18+
19+
code_manualcontentavailable="0;0;1"
20+

data/features/code/code.func.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
uninstall_code_pre()
4+
{
5+
remove_folder "/var/lib/pgadmin"
6+
}
7+
8+
install_code_post()
9+
{
10+
code --install-extension ${CURRENT_INSTALLATION_FOLDER}/arm-syntax-vscode-extension.vsix
11+
12+
}
13+
14+
15+

0 commit comments

Comments
 (0)