TauriJS how to disable the top bar menu windows restore minimize maximize move size

in Taurijs, do you know how to disable the top bar menu windows restore minimize maximize move size?
when right clicking on the top bar of the app I dont want the user to be able to close the app by mistake.

thanks a lot for your help in advanced

enter image description here