Browse Source

update website if possible

Johann ELSASS 4 years ago
parent
commit
02bccb3f9a
1 changed files with 5 additions and 0 deletions
  1. 5 0
      lazpaint.logic

+ 5 - 0
lazpaint.logic

@@ -8,3 +8,8 @@ echo "DON'T FORGET TO UPDATE release/debian/changelog"
 text release/macOS/makedmg.sh "appversion=$(Version)"
 bundle release/macOS/LazPaint.app
 copy ../resources/icon/lazpaint.icns release/macOS/LazPaint.app/Contents/Resources/lazpaint.icns
+if exists ../../lazpaint.github.io/app.js
+  text ../../lazpaint.github.io/app.js "    var version = '$(Version)'"
+else
+  echo "WEBSITE FOLDER NOT FOUND, UPDATE MANUALLY app.js"
+end