Files
amethyst/.claude/commands/desktop-run.md
T
nrobi144 82f8bc62a0 feat: Add Compose Multiplatform Desktop support foundation
- Add desktopApp module with JVM entry point and sidebar navigation
- Add Claude specs for AI-assisted development:
  - Agent definitions: nostr-protocol, kotlin-multiplatform, compose-ui, kotlin-coroutines
  - Skills: quartz-kmp conversion, compose-desktop patterns
  - Commands: desktop-run, nip, extract
- Update Gradle configuration with Compose Multiplatform 1.7.1 plugin
- Add coroutines and secp256k1 JVM dependencies to version catalog

Next steps:
- Convert Quartz library to full KMP (expect/actual for crypto)
- Implement relay connections in desktop app
- Share UI components between Android and Desktop

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 08:21:02 +02:00

800 B

description
description
Build and run the desktop app

Build and run the Amethyst Desktop application:

./gradlew :desktopApp:run

Troubleshooting

If the build fails, check:

  1. JDK Version: Requires JDK 17+

    java -version
    
  2. Compose Multiplatform Plugin: Verify version in gradle/libs.versions.toml

  3. Quartz Build: Ensure Quartz compiles first

    ./gradlew :quartz:build
    
  4. Desktop Dependencies: Check desktopApp/build.gradle.kts has:

    implementation(compose.desktop.currentOs)
    

Creating Distributable

# macOS
./gradlew :desktopApp:packageDmg

# Windows
./gradlew :desktopApp:packageMsi

# Linux
./gradlew :desktopApp:packageDeb

Outputs will be in desktopApp/build/compose/binaries/