Skip to content

Commit

Permalink
internal/ui: make a separate package to hide a console
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Jan 28, 2024
1 parent 373e61d commit 6736bb5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 73 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/hajimehoshi/ebiten/v2
go 1.18

require (
github.com/ebitengine/hideconsole v0.1.0
github.com/ebitengine/oto/v3 v3.2.0-alpha.3
github.com/ebitengine/purego v0.6.0-alpha.4.0.20240127153756-e7ad88ddfffe
github.com/go-text/typesetting v0.1.1-0.20231231232151-8d81c02dc157
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/ebitengine/hideconsole v0.1.0 h1:pNW5M6xbD+icVaTg+vUl9ZsPTV3BopSTjEWEQitM1WI=
github.com/ebitengine/hideconsole v0.1.0/go.mod h1:hTTBTvVYWKBuxPr7peweneWdkUwEuHuB3C1R/ielR1A=
github.com/ebitengine/oto/v3 v3.2.0-alpha.3 h1:gDsHiEBKofH9scQ7rf+3jE1XOutgB0KvTkvP74LaRH4=
github.com/ebitengine/oto/v3 v3.2.0-alpha.3/go.mod h1:JtMbxJHZBDXfS8BmVYwzWk9Z6r7jsjwsHzOuZrEkfs4=
github.com/ebitengine/purego v0.6.0-alpha.4.0.20240127153756-e7ad88ddfffe h1:bac7sG+vDG+mBmjElwI0p1a2L09rxkY8xcmv5QEFyGA=
Expand Down
73 changes: 0 additions & 73 deletions internal/ui/hideconsole_windows.go

This file was deleted.

2 changes: 2 additions & 0 deletions internal/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import (
"sync"
"sync/atomic"

_ "github.com/ebitengine/hideconsole"

"github.com/hajimehoshi/ebiten/v2/internal/atlas"
"github.com/hajimehoshi/ebiten/v2/internal/mipmap"
"github.com/hajimehoshi/ebiten/v2/internal/thread"
Expand Down

0 comments on commit 6736bb5

Please sign in to comment.