[visual-studio-code-bin] Update desktop files to match upstream
This commit is contained in:
6
PKGBUILD
6
PKGBUILD
@@ -3,7 +3,7 @@
|
|||||||
pkgname=visual-studio-code-bin
|
pkgname=visual-studio-code-bin
|
||||||
_pkgname=visual-studio-code
|
_pkgname=visual-studio-code
|
||||||
pkgver=1.43.2
|
pkgver=1.43.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
|
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://code.visualstudio.com/"
|
url="https://code.visualstudio.com/"
|
||||||
@@ -17,8 +17,8 @@ optdepends=('glib2: Needed for move to trash functionality'
|
|||||||
source=(code_x64_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/${pkgver}/linux-x64/stable
|
source=(code_x64_${pkgver}.tar.gz::https://vscode-update.azurewebsites.net/${pkgver}/linux-x64/stable
|
||||||
${_pkgname}.desktop ${_pkgname}-url-handler.desktop)
|
${_pkgname}.desktop ${_pkgname}-url-handler.desktop)
|
||||||
sha256sums=('8f38474e258c1bbd469b5311051c50466a080b9e970b506e0e0bad387d524fed'
|
sha256sums=('8f38474e258c1bbd469b5311051c50466a080b9e970b506e0e0bad387d524fed'
|
||||||
'488592034dd5f979083bbd80788d33e253bb3ac3e52d50faee80e715a924a212'
|
'0deefcb638e06c35a52e7e9fb8e19b2dc393f01e5c1c122d2938cddeb22cf8de'
|
||||||
'727adaf263801462744c65bc0fad1b64ab31b3c96ed1a11e5b61bffbd5d71bc7')
|
'be3d123aacd575d8f836728266eb421ea70399d713d1fc30378dbc5602b519fb')
|
||||||
package() {
|
package() {
|
||||||
_pkg=VSCode-linux-x64
|
_pkg=VSCode-linux-x64
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
Name=Visual Studio Code - URL Handler
|
Name=Visual Studio Code - URL Handler
|
||||||
Comment=Code Editing. Redefined.
|
Comment=Code Editing. Redefined.
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Exec=/opt/visual-studio-code/code --open-url %U
|
Exec=/opt/visual-studio-code/code --no-sandbox --open-url %U
|
||||||
Icon=visual-studio-code
|
Icon=visual-studio-code
|
||||||
Type=Application
|
Type=Application
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Categories=Development;WebDevelopment;IDE;Utility;TextEditor;
|
Categories=Utility;TextEditor;Development;IDE;
|
||||||
MimeType=x-scheme-handler/vscode
|
MimeType=x-scheme-handler/vscode;
|
||||||
Keywords=vscode;
|
Keywords=vscode;
|
||||||
|
|||||||
@@ -1,11 +1,18 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Exec=/opt/visual-studio-code/code %f
|
|
||||||
Icon=visual-studio-code
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Name=Visual Studio Code
|
Name=Visual Studio Code
|
||||||
Comment=Editor for building and debugging modern web and cloud applications
|
Comment=Code Editing. Refined.
|
||||||
Categories=Development;WebDevelopment;IDE;Utility;TextEditor;
|
GenericName=Text Editor
|
||||||
MimeType=text/plain;inode/directory;
|
Exec=/opt/visual-studio-code/code --no-sandbox --unity-launch %F
|
||||||
StartupNotify=true
|
Icon=visual-studio-code
|
||||||
|
Type=Application
|
||||||
|
StartupNotify=false
|
||||||
StartupWMClass=code
|
StartupWMClass=code
|
||||||
|
Categories=Utility;TextEditor;Development;IDE;
|
||||||
|
MimeType=text/plain;inode/directory;
|
||||||
|
Actions=new-empty-window;
|
||||||
|
Keywords=vscode;
|
||||||
|
|
||||||
|
[Desktop Action new-empty-window]
|
||||||
|
Name=New Empty Window
|
||||||
|
Exec=/opt/visual-studio-code/code --no-sandbox --new-window %F
|
||||||
|
Icon=visual-studio-code
|
||||||
|
|||||||
Reference in New Issue
Block a user