Skip to content

Commit

Permalink
Updated to 5.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
corvideon committed Oct 31, 2017
1 parent 905e30f commit 147e874
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/IWP_VERSION.txt
@@ -1 +1 @@
v5.3.0
v5.3.1
2 changes: 1 addition & 1 deletion build/VM_VERSION.txt
@@ -1 +1 @@
iwpserver-2.1.0
iwpserver-2.1.1
2 changes: 1 addition & 1 deletion core/config/iwp-osx.ini
Expand Up @@ -73,5 +73,5 @@ showDeployInfo=yes
HideReadMeFile=osx/noreadme
WebServerWarnMessage=osx/webserverwarn
readMeLimit=6
showWPResourcesTab=yes
showWPResourcesTab=no

16 changes: 13 additions & 3 deletions core/controlpanel/iwp-resources.rkt
Expand Up @@ -15,6 +15,14 @@
racket/gui/base
"iwp-environment.rkt")

;; are we on macos?
(define (is-macos-bitmap?)
(equal? (system-type) 'macosx))

;; are we on windows?
(define (is-windows-bitmap?)
(equal? (system-type) 'windows))

;; define main button bitmaps
(define (wp-admin-bitmap)
(read-bitmap (build-path (iwp-images-dir-path) "settings.png")))
Expand Down Expand Up @@ -67,10 +75,12 @@
(define (info-sign)
(read-bitmap (build-path (iwp-images-dir-path) "info.png")))

(define (deploy-bitmap)
(read-bitmap (build-path (iwp-images-dir-path) "deploy-button.png")))

;; start up wizard bitmap
(define (readme-bitmap)
(read-bitmap (build-path (iwp-images-dir-path) "readme1.png")))


(define (deploy-bitmap)
(cond
[(is-windows-bitmap?) (read-bitmap (build-path (iwp-images-dir-path) "deploy-button.png"))]
[(is-macos-bitmap?) (read-bitmap (build-path (iwp-images-dir-path) "deploy-button-mac.png")) ]))
Binary file added core/images/deploy-button-mac.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed core/images/deploy-info.png
Binary file not shown.
Binary file modified core/images/readme6.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 147e874

Please sign in to comment.