-Pro line one name
+WeDo 2.0 32bit
sed -i s/YEAR/$(YEAR)/g oss-pkg-$(PACKAGE).spec
sed s/VERSION/$(VERSION)/g init.sls.in > repo-ng/init.sls
../oss-pkg-tools/create_hash.sh $(PACKAGE)
+ rm -rf oss-pkg-$(PACKAGE)
mkdir -p oss-pkg-$(PACKAGE)
sed s/PACKAGE/$(PACKAGE)/g $(PACKAGE).sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls
if [ -d repo-ng ]; then ln -s ../repo-ng/ oss-pkg-$(PACKAGE)/repo-ng; fi
-0
\ No newline at end of file
+1
-VERSION THIS MUST BE ADAPTED
\ No newline at end of file
+1.9.385
WeDo2_0:
'VERSION':
- full_name: 'TOREPLACE'
- installer: salt://win/repo-ng/WeDo2_0/TOREPLACE.exe
+ full_name: 'WeDo 2.0 32bit'
+ installer: salt://win/repo-ng/WeDo2_0/WeDo2_Full_1.9.385_Global_WIN10.exe
{% if ARCH == 'x64' %}
uninstaller: '%PROGRAMFILES(x86)%\WeDo2_0\unins000.exe'
{% else %}
--- /dev/null
+{"name":"WeDo2_0","manually":false,"description":"WeDo2_0","softwareVersions":[{"version":"1.9.385","status":"C"}],"softwareFullNames":[{"fullName":"WeDo 2.0 32bit"}]}
--- /dev/null
+###############################################################################
+# SLS: WeDo2_0
+# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany.
+# All rights reserved.
+#
+# Authors: Helmuth Varkoly
+#
+# Description: Package SLS
+###############################################################################
+{% if grains['cpuarch'] == 'AMD64' %}
+{% set ARCH = "x64" %}
+{% else %}
+{% set ARCH = "x86" %}
+{% endif %}
+
+{% set LOG_PATH = 'C:\\salt\\var\\log' %}
+
+WeDo2_0:
+ '1.9.385':
+ full_name: 'WeDo 2.0 32bit'
+ installer: salt://win/repo-ng/WeDo2_0/WeDo2_Full_1.9.385_Global_WIN10.exe
+ {% if ARCH == 'x64' %}
+ uninstaller: '%PROGRAMFILES(x86)%\WeDo2_0\unins000.exe'
+ {% else %}
+ uninstaller: '%PROGRAMFILES%\WeDo2_0\unins000.exe'
+ {% endif %}
+ install_flags: '/verysilent /norestart /LOG="{{ LOG_PATH }}_inst.log"'
+ uninstall_flags: '/verysilent /SUPPRESSMSGBOXES /NORESTART /LOG="{{ LOG_PATH }}_uninst.log"'
+ locale: de_DE
+ msiexec: False
+ reboot: False
+ cache_dir: False
+