cgen: remove the need for [console] for gg or ui programs on windows (#15912)

This commit is contained in:
Larpon 2022-09-29 14:02:50 +02:00 committed by GitHub
parent 79a473f8ec
commit 816e9319d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 28 additions and 37 deletions

View file

@ -93,8 +93,6 @@ fn (mut app App) resize() {
app.ui.height = size.height
}
// is needed for easier diagnostics on windows
[console]
fn main() {
mut font_path := os.resource_abs_path(os.join_path('..', 'assets', 'fonts', 'RobotoMono-Regular.ttf'))
$if android {