From ca46dde69c0189aafffdce021362145939726e3a Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 15 Nov 2024 21:46:48 +0100 Subject: [PATCH] Fixed due to https://github.com/nushell/nushell/pull/13915 --- app/MindWork AI Studio/build.nu | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/MindWork AI Studio/build.nu b/app/MindWork AI Studio/build.nu index 3f791db7..e075e235 100755 --- a/app/MindWork AI Studio/build.nu +++ b/app/MindWork AI Studio/build.nu @@ -63,8 +63,11 @@ def "main fix_web_assets" []: nothing -> nothing { mkdir wwwroot/system # Copy the web assets from the first RID to the source project: - let source_path: glob = $"bin/release/net8.0/($rid)/publish/wwwroot/_content/*" - cp --recursive --force --update $source_path wwwroot/system/ + let source_paths = glob --depth 99 bin/release/net8.0/($rid)/publish/wwwroot/_content/* + + for source_path in $source_paths { + cp --recursive --force --update $source_path wwwroot/system/ + } } def "main publish" []: nothing -> nothing {