diff --git a/PMF/src/Package/Package.cs b/PMF/src/Package/Package.cs index 97e9cf1..90e5421 100644 --- a/PMF/src/Package/Package.cs +++ b/PMF/src/Package/Package.cs @@ -44,15 +44,13 @@ namespace PMF // - a name // - an author // - a description - // - at least one asset public bool IsValid() { return !string.IsNullOrEmpty(ID) && Type != PackageType.None && !string.IsNullOrEmpty(Name) && !string.IsNullOrEmpty(Author) && - !string.IsNullOrEmpty(Description) && - Assets.Count > 0; + !string.IsNullOrEmpty(Description); } } } diff --git a/README.md b/README.md index 43e95a6..3652c56 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ public static PackageState InstallBySdkVersion(string id, out Package package) Uninstalls a package -``` +```csharp public static bool Uninstall(string id) ``` @@ -107,7 +107,7 @@ Version Config.CurrentSdkVersion Temporary folder where zip files will be downloaded to, gets deleted at the end of execution ```csharp - string Config.TemporaryFolder +string Config.TemporaryFolder ``` ## JSON