Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"position": 1,
"link": {
"type": "generated-index",
"description": "GeneralUpdate开源项目在线文档."
"description": "GeneralUpdate open source project online documentation."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 1

#### (1) Windows Platform

![](imgs\UAC.png)
![](imgs/UAC.png)

When using GeneralUpdate for automatic updates, you may encounter permission issues if the update directory is on the C drive, especially when replacing files or applying patches. With the introduction of Windows 11, permission management for certain directories on the C drive has become more stringent compared to previous Windows operating systems.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"position": 1,
"link": {
"type": "generated-index",
"description": "指南."
"description": "Guide."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Download the Sample repository from GitHub. Before using the sample, make sure y

The repository directory contents are as follows:

![](imgs\content.png)
![](imgs/content.png)

| Name | Description |
| ------------- | ------------------------------------- |
Expand All @@ -38,7 +38,7 @@ Locate the file directory and double-click (the start.cmd script resets the loca
...\GeneralUpdate-Samples\src\start.cmd
```

![](imgs\build.png)
![](imgs/build.png)



Expand All @@ -48,13 +48,13 @@ The automatic process will begin compiling and copying all related project bin d
...\GeneralUpdate-Samples\src\run\app
```

![](imgs\build.png)
![](imgs/build.png)



Upon entering the app directory, you will see the setup prior to the upgrade.

![](imgs\rundir.png)
![](imgs/rundir.png)



Expand All @@ -66,14 +66,14 @@ After checking the app directory:
- The server sample program will start
- The main client sample program will start, initiating the update request (once the main client program update is complete, it will close automatically).

![](imgs\upgrade.png)
![](imgs/upgrade.png)



Once the main client program closes automatically, check the run\app directory again. You will notice a new backup directory named "app-1.0.0.0" and a file named "Congratulations on the update.txt".

![](imgs\rundir2.png)
![](imgs/rundir2.png)

Seeing this indicates that you have successfully completed an upgrade. Congratulations!

![](imgs\result.png)
![](imgs/result.png)
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ tags: [sampleui]

## Sample UI

![](imgs\sampleclient.png)
![](imgs/sampleclient.png)

![](imgs\sampleupgrade.png)
![](imgs/sampleupgrade.png)



| 仓库地址 |
| Repository URL |
| ------------------------------------------------------------ |
| https://github.com/GeneralLibrary/GeneralUpdate-Samples/blob/main/src/Client/ClientSample.sln |
| https://github.com/GeneralLibrary/GeneralUpdate-Samples/blob/main/src/Upgrade/UpgradeSample.sln |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"label": "Quik start",
"label": "Quick start",
"position": 1,
"link": {
"type": "generated-index",
"description": "Quik start."
"description": "Quick start."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ namespace MyProcessSample
{
class MyProcess
{
//此段代码来自于msdn
// This code is from MSDN
// Opens the Internet Explorer application.
void OpenApplication(string myFavoritesPath)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"position": 1,
"link": {
"type": "generated-index",
"description": "发布日志."
"description": "Release log."
}
}