You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a new getting started guide for C/C++ applications.
This guide walks developers through the process of integrating Velopack into their C/C++ projects for auto-updates and installers.
Copy file name to clipboardExpand all lines: docs/getting-started/content/_csharp-main.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<FancyStepstep={props.step}>
2
2
<details>
3
3
<summary>
4
-
<strong>Configure your Velopack app at the beginning of Main</strong>
4
+
<strong>Configure Velopack at the beginning of Main</strong>
5
5
</summary>
6
6
7
7
Velopack needs to be able to bootstrap your application and handle updates. You can do this by calling `VelopackApp.Build().Run()` at the start of your `Main` method.
Get started with our cross-platform C / C++ library.
4
10
@@ -11,62 +17,98 @@ All the strings (eg. `char*` or `std::string`) are expected to be UTF-8 encoded.
11
17
On Windows, you may need to convert `wchar_t*` and `std::wstring` to UTF-8 before passing it to the library.
12
18
:::
13
19
14
-
1. Download the latest `velopack_libc_{version}.zip` from [GitHub Releases](https://github.com/velopack/velopack/releases) and include it into your project.
15
-
16
-
0. Add the `include` directory to your include path, and add the appropriate binary from `lib` to your linker options.
17
-
18
-
0. Add `VelopackApp` to your entry point (eg. `main()` or `wmain()`) as early as possible, ideally the first statement to run:
Download the latest `velopack_libc_{version}.zip` from [GitHub Releases](https://github.com/velopack/velopack/releases) and include it into your project.
27
+
Extract the contents of the zip file to a directory you can reference in your project.
28
+
</details>
29
+
</FancyStep>
30
+
31
+
<FancyStepstep={2}>
32
+
<details>
33
+
<summary>
34
+
<strong>Include Velopack in your project</strong>
35
+
</summary>
36
+
37
+
Add the `include` directory from the extracted content to your include path, and add the appropriate binary from `lib` to your linker options.
38
+
You will find both a `lib` and `lib-static` directories in the extracted contents.
39
+
</details>
40
+
</FancyStep>
41
+
42
+
43
+
<FancyStepstep={3}>
44
+
<details>
45
+
<summary>
46
+
<strong>Configure Velopack at the beginning of Main</strong>
47
+
</summary>
48
+
49
+
Add `VelopackApp` to your entry point (eg. `main()` or `wmain()`) as early as possible, ideally the first statement to run:
0 commit comments