From 47955a6be12d8314eacec3b1688dfd085171380c Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 28 Jan 2025 13:41:33 +0100 Subject: [PATCH 1/3] Readme --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index afb314b..f3f060c 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,20 @@ user protection. ## Getting Started -1. Clone the repository. -2. Install dependencies. -3. Run the application. +Install dependencies described here: https://docs.fyne.io/started/ -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam at nisi ac -libero gravida vehicula non et metus. +For Fedora: +```bash +sudo dnf install golang golang-misc gcc libXcursor-devel libXrandr-devel mesa-libGL-devel libXi-devel libXinerama-devel libXxf86vm-devel libxkbcommon-devel wayland-devel +``` + +To build: + +```bash +make +``` +or +```bash +cd rex_client && make +cd rex_server && make +``` From 2db05d7fc6b3ed5bb55eed527ee487c8fbc47574 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 28 Jan 2025 13:41:39 +0100 Subject: [PATCH 2/3] Build target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c24fb87..9a485a3 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,10 @@ help: @echo " container - Build an OCI container (requires podman)" @echo " help - Show this help message" +build: $(RELEASE_NAME) + make -C ./rex_client REX_VERSION=$(REX_VERSION) + make -C ./rex_server REX_VERSION=$(REX_VERSION) + release: $(RELEASE_NAME) make -C ./rex_client REX_VERSION=$(REX_VERSION) make -C ./rex_server REX_VERSION=$(REX_VERSION) From 3ecebb6806f3670aa9be545149ca59e13718fda3 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 28 Jan 2025 13:41:49 +0100 Subject: [PATCH 3/3] Use lowercase version string in client --- rex_client/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rex_client/main.go b/rex_client/main.go index 6e639bb..443e3a7 100644 --- a/rex_client/main.go +++ b/rex_client/main.go @@ -3,7 +3,6 @@ package main import ( _ "embed" "fmt" - "strings" "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" @@ -19,7 +18,7 @@ var rex_version = "UNDEFINED" func main() { a := app.New() - w := a.NewWindow(fmt.Sprintf("RexForge %s", strings.ToUpper(rex_version))) + w := a.NewWindow(fmt.Sprintf("RexForge %s", rex_version)) w.Resize(fyne.NewSize(900, 600)) addons := model.AddonIndex