Build directory

The build directory is used to house all the build files and assets for the application.

Mac

The darwin directory holds files specific to Mac builds. These may be customised and used as part of the build. To return these files to the default state, simply delete them and build with wails build.

The directory contains the following files:

Windows

The windows directory contains the manifest and rc files used when building with wails build. These may be customised for the application. To return these files to the default state, simply delete them and build with wails build.

NSIS graphics

When updating the bitmaps for the NSIS installer, make sure you export a 24-bits image without colour space information. Follow this guide:

These steps worked for me using GIMP 2.8.10:

  • Create an image using RGB mode (Image > Mode > RGB) using the appropriate size for whatever you are creating (164x314 for MUI_WELCOMEFINISHPAGE_BITMAP, 150x57 for MUI_HEADERIMAGE_BITMAP)
  • File > Export as …
  • Name your file with a .bmp extension
  • Click “Export”
  • In the window titled “Export Image as BMP” expand “Compatibility Options” and check the box that says “Do not write color space information”
  • Also, in the window titled “Export Image as BMP” expand “Advanced Options” and check the radio button under “24 bits” next to “R8 G8 B8”
  • Click “Export”

CI scripts

Each platform folder inside this directory contains a ci_generate.* file, which is used by GitHub Actions to build the application. When you want to compile Rolens on your machine, please refer to the installation instructions.