Delete package on uninstall

This commit is contained in:
Jiiks 2018-12-06 13:46:08 +02:00
parent eb8eb3fa84
commit b77cfe70e4
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}