File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## [ Unreleased] ( https://github.com/ScoopInstaller/Scoop/compare/master...develop )
2+
3+ ### Bug Fixes
4+
5+ - ** sqlite:** Fix compatibility with Windows PowerShell ([ #6045 ] ( https://github.com/ScoopInstaller/Scoop/issues/6045 ) )
6+
17## [ v0.5.0] ( https://github.com/ScoopInstaller/Scoop/compare/v0.4.2...v0.5.0 ) - 2024-07-01
28
39### Features
Original file line number Diff line number Diff line change @@ -21,15 +21,14 @@ function Get-SQLite {
2121 # Install SQLite
2222 try {
2323 Write-Host " Downloading SQLite $Version ..." - ForegroundColor DarkYellow
24- $sqlitePkgPath = " $env: TEMP \sqlite.nupkg "
24+ $sqlitePkgPath = " $env: TEMP \sqlite.zip "
2525 $sqliteTempPath = " $env: TEMP \sqlite"
2626 $sqlitePath = " $PSScriptRoot \..\supporting\sqlite"
2727 Invoke-WebRequest - Uri " https://api.nuget.org/v3-flatcontainer/stub.system.data.sqlite.core.netframework/$version /stub.system.data.sqlite.core.netframework.$version .nupkg" - OutFile $sqlitePkgPath
2828 Write-Host " Extracting SQLite $Version ..." - ForegroundColor DarkYellow - NoNewline
2929 Expand-Archive - Path $sqlitePkgPath - DestinationPath $sqliteTempPath - Force
3030 New-Item - Path $sqlitePath - ItemType Directory - Force | Out-Null
31- Move-Item - Path " $sqliteTempPath \build\net45\*" - Destination $sqlitePath - Exclude ' *.targets' - Force
32- Move-Item - Path " $sqliteTempPath \lib\net45\System.Data.SQLite.dll" - Destination $sqlitePath - Force
31+ Move-Item - Path " $sqliteTempPath \build\net451\*" , " $sqliteTempPath \lib\net451\System.Data.SQLite.dll" - Destination $sqlitePath - Force
3332 Remove-Item - Path $sqlitePkgPath , $sqliteTempPath - Recurse - Force
3433 Write-Host ' Done' - ForegroundColor DarkYellow
3534 return $true
You can’t perform that action at this time.
0 commit comments