From c27c1638ecc4077a49958cd3ffacbe4e24a2a320 Mon Sep 17 00:00:00 2001 From: Alex Burgel Date: Wed, 24 Aug 2022 09:06:19 -0400 Subject: [PATCH] Add swift to supported darwin document types (#159002) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add swift to supported darwin document types * add compilation output Co-authored-by: João Moreno --- build/lib/electron.js | 1 + build/lib/electron.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/build/lib/electron.js b/build/lib/electron.js index c0d9db20a983d..610d5bb6377f8 100644 --- a/build/lib/electron.js +++ b/build/lib/electron.js @@ -152,6 +152,7 @@ exports.config = { 'F# script': ['fsx', 'fsscript'], 'SVG document': ['svg', 'svgz'], 'TOML document': 'toml', + 'Swift source code': 'swift', }, 'default'), // Default icon with default name darwinBundleDocumentType([ diff --git a/build/lib/electron.ts b/build/lib/electron.ts index 76ad172e395dd..c37a0f6eae308 100644 --- a/build/lib/electron.ts +++ b/build/lib/electron.ts @@ -167,6 +167,7 @@ export const config = { 'F# script': ['fsx', 'fsscript'], 'SVG document': ['svg', 'svgz'], 'TOML document': 'toml', + 'Swift source code': 'swift', }, 'default'), // Default icon with default name darwinBundleDocumentType([