Skip to content

Commit d046f43

Browse files
committed
minor change to the build process on Windows systems
1 parent 99534db commit d046f43

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build.tcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,3 +192,9 @@ if {$modifiedExe != "" && [file isfile $modifiedExe]} {
192192
} else {
193193
file copy [file join $BUILD_WINDOWS_DIR "application.exe"] [file join $TARGET_DIR "$PROJECT-$VERSION-xp.exe"]
194194
}
195+
196+
# On Windows systems there is an unusable bat file written into the target folder.
197+
# To avoid any confusions we're deleting this file.
198+
foreach f [glob -nocomplain -directory $TARGET_DIR -type f "*.bat"] {
199+
file delete $f
200+
}

0 commit comments

Comments
 (0)