From 21c4775b1f5b69effb2d3bb00b9d04b2916c8aba Mon Sep 17 00:00:00 2001 From: Datehoer <62844803+datehoer@users.noreply.github.com> Date: Wed, 24 Jul 2024 12:49:07 +0800 Subject: [PATCH] feat: allow gif when pick file locally (#2) --- src/commands/upload-local-disk-image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/upload-local-disk-image.ts b/src/commands/upload-local-disk-image.ts index 0ae961d..caaeb5b 100644 --- a/src/commands/upload-local-disk-image.ts +++ b/src/commands/upload-local-disk-image.ts @@ -8,7 +8,7 @@ export const uploadLocalDiskImage = async () => { const fileUri = ((await window.showOpenDialog({ title: 'Select image', filters: { - image: ['png', 'jpg', 'bpm', 'jpeg', 'webp', 'svg'], + image: ['png', 'jpg', 'bpm', 'jpeg', 'webp', 'svg', 'gif'], }, canSelectMany: false, })) ?? [])[0];