From e81277efc34b8c424382e34d53289b08215dbbc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B3=D0=BE=D1=80?= <148970641+Egor00f@users.noreply.github.com> Date: Sat, 16 Nov 2024 19:45:39 +0500 Subject: [PATCH] fix param in install.ps1 --- install.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install.ps1 b/install.ps1 index 0e343ec..66fcdf6 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,4 +1,8 @@ -#Requires -RunAsAdministrator + #Requires -RunAsAdministrator + +param( + [string]$InstallPath='C:\MinGW\msys\1.0\home\autobuild\tools' +) if (Get-Module -ListAvailable -Name 7Zip4PowerShell) {} @@ -11,9 +15,6 @@ $URL_TO_LIBS = "http://builds.kolibrios.org/en_US/data/contrib/sdk/lib" $LIST_OF_LIBS = 'libdll.a', 'libfreetype.a', 'libc.dll.a', 'libSDLn.a', 'libSDL_mixer.a', 'libcurses.a', 'libz.dll.a', 'libogg.a', 'libvorbis.a', 'libopenjpeg.a', 'libopenjpeg.a', 'libsqlite3.dll.a', 'libjbig2dec.a' -param( - [string]$InstallPath='C:\MinGW\msys\1.0\home\autobuild\tools' -) Write-Progress -Activity 'Installing toolchain' -Status 'toolchain' -PercentComplete 0 -CurrentOperation 'Create the $InstallPath folder'