So überprüfen Sie, ob der Benutzer PWA installiert hat

if (window.matchMedia('(display-mode: standalone)').matches) {  
    // do things here
}  
thuga.exe