ricaun.Revit.Github
The ricaun.Revit.Github
allows downloading bundle files in Autodesk format from Github and unpacking the zip
in the installed bundle folder.
The bundle file is generated and released using the ricaun.Nuke.PackageBuilder build automation with Github Action.
This project was generated by the AppLoader Revit plugin.
GithubRequestService
The GithubRequestService(user, repo)
contains all the logic to download and unpack the bundle files in the release section from the user
and repo
in Github.
var service = new GithubRequestService("ricaun-io", "ricaun.Revit.Github");
Initialize
The Initialize
method starts the process to read the content in the release section in Github and find the last version that is greater than the current version of the plugin.
This method only works if the plugin is installed using the bundle format.
var service = new GithubRequestService("ricaun-io", "ricaun.Revit.Github");
bool downloadedNewVersion = await service.Initialize();
ricaun.Revit.Github.Example
This is a simple RevitAddin project implementation to test the ricaun.Revit.Github
library, the command force to download the last version in this repository.
Release
- Download and install ricaun.Revit.Github.Example.exe
- Latest release
Videos
Live videos in portuguese with the creation of this project.
License
This project is licensed under the MIT Licence.
Do you like this project? Please star this project on GitHub!