Skip to content

Commit

Permalink
Merge pull request #199 from walkero-gr/v2.3.0-installer-fixes
Browse files Browse the repository at this point in the history
Fixed an issue on v2.3.0 release with Icons copy
  • Loading branch information
walkero-gr committed Apr 13, 2023
2 parents d7b9aa8 + 9933a65 commit 6a815b7
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions required_files/Install-iGame
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
; $VER: Install-iGame 1.4 (09.04.2023)
;
; History:
; 1.5 14.04.2023: Fixed an issue on v2.3.0 release with Icons copy
; 1.4 09.04.2023: Added French and German languages
; Added a header message on folder choice page
; 1.3 30.01.2023: Added Turkish language
Expand Down Expand Up @@ -296,18 +297,25 @@
)

;=============================================================================
; Create and copy Icons folder
; Create and copy Extras folder
(complete 50)

(makedir (tackon #destination "Icons")
(prompt (cat "Extra icons will be installed at\n" (tackon #destination "Icons")))
(makedir (tackon #destination "Extras")
(prompt (cat "Extra Extras will be installed at\n" (tackon #destination "Extras")))
(help @makedir-help)
(confirm "expert")
)
(foreach "Icons" "#?.info"
(foreach "Extras" "#?.png"
(copyfiles
(source (tackon "Icons" @each-name))
(dest (tackon #destination "Icons"))
(source (tackon "Extras" @each-name))
(dest (tackon #destination "Extras"))
(help @copyfiles-help)
)
)
(foreach "Extras/Icons" "#?.info"
(copyfiles
(source (tackon "Extras/Icons" @each-name))
(dest (tackon #destination "Extras/Icons"))
(help @copyfiles-help)
)
)
Expand Down

0 comments on commit 6a815b7

Please sign in to comment.