Setting BrowserWindow as dirty in Mac


#1

Is there a way to mark a BrowserWindow as “dirty” in Mac? Something like this:

KXOAB

I tried with setClosable(false) but that’s a different thing.

Thanks!


#2

Is this it? setDocumentEdited


#3

Yes, thank you!

How could I’ve missed it? :thinking: