From 24490365f9dd8eb7ee3a38c5e5142afe361f74ad Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 26 Feb 2026 13:55:07 -0300 Subject: [PATCH] update Signed-off-by: Thiago Canozzo Lahr --- ct/immichframe.sh | 6 +++--- install/immichframe-install.sh | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ct/immichframe.sh b/ct/immichframe.sh index 10141e317..5fb16ef26 100644 --- a/ct/immichframe.sh +++ b/ct/immichframe.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -COMMUNITY_SCRIPTS_URL="${COMMUNITY_SCRIPTS_URL:-https://github.com/tclahr/ProxmoxVED/tree/main}" source <(curl -fsSL https://raw.githubusercontent.com/tclahr/ProxmoxVED/main/misc/build.func) # Copyright (c) 2021-2026 community-scripts ORG # Author: Thiago Canozzo Lahr (tclahr) @@ -36,9 +35,9 @@ function update_script() { msg_ok "Stopped Service" msg_info "Updating ImmichFrame" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/app" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" - cd /app + cd /tmp/immichframe $STD /opt/dotnet/dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ @@ -50,6 +49,7 @@ function update_script() { $STD npm run build rm -rf /app/wwwroot/* cp -r build/* /app/wwwroot + rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Starting Service" diff --git a/install/immichframe-install.sh b/install/immichframe-install.sh index 0b489154f..4e4301921 100644 --- a/install/immichframe-install.sh +++ b/install/immichframe-install.sh @@ -33,11 +33,11 @@ $STD /tmp/dotnet-install.sh \ ln -sf /opt/dotnet/dotnet /usr/local/bin/dotnet msg_ok "Installed .NET 8 SDK" -fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/app" +fetch_and_deploy_gh_release "immichframe" "immichFrame/ImmichFrame" "tarball" "latest" "/tmp/immichframe" msg_info "Building Application" mkdir -p /app -cd /app +cd /tmp/immichframe $STD dotnet publish ImmichFrame.WebApi/ImmichFrame.WebApi.csproj \ --configuration Release \ --runtime linux-x64 \ @@ -47,6 +47,7 @@ cd /app/immichFrame.Web $STD npm ci $STD npm run build cp -r build/* /app/wwwroot +rm -rf /tmp/immichframe msg_ok "Application Built" msg_info "Configuring ImmichFrame"