Skip to content

Commit

Permalink
Add quick notes for running the desktop app
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Nov 26, 2023
1 parent d2cb162 commit 340bff1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,21 @@ Package the AAR with `make android-lib ANDROID_ARCH=all`
For compiled code lives in `./ios/internalsdk/` and is called `Internalsdk.xcframework`.


#### Desktop

The desktop app lives under `desktop` .. To build the Go shared library:

```
cd desktop
go build -buildmode=c-shared -o liblantern.dylib lib.go
```

Then to run the Flutter app on macOS:

```
flutter run -d macOS -t lib/desktop/main.dart
```

#### Testing against Lantern's staging servers

Package the AAR with `make android-lib ANDROID_ARCH=all STAGING=true`
Expand Down

0 comments on commit 340bff1

Please sign in to comment.