Resolve the beforeinstallprompt event's promise.