Skip to content

Disable developer tools #18

Closed Answered by ttytm
trufae asked this question in Q&A
Aug 18, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes, this is possible by don't passing (debug: true) to the create function.
E.g.:

webview.create()

Or maybe maybe adding a comptime conditon fits your needs. E.g.

mut app := App{
	w: webview.create(
		debug: $if prod { false } $else { true }
	)
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@trufae
Comment options

@ttytm
Comment options

Answer selected by ttytm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #17 on August 18, 2023 16:50.