From 8ec9d4d1e5596400a73705d4fd9735afa176d571 Mon Sep 17 00:00:00 2001 From: llama Date: Sat, 18 Oct 2025 09:59:39 +0800 Subject: [PATCH] change codegen to not alert by default on error --- rslib/proto/typescript.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/proto/typescript.rs b/rslib/proto/typescript.rs index 66cc7e590..ddecb97fc 100644 --- a/rslib/proto/typescript.rs +++ b/rslib/proto/typescript.rs @@ -84,7 +84,7 @@ fn write_ts_method( let comments = format_comments(comments); let proto_method_name = method_name; let options = if is_launcher { - "{ ...options, customProtocol: true }" + "{ ...options, customProtocol: true, alertOnError: false }" } else { "options" };