relative folder

pull/26/head
Webber 2020-01-25 16:50:35 +01:00
parent f6cc07750e
commit f96e213337
3 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -25,6 +25,7 @@ class Cache {
}
static async save() {
console.log(`saving to ${Unity.libraryFolder}`);
await tc.cacheDir(Unity.libraryFolder, 'library', this.libraryKey);
}
}

View File

@ -1,6 +1,9 @@
import Input from './input';
class Unity {
static get libraryFolder() {
return 'Library';
const { projectPath } = Input.getFromUser();
return `${projectPath}/'Library'`;
}
}