mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
add puredos to hasheous matches
This commit is contained in:
@@ -303,6 +303,7 @@ class DBRomsHandler(DBBaseHandler):
|
||||
"whdload_match",
|
||||
"ra_match",
|
||||
"fbneo_match",
|
||||
"puredos_match",
|
||||
]
|
||||
|
||||
if ROMM_DB_DRIVER == "postgresql":
|
||||
|
||||
@@ -31,6 +31,7 @@ class HasheousMetadata(TypedDict):
|
||||
whdload_match: bool
|
||||
ra_match: bool
|
||||
fbneo_match: bool
|
||||
puredos_match: bool
|
||||
|
||||
|
||||
class HasheousPlatform(TypedDict):
|
||||
@@ -330,6 +331,7 @@ class HasheousHandler(MetadataHandler):
|
||||
whdload_match="WHDLoad" in signatures,
|
||||
ra_match="RetroAchievements" in signatures,
|
||||
fbneo_match="FBNeo" in signatures,
|
||||
puredos_match="PureDOS" in signatures,
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -11,5 +11,6 @@ export type RomHasheousMetadata = {
|
||||
whdload_match?: boolean;
|
||||
ra_match?: boolean;
|
||||
fbneo_match?: boolean;
|
||||
puredos_match?: boolean;
|
||||
};
|
||||
|
||||
|
||||
@@ -52,6 +52,10 @@ const hashMatches = computed(() => {
|
||||
name: "WHDLoad",
|
||||
match: props.rom.hasheous_metadata?.whdload_match,
|
||||
},
|
||||
{
|
||||
name: "PureDOS",
|
||||
match: props.rom.hasheous_metadata?.puredos_match,
|
||||
},
|
||||
].filter((item) => item.match);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user