Pre-install vscode
extensions
This commit is contained in:
parent
c170990a6d
commit
8239b01fd6
4 changed files with 23 additions and 13 deletions
|
@ -215,19 +215,7 @@ yay --noconfirm -Syu \
|
||||||
visual-studio-code-insiders-bin \
|
visual-studio-code-insiders-bin \
|
||||||
;
|
;
|
||||||
|
|
||||||
for editor_bin in \
|
. "../Common/Config/vscode/install.sh";
|
||||||
codium \
|
|
||||||
codium-insiders \
|
|
||||||
code \
|
|
||||||
code-insiders
|
|
||||||
do
|
|
||||||
for extension in \
|
|
||||||
zokugun.sync-settings \
|
|
||||||
zokugun.vsix-manager
|
|
||||||
do
|
|
||||||
$editor_bin --install-extension "$extension";
|
|
||||||
done;
|
|
||||||
done;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "--touch-events";
|
echo "--touch-events";
|
||||||
|
|
17
scripts/Common/Config/vscode/install.sh
Executable file
17
scripts/Common/Config/vscode/install.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
for editor_bin in \
|
||||||
|
codium \
|
||||||
|
codium-insiders \
|
||||||
|
code \
|
||||||
|
code-insiders
|
||||||
|
do
|
||||||
|
if command -v "$editor_bin" > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
for extension in \
|
||||||
|
zokugun.sync-settings \
|
||||||
|
zokugun.vsix-manager
|
||||||
|
do
|
||||||
|
$editor_bin --install-extension "$extension";
|
||||||
|
done;
|
||||||
|
fi;
|
||||||
|
done;
|
|
@ -74,6 +74,8 @@ function Restore-GenericApps([Context] $context) {
|
||||||
choco install -y --params "/NoDesktopIcon /AssociateWithFiles" vscodium;
|
choco install -y --params "/NoDesktopIcon /AssociateWithFiles" vscodium;
|
||||||
winget install --scope machine --accept-source-agreements --accept-package-agreements -e --id VSCodium.VSCodium.Insiders --override '/VerySilent /MergeTasks="!runCode,quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"';
|
winget install --scope machine --accept-source-agreements --accept-package-agreements -e --id VSCodium.VSCodium.Insiders --override '/VerySilent /MergeTasks="!runCode,quicklaunchicon,addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath"';
|
||||||
|
|
||||||
|
. "$PSScriptRoot/../Config/vscode/Install.ps1";
|
||||||
|
|
||||||
choco install -y `
|
choco install -y `
|
||||||
gh `
|
gh `
|
||||||
github-desktop `
|
github-desktop `
|
||||||
|
|
3
scripts/Windows/Config/vscode/Install.ps1
Normal file
3
scripts/Windows/Config/vscode/Install.ps1
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/pwsh
|
||||||
|
. "$PSScriptRoot/../../Scripts/BashScript.ps1";
|
||||||
|
Start-BashScript "bash `"$PSScriptRoot/../../../Common/Config/vscode/install.sh`"";
|
Loading…
Reference in a new issue