Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remain windows support #3162

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion scripts/windows_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,20 @@ build_component() {
local dir="$1"
local command="$2"
local name="$3"

echo "Building $name"
if [ -d "$dir" ]; then
change_directory "$dir"
execute_command "$command"
# Execute command but ignore errors containing 'upx'
if ! eval "$command" 2>&1 | tee /tmp/build.log; then
if grep -q "upx" /tmp/build.log; then
echo "⚠ Warning: UPX compression skipped (not installed)"
else
echo "✗ Command failed"
exit 1
fi
fi
change_directory - > /dev/null
else
echo "✗ $name directory not found: $dir"
Expand Down
Loading