Add broadness check for drive letters
This commit is contained in:
parent
c75810e47e
commit
878bdc845a
4 changed files with 7 additions and 12 deletions
|
@ -137830,18 +137830,6 @@ Lords Mobile:
|
|||
Lords Mobile: {}
|
||||
steam:
|
||||
id: 1041320
|
||||
Lords of Doom:
|
||||
files:
|
||||
'A:':
|
||||
tags:
|
||||
- save
|
||||
when:
|
||||
- os: dos
|
||||
'B:':
|
||||
tags:
|
||||
- save
|
||||
when:
|
||||
- os: dos
|
||||
'Lords of Doom: The Black God':
|
||||
files:
|
||||
<base>/CMDDAT.LD1:
|
||||
|
|
|
@ -17549,6 +17549,7 @@
|
|||
* [Lord Winklebottom Investigates](https://www.pcgamingwiki.com/wiki/?curid=128747)
|
||||
* [Lordian: Karma](https://www.pcgamingwiki.com/wiki/?curid=94336)
|
||||
* [Lords Mobile](https://www.pcgamingwiki.com/wiki/?curid=136771)
|
||||
* [Lords of Doom](https://www.pcgamingwiki.com/wiki/?curid=75269)
|
||||
* [Lords of Kingdoms](https://www.pcgamingwiki.com/wiki/?curid=91088)
|
||||
* [Lords of Magic](https://www.pcgamingwiki.com/wiki/?curid=36388)
|
||||
* [Lords of New York](https://www.pcgamingwiki.com/wiki/?curid=52956)
|
||||
|
|
|
@ -64245,6 +64245,7 @@ Lords Mobile:
|
|||
Lords of Doom:
|
||||
pageId: 75269
|
||||
revId: 964922
|
||||
tooBroad: true
|
||||
'Lords of Doom: The Black God':
|
||||
pageId: 75272
|
||||
revId: 964923
|
||||
|
|
|
@ -326,6 +326,11 @@ export function pathIsTooBroad(path: string): boolean {
|
|||
return true;
|
||||
}
|
||||
|
||||
// Drive letters:
|
||||
if (path.match(/^[a-zA-Z]:$/)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue