Browse Source

Native Distribution tutorial corrections (#72)

pull/88/head
Malachi de AElfweald 4 years ago committed by GitHub
parent
commit
362f6ec8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      tutorials/Native_distributions_and_local_execution/README.md

22
tutorials/Native_distributions_and_local_execution/README.md

@ -122,7 +122,7 @@ compose.desktop {
packageName = "ExampleApp"
version = "0.1-SNAPSHOT"
description = "Compose Example App"
copyright = project.file("LICENSE.txt").readText()
copyright = "© 2020 My Name. All rights reserved."
vendor = "Example vendor"
}
}
@ -197,15 +197,17 @@ The app icon needs to be provided in OS-specific formats:
```kotlin
compose.desktop {
application {
macOS {
iconFile.set(project.file("icon.icns"))
}
windows {
iconFile.set(project.file("icon.ico"))
}
linux {
iconFile.set(project.file("icon.png"))
nativeDistributions {
macOS {
iconFile.set(project.file("icon.icns"))
}
windows {
iconFile.set(project.file("icon.ico"))
}
linux {
iconFile.set(project.file("icon.png"))
}
}
}
}
```
```

Loading…
Cancel
Save