summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--icons/getxbook.icobin0 -> 50934 bytes
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index adcf8a2..a85fc9f 100644
--- a/Makefile
+++ b/Makefile
@@ -77,10 +77,13 @@ dist-static: $(BIN)
getxbookgui.exe: getxbookgui.tcl
@echo STARPACK $@
- @sdx qwrap getxbookgui.tcl
+ @sed 's/\/icons/\/..\/icons/' < getxbookgui.tcl > getxbookgui-win.tcl
+ @sdx qwrap getxbookgui-win.tcl getxbookgui
@sdx unwrap getxbookgui.kit
+ @cp -f icons/getxbook.ico getxbookgui.vfs/tclkit.ico
+ @echo 'FileDescription "Book downloader"' > getxbookgui.vfs/tclkit.inf
@sdx wrap $@ -runtime $(W32TCLKIT)
- @rm -r getxbookgui.kit getxbookgui.vfs
+ @rm -r getxbookgui-win.tcl getxbookgui.kit getxbookgui.vfs
# needs config.mk set up to use mingw
dist-win: $(BIN) $(GUI:.tcl=.exe)
diff --git a/icons/getxbook.ico b/icons/getxbook.ico
new file mode 100644
index 0000000..44303f7
--- /dev/null
+++ b/icons/getxbook.ico
Binary files differ