From efb1b1a4bcc452438d6d084144356d245f0a3ca3 Mon Sep 17 00:00:00 2001 From: GithubAnon0000 <160563432+GithubAnon0000@users.noreply.github.com> Date: Sun, 2 Nov 2025 17:55:39 +0100 Subject: [PATCH] CHANGE: include env vars for Win and Mac in the table instead --- docs/development.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/development.md b/docs/development.md index 01fbd4642..8f8405219 100644 --- a/docs/development.md +++ b/docs/development.md @@ -200,16 +200,15 @@ If ANKI_PROFILE_CODE is set, Python profiling data will be written on exit. The steps to build the launcher vary slightly depending on your operating system. First, you have to navigate to the appropriate folder: -| Operating System | Path | -| ---------------- | ------------------ | -| Linux | ./qt/launcher/lin/ | -| MacOS | ./qt/launcher/mac/ | -| Windows | .\qt\launcher\win\ | +| Operating System | Path | Env variables | +| ---------------- | ------------------ | ------------- | +| Linux | ./qt/launcher/lin/ | - | +| MacOS | ./qt/launcher/mac/ | `NODMG=1` | +| Windows | .\qt\launcher\win\ | `NOCOMP=1` | -If you are on Windows, you will now have to set `NOCOMP=1` to skip code signing -and compression. If you are on MacOS, you will have to use `NODMG=1` to skip the -slow bundling / code signing. If you are on linux, you won't have to set any -special environment variables. +If you are on Windows or MacOS, you will now have to set the environment +variables as outlined in the table above. `NOCOMP=1` skips code signing +and compression, whereas `NODMG=1` skips the slow bundling / code signing. Next, run the `build.sh` script (on Linux and MacOS) or the `build.bat` script (on Windows).