Alex Dev wrote:> I am using ocra to convert my wxruby script to exe file. But the exe
> file needs a long periods of time to startup, is there any way to
> speed up or make a logo avoid a long time waitting?
I haven''t tried ocra myself, but my guess is that it archives the ruby
files plus all the libraries, then unpacks them when the executable
runs. Since the wxruby library is pretty large, this takes some time - I
had the same problem with rubyscript2exe.
Try building the executable with the --no-lzma option. The resulting
file will be bigger but it may well start faster. LZMA is a very
efficient compression algorithm but quite slow.
Let us know how it goes
alex