ui: Don't generate main ui during build time

We can set the window icon on runtime
Enable run pybliographic either from source or installation
scripts: Fix shell syntax for condition