Skip to content

Commit

Permalink
feat: Add script to download and organize VSCode icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Patzi275 committed Jul 14, 2024
1 parent d300a9e commit 1653d35
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
24 changes: 20 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
"command": "surge-deploy.deploy",
"title": "Surge: Deploy",
"icon": {
"light": "./resources/light/plus.svg",
"dark": "./resources/dark/plus.svg"
"light": "./resources/light/add.svg",
"dark": "./resources/dark/add.svg"
}
},
{
"command": "surge-deploy.reload-list",
"title": "Surge: Refresh",
"icon": {
"light": "./resources/light/reload.svg",
"dark": "./resources/dark/reload.svg"
"light": "./resources/light/refresh.svg",
"dark": "./resources/dark/refresh.svg"
}
},
{
Expand All @@ -36,6 +36,22 @@
{
"command": "surge-deploy.hello",
"title": "Surge: Hello"
},
{
"command": "surge-deploy.rename",
"title": "Surge: Rename",
"icon": {
"light": "./resources/light/edit.svg",
"dark": "./resources/dark/edit.svg"
}
},
{
"command": "surge-deploy.delete",
"title": "Surge: Delete",
"icon": {
"light": "./resources/light/remove.svg",
"dark": "./resources/dark/remove.svg"
}
}
],
"viewsContainers": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/surge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const deploySurgeCommand = commands.registerCommand('surge-deploy.deploy'

await window.withProgress({
location: ProgressLocation.Window,
title: `Deploying "${projectName}" project on surge`,
title: `Deploying project on surge...`,
cancellable: true
}, (progress, token) => {
token.onCancellationRequested(() => {
Expand Down
7 changes: 7 additions & 0 deletions vsicon.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

name=$1
wget https://raw.githubusercontent.com/microsoft/vscode-icons/master/icons/light/$name.svg
mv $name.svg resources/light
wget https://raw.githubusercontent.com/microsoft/vscode-icons/master/icons/dark/$name.svg
mv $name.svg resources/dark

0 comments on commit 1653d35

Please sign in to comment.