digitalmars.D.announce - Redub v1.28.1: Improving build distributions
These days, Adam implemented directly in OpenD support on Windows
for executable icons. And it looked really awesome, I asked for
the implementation so I got that also inside redub. You can
easily add that by specifying inside your recipe file:
```json
"icon": [
"logo256x256.png",
"logo16x16.png",
"logo32x32.png"
]
```
And that's it. All that you require to get sweet icons on your
executable like that:

I thought it was really cool and I've gone farther and added it
to macOS too. Which also needed more implementation than on
Windows since you get the entire .app structure. But now we get
to feel like an official build tool!

Since macOS needs an entire folder structure, I added it under a
flag called `redub build --bundle`. I could do it automatically,
that could happen in the future since that's the only way to get
icons and it may sound redundant, but nevertheless, it might be
better to be optional as you won't do any extra processing.
Regardless of the new features, redub has been much more into
stability maintenance, special thanks to WebFreak that pointed
out multiple things that were missing comparing to dub, specially
regarding the script commands.
Some new features also include that you can also specify the
compiler version to run by using `redub --dc=ldc2 1.42.0` and
things like that, which was kinda a request misunderstanding I
had, but it did improve the situation as you don't need to keep
changing the compiler globally with `redub use`.
May 29
On Friday, 29 May 2026 at 17:49:02 UTC, Hipreme wrote:
These days, Adam implemented directly in OpenD support on
Windows for executable icons. And it looked really awesome, I
asked for the implementation so I got that also inside redub.
You can easily add that by specifying inside your recipe file:
```json
"icon": [
"logo256x256.png",
"logo16x16.png",
"logo32x32.png"
]
```
And that's it. All that you require to get sweet icons on your
executable like that:

Cool stuff!
May 29
On Friday, 29 May 2026 at 18:19:36 UTC, Kapendev wrote:On Friday, 29 May 2026 at 17:49:02 UTC, Hipreme wrote:Just a quick headsup that I ended up also adding AppImage support to redub. Simply execute `redub build --bundle=linux` (When using linux). Added also a new configuration on recipe for that: ```json "bundleConfiguration": { "categories" [ "Game" ], "terminal": false } ```These days, Adam implemented directly in OpenD support on Windows for executable icons. And it looked really awesome, I asked for the implementation so I got that also inside redub. You can easily add that by specifying inside your recipe file: ```json "icon": [ "logo256x256.png", "logo16x16.png", "logo32x32.png" ] ``` And that's it. All that you require to get sweet icons on your executable like that: Cool stuff!
May 29
On Friday, 29 May 2026 at 22:38:55 UTC, Hipreme wrote:On Friday, 29 May 2026 at 18:19:36 UTC, Kapendev wrote:After checking multiple linker errors regarding a not included file, I've decided into further improving redub, this time, it includes an experimental linker error diagnostics for Windows MSVC. The message: ```d hipreme_engine.obj : error LNK2001: unresolved external symbol _D3hip3api12__ModuleInfoZ C:\Users\Hipreme\AppData\Local\.dub\.redub\1AB9D53797DC3516\1AB9D53797DC351 \hipreme_engine.exe : fatal error LNK1120: 1 externo não resolvidos Error: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64\link.exe failed with status: 1120 ``` Gets the additional message: ```d Redub Help Message: Module hip.api is imported by: hip.view.load_scene (C:\Users\Hipreme\Documents\D\HipremeEngine\source\hip\view\load_scene.d) ``` Hope this helps everyone as much as this is helping me finding hidden imports! The good thing is that it works even if your program is not including fully qualified names.On Friday, 29 May 2026 at 17:49:02 UTC, Hipreme wrote:Just a quick headsup that I ended up also adding AppImage support to redub. Simply execute `redub build --bundle=linux` (When using linux). Added also a new configuration on recipe for that: ```json "bundleConfiguration": { "categories" [ "Game" ], "terminal": false } ```These days, Adam implemented directly in OpenD support on Windows for executable icons. And it looked really awesome, I asked for the implementation so I got that also inside redub. You can easily add that by specifying inside your recipe file: ```json "icon": [ "logo256x256.png", "logo16x16.png", "logo32x32.png" ] ``` And that's it. All that you require to get sweet icons on your executable like that: Cool stuff!
Jul 03








Hipreme <msnmancini hotmail.com>