Skip to content
Development
Command

/desktop-run

Build and run the desktop app

From plugin
amethyst
1.6k3 skills3 commands
Install
$ npx -y skills add vitorpamplona/amethyst --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/desktop-run

Context preview

What this command does when you run it.

Build and run the desktop app

Command definition

desktop-run.md
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 21+ (`jvmToolchain(21)` in `desktopApp/build.gradle.kts`)

   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   # or :desktopApp:packageRpm

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

Ships withamethyst

Nostr client for Android

Get the whole plugin