slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
16.94k stars 568 forks source link

MacOS: Terminal opens with application #4004

Closed apertureless closed 10 months ago

apertureless commented 10 months ago

Issue

When you open (double-click) the application on MacOS, it additionally opens a terminal window where it executes the binary.

image

Reproduction

System

Tested on MacOS Ventura (13.6.1)

FloVanGH commented 10 months ago

Hi and thank you for your report.

This is default behavior on macOS binaries. This happens if you open by double click a "simple" binary. You can check this if you open a binary file inside of a .app with double click. Or you can try it building an other project and running the binary by double click.