this only happens on the newer branches of socket ( next / ws branches )
What did you expect to see and what you saw instead?
import application from "socket:application";
async function main() {
const currentWindow = await application.getCurrentWindow();
await currentWindow.openExternal("https://www.google.com");
}
main();
this snippet will open the systems default browser to https://www.google.com, currently when running it the app will still open it but will crash as soon as it does.
What OS are you using (
uname -a
, or Windows version)?Darwin Daniels-MacBook-Air.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64
What version Socket Runtime are you using?
0.6.0-next (0d5e8991) Installation path: /Users/daniel/homelab/GitHub/languages/javascript/socket/build/npm/darwin/packages/@socketsupply/socket-darwin-arm64/
this only happens on the newer branches of socket ( next / ws branches )
What did you expect to see and what you saw instead?
this snippet will open the systems default browser to https://www.google.com, currently when running it the app will still open it but will crash as soon as it does.
Under normal circumstances it should not