From 92bfeaca4a273d7699eb2bf12df0cfe03a0ef03e Mon Sep 17 00:00:00 2001 From: Michael DiCarlo Date: Mon, 11 Oct 2021 08:42:33 -0400 Subject: [PATCH] Start v2.3.38 + Weasyl fix + Kofi gif allowance --- electron/main.js | 3 +++ electron/package.json | 2 +- package.json | 2 +- src/app/websites/website-services/ko-fi/ko-fi.service.ts | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/electron/main.js b/electron/main.js index 80fe6b046..9dacc65b4 100644 --- a/electron/main.js +++ b/electron/main.js @@ -20,6 +20,9 @@ if (!hasLock) { return; } +// Weasyl fix +app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy'); + app.on('second-instance', () => { if (win) { win.closeAfterPost = false; diff --git a/electron/package.json b/electron/package.json index 1e7c6ce94..4ff8333c5 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "postybirb", - "version": "2.3.37", + "version": "2.3.38", "description": "PostyBirb is an application that helps artists post art and other multimedia to multiple websites more quickly.", "main": "main.js", "scripts": { diff --git a/package.json b/package.json index fd2650982..68e580c20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postybirb", - "version": "2.3.37", + "version": "2.3.38", "scripts": { "ng": "ng", "compile": "ng build --vendor-chunk=false", diff --git a/src/app/websites/website-services/ko-fi/ko-fi.service.ts b/src/app/websites/website-services/ko-fi/ko-fi.service.ts index 4efb0b80d..2c78a434c 100644 --- a/src/app/websites/website-services/ko-fi/ko-fi.service.ts +++ b/src/app/websites/website-services/ko-fi/ko-fi.service.ts @@ -18,7 +18,7 @@ import { fileAsFormDataObject } from 'src/app/utils/helpers/file.helper'; import { HTMLParser } from 'src/app/utils/helpers/html-parser.helper'; import { Folder } from '../../interfaces/folder.interface'; -const ACCEPTED_FILES = ['jpeg', 'jpg', 'png']; +const ACCEPTED_FILES = ['jpeg', 'jpg', 'png', 'gif']; function submissionValidate(submission: Submission, formData: SubmissionFormData): any[] { const problems: any[] = [];