How To Create an Auto-Updater for Desktop Application (Jetpack Compose) | by Oyster Lee | Feb, 2022

It’s not as hard as you thought

Oyster Lee
Compose for Desktop

Dependencies

Create a repository

Sample Project Structure

The YAML file

jobs:
release:
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]

Step explanation:

Starting a new project

mkdir updater-server
cd updater-server
go mod init github.com/USERNAME/updater-server

ENV

go get github.com/caarlos0/env/v6 && go get github.com/joho/godotenv
go get -u github.com/labstack/echo/v4

Leave a Comment