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
@@ -63,28 +63,30 @@ Here is few examples of providers:
63
63
64
64
The updater will list the files and retrieve them the same way for all the providers:
65
65
66
-
The directory should contain files with the name: ExecutableName-$GOOS-$ARCH.
66
+
The directory should have files containing `ExecutableName`.
67
67
68
-
Example with ExecutableName`test`:
68
+
Example directory with `ExecutableName: fmt.Sprintf("test_%s_%s", runtime.GOOS, runtime.GOARCH)`:
69
69
70
-
test-windows-386
71
-
test-darwin-amd64
72
-
test-linux-arm
70
+
test_windows_amd64.exe
71
+
test_darwin_amd64
72
+
test_linux_arm
73
73
74
74
We recommend using [goxc](https://github.com/laher/goxc) for compiling your Go application for multiple platforms.
75
75
76
76
### Planned features
77
77
This project is currently under construction, here is some of the things to come:
78
78
* More documentation and examples
79
-
* Google cloud storage and FTP providers
79
+
* Google cloud storage, tar.gz, and FTP providers
80
80
* Mutliple providers (enables the use of another provider if the first one is down)
81
81
* Update channels for Github provider (alpha, beta, ...)
82
+
* Validation of the executable being installed
82
83
83
84
84
85
85
86
## API Breaking Changes
86
-
-**Feb 7, 2021**: The `BinaryName` variable used in `Updater` have been renamed to `ExecutableName`.
87
-
-**Feb 12, 2021**: The method `Updater.Update()` now returns `(UpdateStatus, error)` instead of just `(error)`.
87
+
-**Feb 7, 2021**: Minor: The `BinaryName` variable used in `Updater` have been renamed to `ExecutableName`.
88
+
-**Feb 12, 2021**: Minor: The method `Updater.Update()` now returns `(UpdateStatus, error)` instead of just `(error)`.
89
+
-**Feb 14, 2021**: Major: The `ExecutableName` variable used in `Updater` is not automatically prefixed with `"_" + runtime.GOOS + "_" + runtime.GOARCH` anymore.
0 commit comments