Update README.md
This commit is contained in:
parent
ce9d95bc7a
commit
4b31e33292
10
README.md
10
README.md
@ -1,6 +1,6 @@
|
||||
# WebView
|
||||
|
||||
**WebView** adds support for embedding a webview into GNOME apps built using [Adwaita For Swift](https://github.com/AparokshaUI/adwaita-swift).
|
||||
**WebView** adds support for embedding a webview into GNOME apps built using [Adwaita For Swift](https://git.aparoksha.dev/aparoksha/adwaita-swift).
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@ -28,7 +28,7 @@ Install `webkitgtk6.0-devel` or similar (based on the package manager) as well a
|
||||
2. Open the `Package.swift` file.
|
||||
3. Into the `Package` initializer, under `dependencies`, paste:
|
||||
```swift
|
||||
.package(url: "https://github.com/Zaphhh/AdwaitaWebViewSwift", branch: "main")
|
||||
.package(url: "https://git.aparoksha.dev/Zaph/AdwaitaWebViewSwift", branch: "main")
|
||||
```
|
||||
|
||||
## Usage
|
||||
@ -36,7 +36,7 @@ Install `webkitgtk6.0-devel` or similar (based on the package manager) as well a
|
||||
```swift
|
||||
struct ContentView: View {
|
||||
|
||||
@State private var url: String = "https://github.com/Zaphhh/AdwaitaWebViewSwift"
|
||||
@State private var url: String = "https://git.aparoksha.dev/Zaph/AdwaitaWebViewSwift"
|
||||
|
||||
var view: Body {
|
||||
WebView(url: $url)
|
||||
@ -47,12 +47,12 @@ struct ContentView: View {
|
||||
```
|
||||
|
||||
Take a look at the simple [sample app](Tests/main.swift).
|
||||
Check out the [Adwaita](https://github.com/AparokshaUI/Adwaita) packages.
|
||||
Check out the [Adwaita](https://git.aparoksha.dev/aparoksha/adwaita-swift) packages.
|
||||
|
||||
## Thanks
|
||||
|
||||
### Dependencies
|
||||
- [Adwaita](https://github.com/AparokshaUI/Adwaita) licensed under the [GPL-3.0 license](https://github.com/AparokshaUI/Adwaita/blob/main/LICENSE.md)
|
||||
- [Adwaita](https://git.aparoksha.dev/aparoksha/adwaita-swift) licensed under the [GPL-3.0 license](https://git.aparoksha.dev/aparoksha/adwaita-swift/src/branch/main/LICENSE.md)
|
||||
|
||||
### Other Thanks
|
||||
- The programming language [Swift](https://github.com/apple/swift)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user