npackd-cpp icon indicating copy to clipboard operation
npackd-cpp copied to clipboard

Update all

Open OgreTransporter opened this issue 6 years ago • 3 comments

How can I update all installed programs to the latest version at once by comand line?

OgreTransporter avatar Jan 07 '20 11:01 OgreTransporter

there is currently no way to do this.

tim-lebedkov avatar Jan 08 '20 17:01 tim-lebedkov

One way is to create the following batch file (update_all.bat) in ncl folder:

@ECHO OFF
SET nppath=%~dp0
SET PATH=%PATH%;%nppath:~0,-1%
powershell -c "$pl = (& ncl.exe list --bare-format); ForEach ($line in $($pl -split '`r`n')) { $col = $line -split ' '; $col = $col[0].Trim(); & ncl.exe update --package=$col }"

OgreTransporter avatar Jan 14 '20 13:01 OgreTransporter

Hello,

I plan to add ncl update -q ""

tim-lebedkov avatar Apr 18 '20 09:04 tim-lebedkov