From bfc400527ba91e794791b757247f0e9589f0aa6b Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 6 Jul 2023 13:15:54 +0800 Subject: [PATCH] Fix linux setup --- setup.ps1 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/setup.ps1 b/setup.ps1 index b6c6837547..9f8aad2323 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -62,25 +62,25 @@ if ($IsLinux) { sudo apt update # for vm, libxxf86vm-dev also required - DEPENDS = @() + $DEPENDS = @() - DEPENDS = 'libx11-dev' - DEPENDS += 'automake' - DEPENDS += 'libtool' - DEPENDS += 'cmake' - DEPENDS += 'libxmu-dev' - DEPENDS += 'libglu1-mesa-dev' - DEPENDS += 'libgl2ps-dev' - DEPENDS += 'libxi-dev' - DEPENDS += 'libzip-dev' - DEPENDS += 'libpng-dev' - DEPENDS += 'libfontconfig1-dev' - DEPENDS += 'libgtk-3-dev' - DEPENDS += 'binutils' - DEPENDS += 'libbsd-dev' - DEPENDS += 'libasound2-dev' - DEPENDS += 'libxxf86vm-dev' - DEPENDS += @('libvlc-dev', 'libvlccore-dev', 'vlc') + $DEPENDS = 'libx11-dev' + $DEPENDS += 'automake' + $DEPENDS += 'libtool' + $DEPENDS += 'cmake' + $DEPENDS += 'libxmu-dev' + $DEPENDS += 'libglu1-mesa-dev' + $DEPENDS += 'libgl2ps-dev' + $DEPENDS += 'libxi-dev' + $DEPENDS += 'libzip-dev' + $DEPENDS += 'libpng-dev' + $DEPENDS += 'libfontconfig1-dev' + $DEPENDS += 'libgtk-3-dev' + $DEPENDS += 'binutils' + $DEPENDS += 'libbsd-dev' + $DEPENDS += 'libasound2-dev' + $DEPENDS += 'libxxf86vm-dev' + $DEPENDS += @('libvlc-dev', 'libvlccore-dev', 'vlc') # if vlc encouter codec error, install # sudo apt install ubuntu-restricted-extras