https://github.com/luanroger/netmsixupdaterformscomponent
A component for Windows Forms using NetMsixUpdater to implement updates to Forms apps more fast.
https://github.com/luanroger/netmsixupdaterformscomponent
component csharp dotnet msix updater windows windows-forms
Last synced: about 2 months ago
JSON representation
A component for Windows Forms using NetMsixUpdater to implement updates to Forms apps more fast.
- Host: GitHub
- URL: https://github.com/luanroger/netmsixupdaterformscomponent
- Owner: LuanRoger
- License: mit
- Created: 2021-12-04T13:08:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-01T11:51:46.000Z (about 3 years ago)
- Last Synced: 2025-01-15T10:55:57.970Z (3 months ago)
- Topics: component, csharp, dotnet, msix, updater, windows, windows-forms
- Language: C#
- Homepage: https://www.nuget.org/packages/NetMsixUpdaterFormsComponent
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NetMsixUpdaterFormsComponent
### A component for Windows Forms using NetMsixUpdater to implement updates to Forms apps more fast.
## Dependencies
- net5.0-windows7.0
- Microsoft.Web.WebView2 (>= 1.0.1054.31)
- NetMsixUpdater (>= 0.2.2)## Instalation
### PM
```powershell
Install-Package NetMsixUpdaterFormsComponent
```
### .NET CLI
```powershell
dotnet add package NetMsixUpdaterFormsComponent
```## Example
```csharp
public partial class Form1 : Form
{
private UpdateForm updateForm { get; }public Form1()
{
InitializeComponent();updateForm = new(new(Assembly.GetExecutingAssembly(), Consts.YAML_UPDATE_PATH));
}private void Form1_Load(object sender, EventArgs e)
{
lblAssemblyVersion.Text = string.Format(lblAssemblyVersion.Text,
Assembly.GetExecutingAssembly().GetName().Version);
lblUpdated.Text = string.Format(lblUpdated.Text, updateForm.msixUpdater.hasUpdated.ToString());
}private void btnSearchUpdate_Click(object sender, EventArgs e) => updateForm.Start();
}
```
> Setup and initialize `UpdateForm`## Documentation
Documentation is available on [Wiki](https://github.com/LuanRoger/NetMsixUpdaterFormsComponent/wiki)