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
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,36 @@ UPDATE_PERIOD=7
64
64
65
65
***Requirements:** Modern Windows (10/11) with `curl` and `tar` available in the PATH.
66
66
67
+
## **Preparation**
68
+
69
+
You will need a hosting location for your application’s release archive (a `.tgz` file for the Bash script, and a `.zip` or `.tgz` file for the Batch script). This archive can contain any files you want but it should have at least the two script files in a `bin` folder.
70
+
This is the minimum contents of the archive:
71
+
72
+
```
73
+
bin/
74
+
APP
75
+
APP.cmd
76
+
```
77
+
78
+
but you can also include additional files and folders as needed. The following is an example of a more complete archive structure:
79
+
80
+
```
81
+
bin/
82
+
APP
83
+
APP.cmd
84
+
other_executable_files
85
+
lib/
86
+
supporting_libraries
87
+
docs/
88
+
documentation_files
89
+
README.md
90
+
```
91
+
92
+
**IMPORTANT:**
93
+
1.**Permissions:** Ensure that the `APP` file inside the `bin` folder has executable permissions set (especially for Linux/macOS).
94
+
2.**Naming:** It is required that scripts in the `bin` are named the same as the variable `NAME` found inside them (see [Usage](#usage) below).
95
+
3.**No conflicts:** Do _not_ include the `bootstrap.cfg` file inside the archive, as it would override user configurations on each update. And no folder or file named `_cache` should exist either.
96
+
67
97
## **Usage**
68
98
69
99
1.**Configure:** Edit the `NAME` and `DOWNLOAD_URL` variables (and possibly `APP_DIR` if you want a different name than the default) at the top of both scripts (`APPw` and `APPw.bat`).
0 commit comments