From a15f2a5350e6ca9a79a03c6573ddde19c05536f6 Mon Sep 17 00:00:00 2001 From: server Date: Tue, 21 Jan 2025 20:53:56 -0500 Subject: [PATCH] Tue Jan 21 08:53:56 PM EST 2025 --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index ab93fe8..7cb112e 100644 --- a/build.sh +++ b/build.sh @@ -42,12 +42,12 @@ else if [ which uglifyjs >/dev/null ] then uglifyjs src/www/rosado-api.js -o src/www/rosado-api.min.js - cp src/www/rosado-api.min.js bin/ else echo "Cannot compress the JavaScript API." echo "Please install UglifyJS." - cp src/www/rosado-api.js bin/rosado-api.min.js + cp src/www/rosado-api.js src/www/rosado-api.min.js fi + cp src/www/rosado-api.min.js bin/ cat src/www/frontend.html | xxd -i > src/frontend.h cat src/www/rosado-api.min.js | xxd -i > src/javascript.h cat src/www/favicon.ico | xxd -i > src/favicon.h -- 2.39.5