https://github.com/tony-go/open-url
This projects illustrates how to open an URL in different platforms (macos, linux, windows)
https://github.com/tony-go/open-url
Last synced: 3 months ago
JSON representation
This projects illustrates how to open an URL in different platforms (macos, linux, windows)
- Host: GitHub
- URL: https://github.com/tony-go/open-url
- Owner: tony-go
- Created: 2023-03-17T17:23:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T17:24:03.000Z (over 2 years ago)
- Last Synced: 2025-02-04T16:18:24.280Z (5 months ago)
- Language: Objective-C
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# OpenURLApp
This projects illustrates how to open an URL in different platforms.
## macOS
### Build
Run the build script:
```shell
./build.sh
```### Use
#### Happy path
```shell
./build/OpenURlApp https://www.google.com2023-03-17 18:18:19.448 OpenURlApp[15194:5703676] Opened URL: https://www.google.com
```#### Failure
```shell
./build/OpenURlApp foo2023-03-17 18:17:39.797 OpenURlApp[15189:5703460] Failed to open URL: foo
```## Windows
> TODO!
## Linux
> TODO!