Update desktop client Windows installer

This commit is contained in:
Guangcong Luo 2015-07-05 15:40:44 -05:00
parent 5393b57455
commit f527388e55
2 changed files with 12 additions and 6 deletions

View File

@ -6,7 +6,7 @@
"node-remote": "play.pokemonshowdown.com",
"no-edit-menu": false,
"window": {
"icon": "data/pokemonshowdown.ico",
"icon": "icons/icon_32x32.png",
"title": "Loading...",
"toolbar": false,
"show": false

View File

@ -74,10 +74,12 @@ Section "Main" SecMain
file "package.json"
file "index.html"
file "nw.pak"
file "d3dcompiler_47.dll"
file "icudtl.dat"
file "ffmpegsumo.dll"
file "libEGL.dll"
file "libGLESv2.dll"
file "ffmpegsumo.dll"
file "icudt.dll"
file "pdf.dll"
CreateDirectory "$INSTDIR\icons"
setOutPath "$INSTDIR\icons"
file "icons\icon_32x32.png"
@ -125,17 +127,21 @@ Section "Uninstall"
delete "$INSTDIR\pokemonshowdown.exe"
delete "$INSTDIR\package.json"
delete "$INSTDIR\index.html"
delete "$INSTDIR\nw.pak"
delete "$INSTDIR\d3dcompiler_47.dll"
delete "$INSTDIR\ffmpegsumo.dll"
delete "$INSTDIR\icudtl.dat"
delete "$INSTDIR\icudt.dll"
delete "$INSTDIR\libEGL.dll"
delete "$INSTDIR\libGLESv2.dll"
delete "$INSTDIR\ffmpegsumo.dll"
delete "$INSTDIR\icudt.dll"
delete "$INSTDIR\nw.pak"
delete "$INSTDIR\pdf.dll"
delete "$INSTDIR\icons\icon_32x32.png"
delete "$INSTDIR\icons\pokemonshowdown.ico"
delete "$INSTDIR\data\icon_32x32.png"
delete "$INSTDIR\data\pokemonshowdown.ico"
rmDir "$INSTDIR\icons"
rmDir "$INSTDIR\data"
rmDir "$INSTDIR\locales"
# Always delete uninstaller as the last action
delete $INSTDIR\uninstall.exe