Skip to content

Commit

Permalink
Start v2.3.38 + Weasyl fix + Kofi gif allowance
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdicarlo committed Oct 11, 2021
1 parent 5643a08 commit 92bfeac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ if (!hasLock) {
return;
}

// Weasyl fix
app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy');

app.on('second-instance', () => {
if (win) {
win.closeAfterPost = false;
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postybirb",
"version": "2.3.37",
"version": "2.3.38",
"scripts": {
"ng": "ng",
"compile": "ng build --vendor-chunk=false",
Expand Down
2 changes: 1 addition & 1 deletion src/app/websites/website-services/ko-fi/ko-fi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [];
Expand Down

0 comments on commit 92bfeac

Please sign in to comment.