pthom / hello_imgui

Hello, Dear ImGui: unleash your creativity in app development and prototyping
https://pthom.github.io/hello_imgui
MIT License
604 stars 91 forks source link

creating app bundles by default on macOS #73

Closed wkjarosz closed 7 months ago

wkjarosz commented 7 months ago

fixes #71

Some additional info:

pthom commented 7 months ago

Many thanks for your contribution!

Your PR was merged, but I had to do some modifications, so it was merged in another branch.

Summary of the changes I did:

At the moment, you can customize an application like this:

➜  hello_imgui_demodocking git:(master) ✗ tree ios/
ios/
├── Info.plist
└── icons/
    └── Icon.png

➜  hello_imgui_demodocking git:(master) ✗ tree macos/ 
macos/
├── Info.plist
└── icon.icns

---- Note / possible future evolution ---

In the future, I hope it will be possible to only provide icon.png and icon.icns will be created from it by Cmake.

And the customization would be done like this:

➜  hello_imgui_demodocking git:(master) ✗ tree -F assets_docking 
assets_docking/
├── app_settings/
│   ├── apple/
│   │   ├── Info.ios.plist
│   │   ├── Info.macos.plist
│   │   └── Info.plist
│   └── icon.png       # this icon would be used for any platform (linux, windows, macOs, iOS, emscripten)
├── fonts/                # (it would have to be transformed into different formats)
pthom commented 7 months ago

It is now in the master branch