Add local to url

This commit is contained in:
Xiayucheng1212
2024-04-24 16:40:42 +08:00
parent c9e8207e4b
commit 916e1bb95c

View File

@@ -1756,6 +1756,9 @@ window.launch_app = async (options)=>{
}
}
// Add locale to URL
iframe_url.searchParams.append('puter.locale', window.locale);
// Add options.args to URL
iframe_url.searchParams.append('puter.args', JSON.stringify(options.args ?? {}));