Last active
August 26, 2025 06:52
-
-
Save boraseoksoon/fee583166645c8efb0ef6ec54873f0d8 to your computer and use it in GitHub Desktop.
google
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Module that does visible UI operations | |
| export default async function main() { | |
| console.log("🎯 Executing UI test module..."); | |
| // Open Google in browser using Deno | |
| const command = new Deno.Command("open", { | |
| args: ["https://www.google.com"] | |
| }); | |
| await command.output(); | |
| // Also create a notification (macOS) | |
| const notify = new Deno.Command("osascript", { | |
| args: [ | |
| "-e", | |
| 'display notification "Module test2 executed!" with title "HLVM Module"' | |
| ] | |
| }); | |
| await notify.output(); | |
| return "✅ Opened Google and showed notification!"; | |
| } | |
| // Execute immediately when imported | |
| await main(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment