diff --git a/package.json b/package.json index 1fd635a9..dd67a68f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "discrub-ext", "private": true, - "version": "1.12.2", + "version": "1.12.3", "type": "module", "scripts": { "clean_prod_manifest": "cat <<< $(jq 'del(.use_dynamic_url, .web_accessible_resources[].use_dynamic_url)' dist/manifest.json) > dist/manifest.json", @@ -19,6 +19,7 @@ "@reduxjs/toolkit": "^2.0.1", "@transcend-io/conflux": "^4.1.0", "@types/chrome": "^0.0.256", + "@types/firefox-webext-browser": "^120.0.4", "bytes": "^3.1.2", "copy-to-clipboard": "^3.3.3", "date-fns": "^3.1.0", diff --git a/public/manifest.json b/public/manifest.json index 8706f615..674bff8d 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "short_name": "Discrub", "name": "Discrub", - "version": "1.12.2", + "version": "1.12.3", "description": "A data manipulation and export tool for Discord.", "manifest_version": 3, "permissions": ["storage"], diff --git a/src/changelog.json b/src/changelog.json index b47ef223..a03a28b9 100644 --- a/src/changelog.json +++ b/src/changelog.json @@ -1,4 +1,8 @@ [ + { + "version": "1.12.3", + "changes": ["Auxillary changes for Firefox."] + }, { "version": "1.12.2", "changes": [ diff --git a/src/components/attachment-mock.tsx b/src/components/attachment-mock.tsx index 343abdf5..9972387d 100644 --- a/src/components/attachment-mock.tsx +++ b/src/components/attachment-mock.tsx @@ -137,11 +137,7 @@ const AttachmentMock = ({ attachment }: AttachmentMockProps) => { controls playsInline autoPlay={false} - poster={ - mediaMap[attachment.proxy_url] - ? undefined - : "resources/media/discrub.png" - } + poster="../discrub_media/discrub.png" // Required to prevent 'react-to-print' from hanging indefinitely in some cases. /> )} {isPreviewingAudio && isAudio && ( diff --git a/src/components/embed-mock.tsx b/src/components/embed-mock.tsx index d4e81cec..95162569 100644 --- a/src/components/embed-mock.tsx +++ b/src/components/embed-mock.tsx @@ -50,7 +50,7 @@ const EmbedMock = ({ embed, index }: EmbedMockProps) => { controls playsInline autoPlay={false} - poster={embed.thumbnail?.proxy_url || "resources/media/discrub.png"} + poster="../discrub_media/discrub.png" // Required to prevent 'react-to-print' from hanging indefinitely in some cases. /> )} {isPreviewingVideos && diff --git a/src/containers/discrub-dialog/discrub-dialog.tsx b/src/containers/discrub-dialog/discrub-dialog.tsx index 840cdd63..0e9982e2 100644 --- a/src/containers/discrub-dialog/discrub-dialog.tsx +++ b/src/containers/discrub-dialog/discrub-dialog.tsx @@ -89,7 +89,7 @@ function DiscrubDialog() { spacing={1} > - 1.12.2 + 1.12.3