Date: Wednesday, March 15, 2023 @ 08:52:08 Author: mtorromeo Revision: 1420658
upgpkg: code 1.76.1-3: Fixed electron version used by the code script (Fixes FS#77856) Modified: code/trunk/PKGBUILD ----------+ PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-15 08:11:11 UTC (rev 1420657) +++ PKGBUILD 2023-03-15 08:52:08 UTC (rev 1420658) @@ -14,7 +14,7 @@ # Important: Remember to check https://github.com/microsoft/vscode/blob/master/.yarnrc (choose correct tag) for target electron version _electron=electron19 pkgver=1.76.1 -pkgrel=2 +pkgrel=3 arch=('x86_64') url='https://github.com/microsoft/vscode' license=('MIT') @@ -56,8 +56,10 @@ cd $pkgname # Change electron binary name to the target electron - sed -i "s|name=electron |name=$_electron |" ../code.sh - sed -i "s|#!/usr/bin/electron|#!/usr/bin/$_electron|" ../code.js + sed -e "s|name=electron|name=$_electron |" \ + -e '/PKGBUILD/d' \ + -i ../code.sh + sed "s|#!/usr/bin/electron|#!/usr/bin/$_electron|" -i ../code.js # This patch no longer contains proprietary modifications. # See https://github.com/Microsoft/vscode/issues/31168 for details.
