Update launche to new API

This commit is contained in:
Lncvrt committed 2026-02-26 23:22:16 -07:00
1 parent e066dd0681
commit 19788a8a3c
6 files changed
+54 -27

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ export default function DownloadsPopup () {
maximumFractionDigits: 1
})}{' '}
of{' '}
{prettyBytes(getVersionInfo(v.version)?.size ?? 0, {
{prettyBytes(v.size, {
minimumFractionDigits: 1,
maximumFractionDigits: 1
})}{' '}
-15
View File
@@ -107,21 +107,6 @@ export default function VersionVersionPopup () {
: 'N/A'}
</p>
</div>
<div
className='entry-info-item btntheme2'
hidden={!viewingInfoFromDownloads}
>
<FontAwesomeIcon icon={faHardDrive} color='lightgray' />
<p>
Size when downloaded (zipped):{' '}
{versionInfo
? prettyBytes(versionInfo.size, {
minimumFractionDigits: 2,
maximumFractionDigits: 2
})
: 'Loading...'}
</p>
</div>
<div
className='entry-info-item btntheme2'
onClick={async () => {