From f4914fdfcc7637b01a864a8ce48f88d155aae12d Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Thu, 28 May 2026 21:32:16 +0200 Subject: [PATCH] build: replace Wails3 scaffolding placeholders with NetBird identity The build/config.yml that wails3 init scaffolded shipped with 'My Company', 'My Product', 'com.mycompany.myproduct' and '(c) 2025, My Company' template defaults. The per-platform assets generated from it (Info.plist, Info.dev.plist, info.json, nsis/wails_tools.nsh) carried the same strings, which were visible in macOS Finder Get Info, Windows .exe Properties and the NSIS installer. Updated to the NetBird identity used by the legacy Fyne UI on main: - companyName / copyright -> 'NetBird GmbH' (matches main release.yml's COPYRIGHT env passed to goversioninfo) - productName -> 'NetBird' - productIdentifier -> 'io.netbird.client' (matches CFBundleIdentifier) - description -> 'NetBird desktop client' - darwin NSHumanReadableCopyright -> 'NetBird GmbH' - windows LegalCopyright -> 'NetBird GmbH' - nsis INFO_COPYRIGHT -> 'NetBird GmbH' Version fields (0.0.1) are left in place: release builds get the real version via goversioninfo (Windows) and sign-pipelines (macOS .app), so the placeholder is only visible in local task package / task run output and doesn't reach release artifacts. --- client/ui/build/config.yml | 10 +++++----- client/ui/build/darwin/Info.dev.plist | 2 +- client/ui/build/darwin/Info.plist | 2 +- client/ui/build/windows/info.json | 2 +- client/ui/build/windows/nsis/wails_tools.nsh | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client/ui/build/config.yml b/client/ui/build/config.yml index 03cbfa9dd..08b95b6bd 100644 --- a/client/ui/build/config.yml +++ b/client/ui/build/config.yml @@ -5,11 +5,11 @@ version: '3' # This information is used to generate the build assets. info: - companyName: "My Company" # The name of the company - productName: "My Product" # The name of the application - productIdentifier: "com.mycompany.myproduct" # The unique product identifier - description: "A program that does X" # The application description - copyright: "(c) 2025, My Company" # Copyright text + companyName: "NetBird GmbH" # The name of the company + productName: "NetBird" # The name of the application + productIdentifier: "io.netbird.client" # The unique product identifier + description: "NetBird desktop client" # The application description + copyright: "NetBird GmbH" # Copyright text comments: "Some Product Comments" # Comments version: "0.0.1" # The application version # cfBundleIconName: "appicon" # The macOS icon name in Assets.car icon bundles (optional) diff --git a/client/ui/build/darwin/Info.dev.plist b/client/ui/build/darwin/Info.dev.plist index 8e7c248ec..78f5a7b1c 100644 --- a/client/ui/build/darwin/Info.dev.plist +++ b/client/ui/build/darwin/Info.dev.plist @@ -28,7 +28,7 @@ LSUIElement 1 NSHumanReadableCopyright - © 2026, My Company + NetBird GmbH NSAppTransportSecurity NSAllowsLocalNetworking diff --git a/client/ui/build/darwin/Info.plist b/client/ui/build/darwin/Info.plist index 1b8a7ea6d..1e12b049b 100644 --- a/client/ui/build/darwin/Info.plist +++ b/client/ui/build/darwin/Info.plist @@ -31,6 +31,6 @@ LSUIElement 1 NSHumanReadableCopyright - © 2026, My Company + NetBird GmbH \ No newline at end of file diff --git a/client/ui/build/windows/info.json b/client/ui/build/windows/info.json index 432caf331..a67c8fd81 100644 --- a/client/ui/build/windows/info.json +++ b/client/ui/build/windows/info.json @@ -7,7 +7,7 @@ "ProductVersion": "0.0.1", "CompanyName": "NetBird", "FileDescription": "NetBird desktop client", - "LegalCopyright": "© 2026, My Company", + "LegalCopyright": "NetBird GmbH", "ProductName": "NetBird", "Comments": "This is a comment" } diff --git a/client/ui/build/windows/nsis/wails_tools.nsh b/client/ui/build/windows/nsis/wails_tools.nsh index fefa4004d..b63101b32 100644 --- a/client/ui/build/windows/nsis/wails_tools.nsh +++ b/client/ui/build/windows/nsis/wails_tools.nsh @@ -17,7 +17,7 @@ !define INFO_PRODUCTVERSION "0.0.1" !endif !ifndef INFO_COPYRIGHT - !define INFO_COPYRIGHT "© 2026, My Company" + !define INFO_COPYRIGHT "NetBird GmbH" !endif !ifndef PRODUCT_EXECUTABLE !define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe"