From a131ae4aefe7726e48f2c98e9eeb0a6e02ec9ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Wed, 4 Feb 2026 17:29:43 +0100 Subject: [PATCH] Try to put in splashscreen and versioninfo to exe. --- .github/workflows/main.yml | 33 +++++++++++++++++++++++++++++++-- build.xml | 34 +++++++++++++++++++++++----------- 2 files changed, 54 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index befa121f9..6711940f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,13 +57,42 @@ jobs: apt-get -y update apt-get -y install nsis makensis -VERSION - + - name: Set up ant run: | apt-get install -y -qq ant + + - name: Set up Wine + run: | + dpkg --add-architecture i386 + apt-get update -y -qq + apt-get install -y -qq wine + wine --version + + - name: Set up Resource Hacker + env: + RH_DIR: tools/wine/resourcehacker + RH_ZIP: tools/wine/resourcehacker.zip + RH_URL: https://www.angusj.com/resourcehacker/resource_hacker.zip + run: | + set -euxo pipefail + + apt-get install -y -qq unzip wget + + mkdir -p "$(dirname "$RH_ZIP")" + mkdir -p "$RH_DIR" + + wget -O -q "$RH_ZIP" "$RH_URL" + unzip -o -qq "$RH_ZIP" -d "$RH_DIR" + + - name: Set up Xvfb + run: | + apt-get install -y -qq xorg xvfb xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic + - name: Build run: | - export CICD_TEMP=${{ github.workspace }} + export WINEPREFIX=$(pwd)/tools/wine + export CICD_TEMP=$(pwd) chmod a+x ./cicd_scripts/*.sh ./cicd_scripts/before_install.sh ./cicd_scripts/script.sh diff --git a/build.xml b/build.xml index c7616a4b5..2ef19784b 100644 --- a/build.xml +++ b/build.xml @@ -622,14 +622,20 @@ - + + + + + + - - + + - + + @@ -659,18 +665,24 @@ - + + + + + + - - + + - + + - - + + - +