WebAssembly apps don't have to be hosted on the web, or run in a browser. They will, almost exclusively, because the "browser as OS" model is what modern web developers have fixated on, because of javascript. But, there's no reason users couldn't install and run WASM natively as well.