diff --git a/tutorials/Native_distributions_and_local_execution/README.md b/tutorials/Native_distributions_and_local_execution/README.md index 4865181e8b..12e7d92bc6 100755 --- a/tutorials/Native_distributions_and_local_execution/README.md +++ b/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")) + } } } } -``` \ No newline at end of file +```