mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-11 16:28:37 +01:00
add email service
This commit is contained in:
@@ -27,7 +27,14 @@ class SharedHelper {
|
||||
|
||||
copy(name) {
|
||||
const localSharedFile = path.join(this.localSharedPath, name);
|
||||
fs.cpSync(SharedHelper.getSharedPath(), localSharedFile);
|
||||
const sharedFile = path.join(SharedHelper.getSharedPath(), name);
|
||||
fs.cpSync(sharedFile, localSharedFile);
|
||||
}
|
||||
|
||||
copyFolder(name) {
|
||||
const localFolder = path.join(this.localSharedPath, name);
|
||||
const sharedFolder = path.join(SharedHelper.getSharedPath(), name);
|
||||
fs.cpSync(sharedFolder, localFolder, { force: true, recursive: true });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user