Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
snap: fixing bad patch
Browse files Browse the repository at this point in the history
  • Loading branch information
arthyn committed Feb 25, 2022
1 parent f2253ca commit c876ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/@davidwinter+electron-forge-maker-snap+2.0.4.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/@davidwinter/electron-forge-maker-snap/snap-packager.js b/node_modules/@davidwinter/electron-forge-maker-snap/snap-packager.js
index 79752f1..8723290 100644
index 79752f1..66946df 100644
--- a/node_modules/@davidwinter/electron-forge-maker-snap/snap-packager.js
+++ b/node_modules/@davidwinter/electron-forge-maker-snap/snap-packager.js
@@ -24,14 +24,19 @@ module.exports = class SnapPackager {
Expand All @@ -17,7 +17,7 @@ index 79752f1..8723290 100644
};

+ if (this.values.mimeTypes) {
+ data.MimeTypes = this.values.mimeTypes;
+ data.MimeType = this.values.mimeTypes;
+ }
+
return ini.encode(data, {section: 'Desktop Entry'});
Expand Down

0 comments on commit c876ab3

Please sign in to comment.