Skip to content

Commit

Permalink
v1.4.0-beta.32
Browse files Browse the repository at this point in the history
- Fix to *v1.4.0-beta.31* (not updating version info when upgrading automation programs)
v1.4.0-beta.31
- Added "context code" to c# programs where to declare constants, enums, classes and fields visible to both setup and main code.
- Added new ApiHelper class to perform custom API-related tasks
- Deprecated: "When.WebServiceCallReceived", "Program.ApiCall", "Program.ParseApiCall"
- Added "Program.Implements" method to declare implemented API interfaces (e.g. Chart Provider to create custom charts)
-Added example chart providers: Weekly energy statistics and a mocked Pie Chart statistics
- Added option to undo changes made to a system program and to upgrade programs when a new version is available
  • Loading branch information
genemars committed Mar 26, 2023
1 parent 46b5702 commit 424b7c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HomeGenie/Service/PackageManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ public bool InstallPackage(string repository, string package, List<string> insta
p.ScriptSource = install.ScriptSource;
p.ScriptContext = install.ScriptContext;
p.Data = install.Data;
p.PackageInfo.Version = item.Version;
p.PackageInfo.Checksum = item.Checksum;
homegenie.ProgramManager.ProgramCompile(p);
});
Expand Down

0 comments on commit 424b7c9

Please sign in to comment.