new logo + windows installer

This commit is contained in:
NotRin7
2025-12-15 00:45:48 +01:00
parent 79040450d2
commit c1ac562a4a
25 changed files with 340 additions and 66 deletions

1
.gitignore vendored
View File

@@ -142,3 +142,4 @@ db4/
osx_volname osx_volname
dist/ dist/
*.background.tiff *.background.tiff
GEMINI.md

BIN
assets/logos/palladium.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
assets/logos/palladium.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

150
assets/logos/palladium.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
assets/logos/plmc500.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

View File

@@ -79,7 +79,7 @@ cd docker-build # Navigate to the docker-build directory
### Output ### Output
Binaries will be available in `../build/armv7l/`: Binaries will be available in `../build/linux-armv7l/`:
- `palladiumd` - Main daemon - `palladiumd` - Main daemon
- `palladium-cli` - Command-line client - `palladium-cli` - Command-line client
- `palladium-tx` - Transaction utility - `palladium-tx` - Transaction utility

View File

@@ -4,7 +4,7 @@ set -euo pipefail
IMAGE_NAME="palladium-builder:linux-aarch64-ubuntu20.04" IMAGE_NAME="palladium-builder:linux-aarch64-ubuntu20.04"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
OUT_DIR="${REPO_DIR}/build/aarch64" OUT_DIR="${REPO_DIR}/build/linux-aarch64"
HOST_TRIPLE="aarch64-linux-gnu" HOST_TRIPLE="aarch64-linux-gnu"
HOST_UID="$(id -u)" HOST_UID="$(id -u)"

View File

@@ -4,7 +4,7 @@ set -euo pipefail
IMAGE_NAME="palladium-builder:linux-armv7l-ubuntu20.04" IMAGE_NAME="palladium-builder:linux-armv7l-ubuntu20.04"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
OUT_DIR="${REPO_DIR}/build/armv7l" OUT_DIR="${REPO_DIR}/build/linux-armv7l"
HOST_TRIPLE="arm-linux-gnueabihf" HOST_TRIPLE="arm-linux-gnueabihf"
HOST_UID="$(id -u)" HOST_UID="$(id -u)"

View File

@@ -8,16 +8,17 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
run_build() { run_build() {
local script_name="$1" local script_name="$1"
local description="$2" local description="$2"
shift 2
echo "============================================================" echo "============================================================"
echo "Starting build for: $description" echo "Starting build for: $description"
echo "Script: $script_name" echo "Script: $script_name $*"
echo "============================================================" echo "============================================================"
if [[ -f "${SCRIPT_DIR}/${script_name}" ]]; then if [[ -f "${SCRIPT_DIR}/${script_name}" ]]; then
# Ensure it's executable # Ensure it's executable
chmod +x "${SCRIPT_DIR}/${script_name}" chmod +x "${SCRIPT_DIR}/${script_name}"
"${SCRIPT_DIR}/${script_name}" "${SCRIPT_DIR}/${script_name}" "$@"
else else
echo "Error: Script ${script_name} not found!" echo "Error: Script ${script_name} not found!"
fi fi
@@ -35,24 +36,31 @@ show_menu() {
echo "2) Linux aarch64 (ARM64)" echo "2) Linux aarch64 (ARM64)"
echo "3) Linux armv7l (ARM 32-bit)" echo "3) Linux armv7l (ARM 32-bit)"
echo "4) Windows x86_64" echo "4) Windows x86_64"
echo "5) Build ALL" echo "4a) Windows x86_64 (Installer)"
echo "5) Build ALL (Binaries and Installers)"
echo "6) Build ALL Installers"
echo "0) Exit" echo "0) Exit"
echo "" echo ""
} }
show_menu show_menu
read -p "Enter your choice(s) separated by space (e.g. '1 4' for Linux and Windows): " choices read -p "Enter your choice(s) separated by space (e.g. '1 4a' for Linux and Windows Installer): " choices
# Convert string to array # Convert string to array
read -ra ADDR <<< "$choices" read -ra ADDR <<< "$choices"
# Check if '5' (ALL) is selected # Check if '5' (ALL) or '6' is selected
do_all=false do_all=false
do_all_installers=false
for choice in "${ADDR[@]}"; do for choice in "${ADDR[@]}"; do
if [[ "$choice" == "5" ]]; then if [[ "$choice" == "5" ]]; then
do_all=true do_all=true
break break
fi fi
if [[ "$choice" == "6" ]]; then
do_all_installers=true
break
fi
done done
if [ "$do_all" = true ]; then if [ "$do_all" = true ]; then
@@ -60,6 +68,9 @@ if [ "$do_all" = true ]; then
run_build "build-linux-aarch64.sh" "Linux aarch64" run_build "build-linux-aarch64.sh" "Linux aarch64"
run_build "build-linux-armv7l.sh" "Linux armv7l" run_build "build-linux-armv7l.sh" "Linux armv7l"
run_build "build-windows.sh" "Windows x86_64" run_build "build-windows.sh" "Windows x86_64"
run_build "build-windows.sh" "Windows x86_64 (Installer)" --installer
elif [ "$do_all_installers" = true ]; then
run_build "build-windows.sh" "Windows x86_64 (Installer)" --installer
else else
for choice in "${ADDR[@]}"; do for choice in "${ADDR[@]}"; do
case "$choice" in case "$choice" in
@@ -75,6 +86,9 @@ else
4) 4)
run_build "build-windows.sh" "Windows x86_64" run_build "build-windows.sh" "Windows x86_64"
;; ;;
"4a")
run_build "build-windows.sh" "Windows x86_64 (Installer)" --installer
;;
0) 0)
echo "Exiting." echo "Exiting."
exit 0 exit 0

View File

@@ -1,6 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
# Default to not building the installer
BUILD_INSTALLER=false
# Check for --installer flag
if [[ "$1" == "--installer" ]]; then
BUILD_INSTALLER=true
echo "[*] Installer build requested."
fi
IMAGE_NAME="palladium-builder:windows-ubuntu20.04" IMAGE_NAME="palladium-builder:windows-ubuntu20.04"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" REPO_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
@@ -23,6 +32,7 @@ echo "[*] Starting container: build COMPLETELY in container; mount ONLY the outp
docker run --rm --platform=linux/amd64 \ docker run --rm --platform=linux/amd64 \
-e HOST_UID="${HOST_UID}" -e HOST_GID="${HOST_GID}" \ -e HOST_UID="${HOST_UID}" -e HOST_GID="${HOST_GID}" \
-v "${OUT_DIR}":/out \ -v "${OUT_DIR}":/out \
-e BUILD_INSTALLER="${BUILD_INSTALLER}" \
"$IMAGE_NAME" \ "$IMAGE_NAME" \
bash -c " bash -c "
set -euo pipefail set -euo pipefail
@@ -54,6 +64,13 @@ docker run --rm --platform=linux/amd64 \
[[ -f \"\$b\" ]] && install -m 0755 \"\$b\" /out/ [[ -f \"\$b\" ]] && install -m 0755 \"\$b\" /out/
done done
if [[ "\$BUILD_INSTALLER" == "true" ]]; then
echo '[*] make deploy (creating installer)...'
make deploy
echo '[*] copying installer to /out...'
find . -iname 'palladium-*-win64-setup.exe' -print -exec install -m 0644 {} /out/ \;
fi
# Align permissions to host user # Align permissions to host user
chown -R \${HOST_UID:-0}:\${HOST_GID:-0} /out chown -R \${HOST_UID:-0}:\${HOST_GID:-0} /out

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 98 KiB