Open Hsuxu opened 2 years ago
Still pending, right? I just got the following trying to update or uninstall fluent-terminal-np
- have 0.7.5.0
trying to upgrade to 0.7.7.0
:
PS C:\Users\David\source\repos> scoop update fluent-terminal-np
fluent-terminal-np: 0.7.5.0 -> 0.7.7.0
Updating 1 outdated app:
Updating 'fluent-terminal-np' (0.7.5.0 -> 0.7.7.0) [64bit]
Downloading new version
Loading FluentTerminal.Package_0.7.7.0.zip from cache.
Checking hash of FluentTerminal.Package_0.7.7.0.zip ... ok.
Uninstalling 'fluent-terminal-np' (0.7.5.0)
Running uninstaller script...
Copy-Item : Cannot find path 'C:\Users\David\AppData\Local\Packages\Settings' because it does not exist.
At line:13 char:1
+ Copy-Item -Recurse -Force "$env:LOCALAPPDATA\Packages\$($package.Pack ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\David\...ckages\Settings:String) [Copy-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
ERROR Cannot process argument transformation on parameter 'Package'. Object reference not set to an instance of an object.
ERROR This application failed to update: fluent-terminal-np
PS C:\Users\David\source\repos> scoop uninstall fluent-terminal-np
Uninstalling 'fluent-terminal-np' (0.7.5.0)
Running uninstaller script...
Copy-Item : Cannot find path 'C:\Users\David\AppData\Local\Packages\Settings' because it does not exist.
At line:13 char:1
+ Copy-Item -Recurse -Force "$env:LOCALAPPDATA\Packages\$($package.Pack ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Users\David\...ckages\Settings:String) [Copy-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
ERROR Cannot process argument transformation on parameter 'Package'. Object reference not set to an instance of an object.
PS C:\Users\David\source\repos>```
You can remove the folder in scoop manually. And run scoop install fluent-terminal-np
after changing the line 26 to 'msixbundle' in json file.
Change install script line 26
"$bundle = Get-ChildItem \"$dir\\*.appxbundle\" | Where-Object { $_.Mode -NotMatch 'd' }",
to"$bundle = Get-ChildItem \"$dir\\*.msixbundle\" | Where-Object { $_.Mode -NotMatch 'd' }",