Commit c31b704e authored by 神楽坂玲奈's avatar 神楽坂玲奈

ygopro自动导入的路径

parent d0112dc0
......@@ -162,12 +162,13 @@ export class AppsService {
library = _library.path
}
}
try {
let library = path.join(volume + ':', "MyCardLibrary");
await this.createDirectory(library);
this.settingsService.addLibrary(library, true);
} catch (error) {
if (!library) {
try {
library = path.join(volume + ':', "MyCardLibrary");
await this.createDirectory(library);
this.settingsService.addLibrary(library, true);
} catch (error) {
}
}
}
if (!library) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment