Delete package on uninstall
This commit is contained in:
parent
eb8eb3fa84
commit
b77cfe70e4
|
@ -354,8 +354,8 @@ export default class {
|
|||
if (!force)
|
||||
await unload;
|
||||
|
||||
if (content.packed) {
|
||||
|
||||
if (content.packed && content.paths.packagePath) {
|
||||
await FileUtils.deleteFile(content.paths.packagePath);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue