mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
de0b6b1528
* feat: add workspace-shared ui/ folder reusable across raw apps Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat: add shared ui/ drawer in raw app editor sidebar Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * feat: forward workspace shared ui/ to raw app editor iframe Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * all * all --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
513 B
Bash
Executable File
21 lines
513 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Auto-detect operating system
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
IS_MAC=true
|
|
else
|
|
IS_MAC=false
|
|
fi
|
|
|
|
cd ~/windmill-code-ui-builder
|
|
HASH=$(git rev-parse --short HEAD)
|
|
HASH=${HASH::-1}
|
|
|
|
echo "Using UI Builder hash: ${HASH}"
|
|
|
|
if [ "$IS_MAC" = true ]; then
|
|
sed -i '' "s/ui_builder-[^.]*\.tar\.gz/ui_builder-${HASH}.tar.gz/" ../windmill/frontend/scripts/untar_ui_builder.js
|
|
else
|
|
sed -i "s/ui_builder-[^.]*\.tar\.gz/ui_builder-${HASH}.tar.gz/" ../windmill/frontend/scripts/untar_ui_builder.js
|
|
fi
|