[visual-studio-code-bin] Fix parameter ordering

When flags come first, arguments are ignored. This fixes that.
This commit is contained in:
D. Can Celasun 2022-09-01 23:24:37 +01:00
parent 7a118bb422
commit ca3a61eb59
3 changed files with 5 additions and 5 deletions

View file

@ -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.71.0
pkgrel = 1
pkgrel = 2
url = https://code.visualstudio.com/
install = visual-studio-code-bin.install
arch = x86_64
@ -35,7 +35,7 @@ pkgbase = visual-studio-code-bin
sha256sums = dc7dedfb031863f2bdb8d3a12df6bf58b5627b767a56a82cc5d85421e04e94b8
sha256sums = 2264dd138b77358709aa49fb3a7fe7d1b05b7ab0715760d66958000107bdd3dc
sha256sums = 24ba09a6398c9781ed7cb6f1a9f6f38ec204899ba1f33db92638bf6d3cb0aed6
sha256sums = d0df59f13bd721a5c896eeaa0ca407bd304f6bd6ec41f54c19221ccc31eeb06b
sha256sums = 8257a5ad82fa1f7dec11dfa064217b80df4cfec24f50cec7ca0ad62cf8295bfe
source_x86_64 = code_x64_1.71.0.tar.gz::https://update.code.visualstudio.com/1.71.0/linux-x64/stable
sha256sums_x86_64 = dfc8ba0631188974d2497236d85a450177eb2ca3801e99e4f2674fcbb05cd932
source_i686 = code_ia32_1.71.0.tar.gz::https://update.code.visualstudio.com/latest/linux-ia32/stable

View file

@ -3,7 +3,7 @@
pkgname=visual-studio-code-bin
_pkgname=visual-studio-code
pkgver=1.71.0
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/"
@ -30,7 +30,7 @@ source_i686=(code_ia32_${pkgver}.tar.gz::https://update.code.visualstudio.com/la
sha256sums=('dc7dedfb031863f2bdb8d3a12df6bf58b5627b767a56a82cc5d85421e04e94b8'
'2264dd138b77358709aa49fb3a7fe7d1b05b7ab0715760d66958000107bdd3dc'
'24ba09a6398c9781ed7cb6f1a9f6f38ec204899ba1f33db92638bf6d3cb0aed6'
'd0df59f13bd721a5c896eeaa0ca407bd304f6bd6ec41f54c19221ccc31eeb06b')
'8257a5ad82fa1f7dec11dfa064217b80df4cfec24f50cec7ca0ad62cf8295bfe')
sha256sums_x86_64=('dfc8ba0631188974d2497236d85a450177eb2ca3801e99e4f2674fcbb05cd932')
sha256sums_i686=('64360439cc2fa596838062f7e6f9757b79d4b775a564f18bad6cbad154bf850c')
sha256sums_aarch64=('5033ebb004ce365ca19b86dd4eac4414a8f42c00e0ec3c8aa72955e210a5a8ca')

View file

@ -8,4 +8,4 @@ if [[ -f $XDG_CONFIG_HOME/code-flags.conf ]]; then
fi
# Launch
exec /opt/visual-studio-code/bin/code $CODE_USER_FLAGS "$@"
exec /opt/visual-studio-code/bin/code "$@" $CODE_USER_FLAGS