From c4581c3fa40b6f217de73967d6be243cc3f8c6bb Mon Sep 17 00:00:00 2001 From: djjdjdbf9 Date: Sun, 25 Oct 2026 02:11:56 +0300 Subject: [PATCH] docs: added an info about compiling a portable binary --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aff1bc6..0b53fc5 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,14 @@ The compiled executable will be located at: release\win-unpacked\FlowGit.exe ``` -### 5. Generate Windows NSIS Installer & Portable Builds +### 5. Compile a portable windows executable +```cmd +npx electron-builder --win portable +``` + +The icon you can change with Resource Hacker + +### 6. Generate Windows NSIS Installer & Portable Builds Builds the complete distribution installer (`FlowGit Setup.exe`) and portable executable: ```cmd npm run dist