Open reneweteling opened 6 months ago
Thanks for the report. I'm looking into it. Icons used to work, so I'm checking if it works with our unreleased version. Good to see glimmer lib-ui working. It's the fastest starting GUI Framework for Ruby on Windows, due to it not loading as many files as other libs (GTK3 for instance).
I tested with the current ocran version on rubygems 1.3.15 and the master version and couldn't get the same error. Can you upload the file with the error and the icon that you are using? I'll also be releasing a new version on rubygems in a bit.
Nice you can upload zips, thats new (at least to me) thanks @Largo for the support!!
Sorry, I meant the generated .exe file with the opcode error. I want to check if it also shows the same error on a non virtualized windows installation.
Hi Largo,
The zip contains, all source files exact.exe (works) exact_icon.exe does not work, and the build.ps1 contains the commands used to generate the both items.
.
├── bin
│ └── build.ps1
├── exact.exe
├── exact_icon.exe
└── src
├── app.ico
└── window.rb
Thanks!!
when setting an icon the exe gets an icon only i get an opcode error, without the icon it works just fine.
When building a app like so on windows 11
The app has the nice icon, only when starting you get this error
When building without the icon it all works fine, except for the icon obviously.
No icon, all is fine
Environment
MBP m2 max UTM (https://mac.getutm.app/) running Windows 11 for Apple silicon ruby: Ruby+Devkit 3.0.6-1 (x64) (https://rubyinstaller.org/downloads/)
window.rb
just a small file to see how glimmer would work with ocran.