Permalink
Browse files

Update windows installer

New installer images
Rename README.md to README.txt
Add metadata to resources
Use new icon in resources
  • Loading branch information...
cknave committed Oct 12, 2017
1 parent 6e62f64 commit 871dbdebedb12a519b3e06237bd0a3b2bc0e4189
View
@@ -3,6 +3,7 @@
*.a
.deps
.DS_Store
.dirstamp
/docs/kevedit.zml
/dosbox/kevedos.iso
View
@@ -122,6 +122,7 @@ AC_SUBST([synth_objects])
dnl Check for windows resource compiler.
AC_CHECK_PROGS(WINDRES, windres)
AC_SUBST(WINDRES)
AC_SUBST(WINDRES_VERSION, $(echo AC_PACKAGE_VERSION | tr . ,))
AM_CONDITIONAL(HAVE_WINDRES, [test x$WINDRES != x])
dnl Checks for header files.
@@ -173,6 +174,7 @@ AC_CONFIG_FILES([docs/Makefile
dosbox/Makefile
glob/Makefile
inst/platform/windows/kevedit.iss
inst/platform/windows/kevedit.rc
src/libzzt2/Makefile
src/structures/Makefile
src/display/Makefile
View
Binary file not shown.
View
Binary file not shown.
@@ -27,7 +27,7 @@ for fn in AUTHORS ChangeLog COPYING; do
cp /work/kevedit/$fn /work/$fn.txt
sed -e 's/$/\r/' </work/kevedit/$fn >/work/$fn.txt
done
sed -e 's/$/\r/' </work/kevedit/README.md >/work/README.md
sed -e 's/$/\r/' </work/kevedit/README.md >/work/README.txt
# Extract SDL runtime
rm -rf /work/sdl
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -11,7 +11,7 @@ AppUpdatesURL=https://github.com/cknave/kevedit/releases
DefaultDirName={pf}\KevEdit
DefaultGroupName=Games\ZZT
LicenseFile=Z:\work\COPYING.txt
InfoBeforeFile=Z:\work\README.md
InfoBeforeFile=Z:\work\README.txt
OutputDir=Z:\dist
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64
@@ -26,13 +26,13 @@ Source: "Z:\work\ChangeLog.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "Z:\work\COPYING.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "Z:\work\kevedit\src\kevedit\kevedit.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "Z:\work\kevedit\docs\kevedit.zml"; DestDir: "{app}"; Flags: ignoreversion
Source: "Z:\work\README.md"; DestDir: "{app}"; Flags: ignoreversion isreadme
Source: "Z:\work\README.txt"; DestDir: "{app}"; Flags: ignoreversion isreadme
Source: "Z:\work\sdl\README-SDL.txt"; Destdir: "{app}"; Flags: ignoreversion
Source: "Z:\work\sdl\SDL2.dll"; Destdir: "{app}"; Flags: ignoreversion
[Icons]
Name: "{group}\KevEdit"; Filename: "{app}\kevedit.exe"; WorkingDir: "{userdocs}"
Name: "{group}\KevEdit Readme"; Filename: "{app}\README.md"
Name: "{group}\KevEdit Readme"; Filename: "{app}\README.txt"
Name: "{group}\Uninstall KevEdit"; Filename: "{uninstallexe}"
[Run]
@@ -0,0 +1,24 @@
1 VERSIONINFO
FILEVERSION @WINDRES_VERSION@
PRODUCTVERSION @WINDRES_VERSION@
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Kevin Vance et al."
VALUE "FileDescription", "KevEdit ZZT Editor"
VALUE "FileVersion", "@VERSION@"
VALUE "InternalName", "kevedit"
VALUE "LegalCopyright", "Kevin Vance et al."
VALUE "OriginalFilename", "kevedit.exe"
VALUE "ProductName", "KevEdit"
VALUE "ProductVersion", "@VERSION@"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
kevedit ICON "kevedit.ico"
View
Binary file not shown.
View
@@ -7,8 +7,7 @@ AM_CPPFLAGS = -DDATAPATH=\"$(pkgdatadir)\"
bin_PROGRAMS = kevedit
if HAVE_WINDRES
windres_SOURCES = resources.rc
MOSTLYCLEANFILES = resources.rc
windres_SOURCES = $(top_srcdir)/inst/platform/windows/kevedit.rc
endif
kevedit_SOURCES = \
@@ -21,8 +20,4 @@ kevedit_LDADD = ../zlaunch/libzlaunch.a ../texteditor/libtexteditor.a ../dialogs
.rc.o:
$(WINDRES) -o $@ $<
resources.o: resources.rc
resources.rc:
echo kevedit ICON \"$(top_srcdir)/kevedit.ico\" > $@
resources.o: $(windres_SOURCES)

0 comments on commit 871dbde

Please sign in to comment.