2024-01-01 13:03:13 +00:00
2023-12-31 11:01:56 +00:00
2024-01-01 13:03:13 +00:00
2023-12-31 11:46:04 +00:00
2022-05-22 14:27:46 +01:00
2023-12-13 15:41:03 +00:00
2023-12-31 11:01:56 +00:00
2024-01-01 11:05:22 +00:00
2023-12-31 11:01:56 +00:00
2023-12-31 11:01:56 +00:00
2023-12-31 11:01:56 +00:00

Nuget Discord Build Codecov License

Velopack

Compiling

Velopack is made up of some Rust binaries which are re-distributed with installed apps, a .NET NuGet package, and a .NET command line tool. In order to test the project, you need to build the Rust binaries before compiling dotnet.

Prerequisites

Debug / Test

On windows, you need to build the Rust binaries using the windows feature before running tests. On OSX, you should run cargo build instead.

git clone https://github.com/velopack/velopack.git
cd velopack/src/Rust
cargo build --features windows
cd ../../
dotnet build
dotnet test --no-build

Release / Build

This is slightly complicated, because you will need to compile Rust on x64 OSX and x64 Windows before creating the final packages.

On OSX:

git clone https://github.com/velopack/velopack.git
cd velopack/src/Rust
cargo build --release

On Windows:

git clone https://github.com/velopack/velopack.git
cd velopack/src/Rust
cargo build --release --features windows
copy {path_to_osx_update} target/release/updatemac
dotnet build -c Release /p:PackRustAssets=true
Description
Installer and automatic update framework for cross-platform desktop applications
Readme MIT 254 MiB
Languages
C# 73.2%
Rust 22.3%
C++ 1.6%
TypeScript 1.1%
C 1%
Other 0.6%