From 340bff1b9c0f6a0fbfec9aca69b1d625dee781dc Mon Sep 17 00:00:00 2001 From: atavism Date: Sun, 26 Nov 2023 14:03:54 -0800 Subject: [PATCH] Add quick notes for running the desktop app --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 82157cd24..411587195 100644 --- a/README.md +++ b/README.md @@ -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`