diff --git a/modules/system/classes/extensions/ExtensionSource.php b/modules/system/classes/extensions/ExtensionSource.php index 0d9ec2f7f..c4b5e8fa9 100644 --- a/modules/system/classes/extensions/ExtensionSource.php +++ b/modules/system/classes/extensions/ExtensionSource.php @@ -117,7 +117,7 @@ public function createFiles(): static public function install(): WinterExtension { if ($this->status === static::STATUS_UNINSTALLED) { - throw new ApplicationException('Extension source is not unpacked'); + $this->createFiles(); } if ($this->status === static::STATUS_INSTALLED) {