mirror of
https://github.com/archlinux/aur.git
synced 2026-02-28 12:43:11 +01:00
[visual-studio-code-bin] Fix newline handling in code-flags.conf, sync
.desktop files with upstream
This commit is contained in:
parent
d8d9909caf
commit
325777eddb
5 changed files with 13 additions and 13 deletions
8
.SRCINFO
8
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = visual-studio-code-bin
|
||||
pkgdesc = Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
|
||||
pkgver = 1.66.2
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://code.visualstudio.com/
|
||||
install = visual-studio-code-bin.install
|
||||
arch = x86_64
|
||||
|
|
@ -31,10 +31,10 @@ pkgbase = visual-studio-code-bin
|
|||
source = visual-studio-code-url-handler.desktop
|
||||
source = visual-studio-code-workspace.xml
|
||||
source = visual-studio-code-bin.sh
|
||||
sha256sums = f0be273247878b66c7d10500718220e3e24abce29f7be94b4e875c3cf21b8a3b
|
||||
sha256sums = 730b9d57a6d5cd91611b01ad2f1f26b1b61c344a72e7d05fb7e27329c5234d4e
|
||||
sha256sums = dc7dedfb031863f2bdb8d3a12df6bf58b5627b767a56a82cc5d85421e04e94b8
|
||||
sha256sums = 2264dd138b77358709aa49fb3a7fe7d1b05b7ab0715760d66958000107bdd3dc
|
||||
sha256sums = 24ba09a6398c9781ed7cb6f1a9f6f38ec204899ba1f33db92638bf6d3cb0aed6
|
||||
sha256sums = 71e89d296273344ab5358d8f4ddb093d748906de568735cb84dbc932ff884c5a
|
||||
sha256sums = d0df59f13bd721a5c896eeaa0ca407bd304f6bd6ec41f54c19221ccc31eeb06b
|
||||
source_x86_64 = code_x64_1.66.2.tar.gz::https://update.code.visualstudio.com/1.66.2/linux-x64/stable
|
||||
sha256sums_x86_64 = df8aea83c49b44aa5708f7126539b57dbbe9ed9817f0bf87f5a316ce2dca20ea
|
||||
source_i686 = code_ia32_1.66.2.tar.gz::https://update.code.visualstudio.com/latest/linux-ia32/stable
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=visual-studio-code-bin
|
||||
_pkgname=visual-studio-code
|
||||
pkgver=1.66.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)"
|
||||
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
|
||||
url="https://code.visualstudio.com/"
|
||||
|
|
@ -25,10 +25,10 @@ source_armv7h=(code_armhf_${pkgver}.tar.gz::https://update.code.visualstudio.com
|
|||
# i686 uses "latest" instead of a specific version as it's not always updated in a timely manner
|
||||
source_i686=(code_ia32_${pkgver}.tar.gz::https://update.code.visualstudio.com/latest/linux-ia32/stable)
|
||||
# This generates cleaner checksums
|
||||
sha256sums=('f0be273247878b66c7d10500718220e3e24abce29f7be94b4e875c3cf21b8a3b'
|
||||
'730b9d57a6d5cd91611b01ad2f1f26b1b61c344a72e7d05fb7e27329c5234d4e'
|
||||
sha256sums=('dc7dedfb031863f2bdb8d3a12df6bf58b5627b767a56a82cc5d85421e04e94b8'
|
||||
'2264dd138b77358709aa49fb3a7fe7d1b05b7ab0715760d66958000107bdd3dc'
|
||||
'24ba09a6398c9781ed7cb6f1a9f6f38ec204899ba1f33db92638bf6d3cb0aed6'
|
||||
'71e89d296273344ab5358d8f4ddb093d748906de568735cb84dbc932ff884c5a')
|
||||
'd0df59f13bd721a5c896eeaa0ca407bd304f6bd6ec41f54c19221ccc31eeb06b')
|
||||
sha256sums_x86_64=('df8aea83c49b44aa5708f7126539b57dbbe9ed9817f0bf87f5a316ce2dca20ea')
|
||||
sha256sums_i686=('64360439cc2fa596838062f7e6f9757b79d4b775a564f18bad6cbad154bf850c')
|
||||
sha256sums_aarch64=('cd8145b992e7e2fd48a148ac50e98cd56b8550c9c2ca411ec50cfda2c4942f71')
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}
|
|||
|
||||
# Allow users to override command-line options
|
||||
if [[ -f $XDG_CONFIG_HOME/code-flags.conf ]]; then
|
||||
CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf)"
|
||||
CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf | tr '\n' ' ')"
|
||||
fi
|
||||
|
||||
# Launch
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
Name=Visual Studio Code - URL Handler
|
||||
Comment=Code Editing. Redefined.
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/bin/code --no-sandbox --open-url %U
|
||||
Exec=/usr/bin/code --open-url %U
|
||||
Icon=visual-studio-code
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
StartupNotify=true
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
Categories=TextEditor;Development;IDE;
|
||||
MimeType=x-scheme-handler/vscode;
|
||||
Keywords=vscode;
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
Name=Visual Studio Code
|
||||
Comment=Code Editing. Refined.
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/bin/code --no-sandbox --unity-launch %F
|
||||
Exec=/usr/bin/code --unity-launch %F
|
||||
Icon=visual-studio-code
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
StartupWMClass=Code
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
Categories=TextEditor;Development;IDE;
|
||||
MimeType=text/plain;inode/directory;application/x-visual-studio-code-workspace;
|
||||
Actions=new-empty-window;
|
||||
Keywords=vscode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue