Built in modding support wip

This commit is contained in:
Lncvrt committed 2026-03-13 17:10:11 -07:00
1 parent fb65348ba3
commit cbac50753f
5 files changed
+24 -18

No files matched your search

+8 -3
View File
@@ -315,7 +315,6 @@ export default function Installs () {
<div
className='entry-info-item'
title='The date the game was installed.'
onClick={e => e.stopPropagation()}
>
<p>
Installed{' '}
@@ -336,14 +335,12 @@ export default function Installs () {
entry
)
}
onClick={e => e.stopPropagation()}
>
<FontAwesomeIcon icon={faWarning} color='#ffc800' />
<p>Uses wine</p>
</div>
<div
className='entry-info-item'
onClick={e => e.stopPropagation()}
hidden={
!needsRevisionUpdate(
getVersionInfo(entry)?.lastRevision,
@@ -355,6 +352,14 @@ export default function Installs () {
<p>Needs revision update!</p>
</div>
</div>
<button
className='absolute right-0 bottom-0 button'
title='Click to manage mods for this game!'
onClick={e => e.stopPropagation()}
hidden={!getVersionInfo(entry)?.modSupportDownload}
>
Mod Manager
</button>
</div>
</div>
))
+2 -1
View File
@@ -8,6 +8,7 @@ export interface GameVersion {
wine: number | undefined
category: number
lastRevision: number
download: number
download: number | undefined
executable: string
modSupportDownload: number | undefined
}