1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
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 {