press flag, click to interact or fixing items (except pipe and generator), if the exit is open press it then you will win.
don't write the way you win in the comments. All by me