Skip to content

Commit

Permalink
Bugfix: Fixed syntax errors in install.py. Added test_install.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveiano committed May 21, 2022
1 parent 72d751a commit 8310232
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@
# 1.0.1

- Bugfix: Add offline.html.tmpl to install.py

# 1.0.2

- Bugfix: Fixed syntax errors in install.py.
10 changes: 5 additions & 5 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def loader():
class BasicInstaller(ExtensionInstaller):
def __init__(self):
super(BasicInstaller, self).__init__(
version="1.0.1",
version="1.0.2",
name='weewx-wdc',
description='Weather Data Center skin for weewx.',
author="David Baetge",
Expand Down Expand Up @@ -48,10 +48,10 @@ def __init__(self):
'skins/weewx-wdc/celestial.html.tmpl',
'skins/weewx-wdc/offline.html.tmpl',
'skins/weewx-wdc/manifest.json',
'skins/weewx-wdc/icon-192x192.png'
'skins/weewx-wdc/icon-256x256.png'
'skins/weewx-wdc/icon-384x384.png'
'skins/weewx-wdc/icon-512x512.png'
'skins/weewx-wdc/icon-192x192.png',
'skins/weewx-wdc/icon-256x256.png',
'skins/weewx-wdc/icon-384x384.png',
'skins/weewx-wdc/icon-512x512.png',
'skins/weewx-wdc/skin.conf',
'skins/weewx-wdc/lang/de.conf',
'skins/weewx-wdc/lang/en.conf',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weewx-wdc",
"version": "1.0.1",
"version": "1.0.2",
"description": "Weather Data Center skin for weewx.",
"author": "David Baetge <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion skins/weewx-wdc/skin.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# configuration file for the weewx-wdc skin
SKIN_NAME = Weather Data Center
SKIN_VERSION = 1.0.1
SKIN_VERSION = 1.0.2

[Extras]
# Show a link to the GitHub respository of this skin. Set to False to hide.
Expand Down
5 changes: 5 additions & 0 deletions test_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

yarn run build
/usr/share/weewx/wee_extension --uninstall=weewx-wdc
/usr/share/weewx/wee_extension --install=.

0 comments on commit 8310232

Please sign in to comment.