build: add arm64 architecture support

This commit is contained in:
Elysia
2026-01-31 10:40:11 +08:00
parent 5b09dfb3d9
commit b185b40161
4 changed files with 5 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ export const handleInstall = () => {
name: currentApp.value.Name,
pkgname: currentApp.value.Pkgname,
version: currentApp.value.Version,
icon: `${APM_STORE_BASE_URL}/${APM_STORE_ARCHITECTURE()}/${currentApp.value._category}/${currentApp.value.Pkgname}/icon.png`,
icon: `${APM_STORE_BASE_URL}/${window.apm_store.arch}/${currentApp.value._category}/${currentApp.value.Pkgname}/icon.png`,
status: 'queued',
progress: 0,
downloadedSize: 0,

1
src/vite-env.d.ts vendored
View File

@@ -9,4 +9,5 @@ declare module '*.vue' {
interface Window {
// expose in the `electron/preload/index.ts`
ipcRenderer: import('electron').IpcRenderer
apm_store: any
}