From 6fff14465850be4e2feb2688c578af3fe7702dd0 Mon Sep 17 00:00:00 2001 From: Hsiao-nan Cheung Date: Mon, 22 Apr 2024 17:26:03 +0800 Subject: [PATCH 1/2] fix(sqlite): Skip `use_sqlite_cache` config on ARM64 platform --- lib/core.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core.ps1 b/lib/core.ps1 index f86f9956c9..8d621d7779 100644 --- a/lib/core.ps1 +++ b/lib/core.ps1 @@ -218,6 +218,9 @@ function Complete-ConfigChange { } if ($Name -eq 'use_sqlite_cache' -and $Value -eq $true) { + if ((Get-DefaultArchitecture) -eq 'arm64') { + abort 'SQLite cache is not supported on ARM64 platform.' + } . "$PSScriptRoot\..\lib\database.ps1" . "$PSScriptRoot\..\lib\manifest.ps1" info 'Initializing SQLite cache in progress... This may take a while, please wait.' From 0b0259507c43300ddf15f93200cedb1ec588cb8b Mon Sep 17 00:00:00 2001 From: Hsiao-nan Cheung Date: Mon, 22 Apr 2024 17:33:23 +0800 Subject: [PATCH 2/2] Update chglog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b6c2957d6..b2e872614f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### Features -- **scoop-search:** Use SQLite for caching apps to speed up local search ([#5851](https://github.com/ScoopInstaller/Scoop/issues/5851)) +- **scoop-search:** Use SQLite for caching apps to speed up local search ([#5851](https://github.com/ScoopInstaller/Scoop/issues/5851), [#5918](https://github.com/ScoopInstaller/Scoop/issues/5918)) ## [v0.4.0](https://github.com/ScoopInstaller/Scoop/compare/v0.3.1...v0.4.0) - 2024-04-18