From d4305bb2f8e0a1ea8122ebe72a4925cbaa01a961 Mon Sep 17 00:00:00 2001 From: marcobaobao Date: Mon, 18 Mar 2024 10:27:40 +0100 Subject: [PATCH] re-enabled armv6 builds code refactoring --- Makefile | 5 +++-- frontend/src/atoms/status.ts | 7 ------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 52f261f..a27c8d0 100644 --- a/Makefile +++ b/Makefile @@ -7,9 +7,10 @@ all: multiarch: mkdir -p build - CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o build/yt-dlp-webui_linux-arm main.go - CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o build/yt-dlp-webui_linux-arm64 main.go CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/yt-dlp-webui_linux-amd64 main.go + CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o build/yt-dlp-webui_linux-arm64 main.go + CGO_ENABLED=0 GOOS=linux GOARM=6 GOARCH=arm go build -o build/yt-dlp-webui_linux-armv7 main.go + CGO_ENABLED=0 GOOS=linux GOARM=7 GOARCH=arm go build -o build/yt-dlp-webui_linux-armv6 main.go clean: rm -rf build \ No newline at end of file diff --git a/frontend/src/atoms/status.ts b/frontend/src/atoms/status.ts index 4c59ba1..f4f04e6 100644 --- a/frontend/src/atoms/status.ts +++ b/frontend/src/atoms/status.ts @@ -1,13 +1,6 @@ import { atom, selector } from 'recoil' import { rpcClientState } from './rpc' -type StatusState = { - connected: boolean, - updated: boolean, - downloading: boolean, -} - - export const connectedState = atom({ key: 'connectedState', default: false