mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 06:13:52 +02:00
Handle "Controlled Folder Access" Windows crap
This commit is contained in:
@@ -33,6 +33,16 @@ class SQLiteService {
|
||||
}
|
||||
).catch(() => {});
|
||||
}
|
||||
if (e.message.includes('database is locked')) {
|
||||
ElMessageBox.alert(
|
||||
'Please close other applications that might be using the database file.',
|
||||
'Database is locked',
|
||||
{
|
||||
confirmButtonText: 'OK',
|
||||
type: 'warning'
|
||||
}
|
||||
).catch(() => {});
|
||||
}
|
||||
}
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user