File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,10 @@ if ($null -ne $packageType) {
158
158
Remove-Item temp:/ rustup-init.exe - ErrorAction Ignore
159
159
}
160
160
}
161
+ else {
162
+ Write-Verbose - Verbose " Rust found, updating..."
163
+ & rustup update
164
+ }
161
165
162
166
$BuildToolsPath = " ${env: ProgramFiles(x86)} \Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC"
163
167
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ fn get_task_list() -> Vec<ProcessInfo>
16
16
for ( pid, process) in s. processes ( ) {
17
17
let mut p = ProcessInfo :: new ( ) ;
18
18
p. pid = pid. as_u32 ( ) ;
19
- p. name = format ! ( "{:?}" , process. name( ) ) ;
19
+ p. name = format ! ( "{:?}" , process. name( ) . display ( ) ) ;
20
20
p. cmdline = format ! ( "{:?}" , process. cmd( ) ) ;
21
21
result. push ( p) ;
22
22
}
You can’t perform that action at this time.
0 commit comments