Fix issues with non custom data location installs
This commit is contained in:
5 files changed
+15
-17
No files matched your search
@@ -398,7 +398,7 @@ export default function RootLayout ({
|
||||
|
||||
if (
|
||||
await exists(
|
||||
(customDataLocation ? customDataLocation + '/' : null) +
|
||||
(customDataLocation ? customDataLocation + '/' : '') +
|
||||
'game/' +
|
||||
version,
|
||||
{
|
||||
@@ -407,7 +407,7 @@ export default function RootLayout ({
|
||||
)
|
||||
)
|
||||
await remove(
|
||||
(customDataLocation ? customDataLocation + '/' : null) +
|
||||
(customDataLocation ? customDataLocation + '/' : '') +
|
||||
'game/' +
|
||||
version,
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user