parent
595360c88c
commit
f335640ec5
@ -434,8 +434,23 @@ export const ModForm = () => {
|
|||||||
</div>
|
</div>
|
||||||
<p className='labelDescriptionMain'>
|
<p className='labelDescriptionMain'>
|
||||||
You can upload your game mod to Github, as an example, and keep
|
You can upload your game mod to Github, as an example, and keep
|
||||||
updating it there (another option is catbox.moe). Also, it's advisable
|
updating it there (another option is{' '}
|
||||||
that you hash your package as well with your nostr public key.
|
<a
|
||||||
|
href='https://catbox.moe/'
|
||||||
|
target='_blank'
|
||||||
|
rel='noopener noreferrer'
|
||||||
|
>
|
||||||
|
catbox.moe
|
||||||
|
</a>
|
||||||
|
). Also, it's advisable that you hash your package as well with your
|
||||||
|
nostr public key. Malware scan service suggestion:{' '}
|
||||||
|
<a
|
||||||
|
href='https://virustotal.com'
|
||||||
|
target='_blank'
|
||||||
|
rel='noopener noreferrer'
|
||||||
|
>
|
||||||
|
https://virustotal.com
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{formState.downloadUrls.map((download, index) => (
|
{formState.downloadUrls.map((download, index) => (
|
||||||
|
@ -615,6 +615,7 @@ const Download = ({
|
|||||||
}: DownloadUrl) => {
|
}: DownloadUrl) => {
|
||||||
const [showAuthDetails, setShowAuthDetails] = useState(false)
|
const [showAuthDetails, setShowAuthDetails] = useState(false)
|
||||||
const [showNotice, setShowNotice] = useState(false)
|
const [showNotice, setShowNotice] = useState(false)
|
||||||
|
const showScanNotice = !malwareScanLink
|
||||||
|
|
||||||
useDidMount(async () => {
|
useDidMount(async () => {
|
||||||
const isFile = await checkUrlForFile(url)
|
const isFile = await checkUrlForFile(url)
|
||||||
@ -649,6 +650,15 @@ const Download = ({
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
{showScanNotice && (
|
||||||
|
<div className='IBMSMSMBSSWarning'>
|
||||||
|
<p>
|
||||||
|
The mod poster hasn't provided a malware scan report for these
|
||||||
|
files. Be careful.
|
||||||
|
<br />
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{/*temporarily commented out the WoT rating for download links within a mod post
|
{/*temporarily commented out the WoT rating for download links within a mod post
|
||||||
<div className='IBMSMSMBSSDownloadsElementInside'>
|
<div className='IBMSMSMBSSDownloadsElementInside'>
|
||||||
<p>Ratings (WIP):</p>
|
<p>Ratings (WIP):</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user