From c0cf249e4e015a2d899acb86b1ddf2667b11d622 Mon Sep 17 00:00:00 2001 From: Nick Kastellanos Date: Sun, 3 Mar 2024 10:05:32 +0200 Subject: [PATCH] update pack.bat --- src/pack.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pack.bat b/src/pack.bat index 6f5a483..ea63cf1 100644 --- a/src/pack.bat +++ b/src/pack.bat @@ -1,8 +1,10 @@ +set username=username + dotnet pack LibOVR\LibOVR.csproj /p:Configuration=Release -o LibOVR\bin\Release -"C:\Program Files (x86)\nuget\nuget.exe" delete nkast.libovr 1.0.0 -Source "C:\Users\usename\.nuget\localPackages" -NonInteractive +"C:\Program Files (x86)\nuget\nuget.exe" delete nkast.libovr 1.0.0 -Source "C:\Users\%username%\.nuget\localPackages" -NonInteractive -"C:\Program Files (x86)\nuget\nuget.exe" add LibOVR\bin\Release\nkast.LibOVR.1.0.0.nupkg -Source "C:\Users\usename\.nuget\localPackages" +"C:\Program Files (x86)\nuget\nuget.exe" add LibOVR\bin\Release\nkast.LibOVR.1.0.0.nupkg -Source "C:\Users\%username%\.nuget\localPackages" pause \ No newline at end of file