From 362f6ec8b23f1333988a59f9b96efd4269ab9207 Mon Sep 17 00:00:00 2001 From: Malachi de AElfweald Date: Mon, 9 Nov 2020 22:25:52 -0800 Subject: [PATCH] Native Distribution tutorial corrections (#72) --- .../README.md | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) 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 +```