From 510fba59459b594a8f64b1d2cc4b8fa4ec4b16d6 Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Mon, 5 Sep 2022 23:57:05 +0800 Subject: [PATCH] KeyHandler // Fix the path for dumpDOT. --- Source/Modules/ControllerModules/KeyHandler_Core.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ControllerModules/KeyHandler_Core.swift b/Source/Modules/ControllerModules/KeyHandler_Core.swift index beb5564f..d52cb05d 100644 --- a/Source/Modules/ControllerModules/KeyHandler_Core.swift +++ b/Source/Modules/ControllerModules/KeyHandler_Core.swift @@ -121,7 +121,7 @@ public class KeyHandler { if mgrPrefs.isDebugModeEnabled { let result = compositor.dumpDOT let appSupportPath = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask)[0].path.appending( - "vChewing-visualization.dot") + "/vChewing-visualization.dot") do { try result.write(toFile: appSupportPath, atomically: true, encoding: .utf8) } catch {