Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Prevent log output on Windows #329

Closed
HirotoShioi opened this issue Oct 23, 2019 · 1 comment
Closed

Prevent log output on Windows #329

HirotoShioi opened this issue Oct 23, 2019 · 1 comment
Assignees

Comments

@HirotoShioi
Copy link
Contributor

HirotoShioi commented Oct 23, 2019

When Daedalus is running on Windows, console GUI shows up while it is running. We should disable it by using silently

Expected: When Daedalus is running, console GUI should not appear
Actual: Console is being displayed while Daedalus is running.

dae

Update:
Using silently does not solve the issue. (TODO): Lookup cabal and stack file of the old launcher code!

@HirotoShioi HirotoShioi self-assigned this Oct 23, 2019
@HirotoShioi
Copy link
Contributor Author

HirotoShioi commented Oct 23, 2019

I think I've found the solution
https://stackoverflow.com/questions/51015178/how-to-get-rid-of-the-black-console-window-for-a-compiled-haskell-gui-application

So I need to add this line to cabal file

if os(windows)
    ghc-options: -optl-mwindows

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant