From 0590224f02fbe8cdd97e5f68db1e279657f26994 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Thu, 9 Jan 2025 09:31:59 +0100 Subject: [PATCH] Add sh file type --- CHDataManagement/Model/FileType.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHDataManagement/Model/FileType.swift b/CHDataManagement/Model/FileType.swift index 31e5318..538e98d 100644 --- a/CHDataManagement/Model/FileType.swift +++ b/CHDataManagement/Model/FileType.swift @@ -61,6 +61,8 @@ enum FileType: String { case swift + case sh + // MARK: Assets case css @@ -157,7 +159,7 @@ enum FileType: String { return .asset case .json, .conf, .yaml, .txt: return .text - case .html, .cpp, .swift: + case .html, .cpp, .swift, .sh: return .code case .stl, .f3d, .step, .glb, .f3z: return .model