From 4ec8b20214003e33fcc57ad5ac645932cb8b394d Mon Sep 17 00:00:00 2001 From: Roman Sedaikin Date: Wed, 5 May 2021 15:10:02 +0300 Subject: [PATCH] Fixed [no such file exception] when opening output debug file. --- debug-writer/gradlew | 0 debug-writer/src/main/kotlin/debugwriter/Main.kt | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 debug-writer/gradlew diff --git a/debug-writer/gradlew b/debug-writer/gradlew old mode 100644 new mode 100755 diff --git a/debug-writer/src/main/kotlin/debugwriter/Main.kt b/debug-writer/src/main/kotlin/debugwriter/Main.kt index 29e68cafe2..07e4259ec4 100644 --- a/debug-writer/src/main/kotlin/debugwriter/Main.kt +++ b/debug-writer/src/main/kotlin/debugwriter/Main.kt @@ -56,7 +56,7 @@ fun main() { } Row(modifier = Modifier.fillMaxWidth()) { Button("Refresh", Modifier.weight(1f), { writeDebugInfo() }) - Button("Open file", Modifier.weight(1f), { revealDebugOutput() }) + Button("Open file", Modifier.weight(1f), { revealDebugOutput(fileName) }) Button("Close", Modifier.weight(1f), { window.close() }) } }