Re: build*.exe with pictures, icons...

2019-11-03 Thread Peter58
Yes, nimassets seems easy and interesting ... But the * .exe is it really standalone? What happens after the build, if I erase all the directory "templatesdir"? The * .exe will still work?

Re: build*.exe with pictures, icons...

2019-11-03 Thread shashlick
Alternative is [https://github.com/genotrance/nimdeps](https://github.com/genotrance/nimdeps).

Re: build*.exe with pictures, icons...

2019-11-03 Thread akavel
IIRC the compiler in GCC is named "windres.exe". Or was it in Visual Studio?

Re: build*.exe with pictures, icons...

2019-11-03 Thread aredirect
I encourage you to give nimassets a try [https://github.com/xmonader/nimassets](https://github.com/xmonader/nimassets)

Re: build*.exe with pictures, icons...

2019-11-03 Thread Araq
For the exe icon you need to use a resource compiler and code like (taken from koch.nim): when defined(gcc) and defined(windows): when defined(x86): {.link: "icons/koch.res".} else: {.link: "icons/koch_icon.o".} when defined(amd64) and

Re: build*.exe with pictures, icons...

2019-11-03 Thread juancarlospaco
`staticRead`

build*.exe with pictures, icons...

2019-11-03 Thread Peter58
Can we compile a script by directly embedding images and / or icons in the the * .exe file... instead of having them separately?