commit 5d25f60e4bfdd3a4c8a3174fba607fa3ee24b9ca
parent efb61c583d16c31323bbeaef1b009ceb2af32674
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Fri, 16 Aug 2024 13:37:34 +0530
Add steps for setting up shim 71
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.config/cmd/setup.cmd b/.config/cmd/setup.cmd
@@ -9,7 +9,9 @@ rem Run this in powershell, before
echo Set-ExecutionPolicy RemoteSigned -scope CurrentUser
echo powershell -Command "Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')"
rem Install only the absolute essentials
+ echo scoop config shim 71
echo scoop install 7zip clink dos2unix grep gpg lf make mingit mpv sed sudo unzip vim
+ echo scoop reset -a
exit 1
)
@@ -28,7 +30,9 @@ if "%SCOOP%" == "" (
mkdir %SYSTEMDRIVE%\bin
copy %SCOOP%\apps\busybox\current\busybox.exe %SYSTEMDRIVE%\bin
-copy %SCOOP%\shims\sh.* %SYSTEMDRIVE%\bin
+copy %SCOOP%\shims\sh.exe %SYSTEMDRIVE%\bin
+echo path = "C:\bin\busybox.exe" > C:\bin\sh.shim
+echo args = sh -l >> C:\bin\sh.shim
rem TODO Report this in scoop and remove this line
del %SCOOP%\apps\gpg\current\bin\gpgconf.ctl