mirror of
https://github.com/Grasscutters/GrassClipper.git
synced 2024-11-16 04:45:34 +00:00
fix regex in folder opener
This commit is contained in:
parent
df6a68ddde
commit
dbfc52a270
@ -59,7 +59,7 @@ async function proxyIsInstalled() {
|
|||||||
|
|
||||||
async function openGameFolder() {
|
async function openGameFolder() {
|
||||||
const config = await getCfg()
|
const config = await getCfg()
|
||||||
const folder = config.gameexe.match(/.*\\/g, '')[0]
|
const folder = config.gameexe.match(/.*\//g, '')[0]
|
||||||
|
|
||||||
openInExplorer(folder)
|
openInExplorer(folder)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user