This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to newer version of NW.js 0.11.6
- Loading branch information
Matt Karl
committed
Feb 1, 2015
1 parent
cb6de49
commit dbb7066
Showing
18 changed files
with
313 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"title": "_AppName_", | ||
"icon": "../deploy/assets/images/icon.icns", | ||
"background": "assets/background.png", | ||
"icon-size": 80, | ||
"contents": [ | ||
{ | ||
"x": 448, | ||
"y": 344, | ||
"type": "link", | ||
"path": "/Applications" | ||
}, | ||
{ | ||
"x": 192, | ||
"y": 344, | ||
"type": "file", | ||
"path": "../build/_AppName_/osx64/_AppName_.app" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
!define APPNAME "_AppName_" | ||
!define COMPANYNAME "_AuthorName_" | ||
!define DESCRIPTION "_AppDescription_" | ||
# These three must be integers | ||
!define VERSIONMAJOR 0 | ||
!define VERSIONMINOR 0 | ||
!define VERSIONBUILD 2 | ||
# These will be displayed by the "Click here for support information" link in "Add/Remove Programs" | ||
# It is possible to use "mailto:" links in here to open the email client | ||
!define HELPURL "_githubRepo_/issues" | ||
!define UPDATEURL "_githubRepo_/releases" | ||
!define ABOUTURL "_githubRepo_" | ||
|
||
Name "${APPNAME}" | ||
Icon "..\deploy\assets\images\icon.ico" | ||
|
||
# define the resulting installer's name: | ||
OutFile "..\build\${APPNAME}-Setup-x64.exe" | ||
|
||
# Destintation install directory | ||
InstallDir "$PROGRAMFILES\${APPNAME}" | ||
|
||
# default section start | ||
Section | ||
|
||
# define the path to which the installer should install | ||
SetOutPath "$INSTDIR" | ||
|
||
# specify the files to go in the output path | ||
# these are the Windows files produced by grunt-node-webkit-builder | ||
File "../deploy/assets/images/icon.ico" | ||
File "../build/${APPNAME}/win64/ffmpegsumo.dll" | ||
File "../build/${APPNAME}/win64/icudtl.dat" | ||
File "../build/${APPNAME}/win64/libEGL.dll" | ||
File "../build/${APPNAME}/win64/libGLESv2.dll" | ||
File "../build/${APPNAME}/win64/nw.pak" | ||
File "../build/${APPNAME}/win64/${APPNAME}.exe" | ||
|
||
# define the uninstaller name | ||
WriteUninstaller "$INSTDIR\Uninstall.exe" | ||
|
||
# create a shortcut in the start menu | ||
CreateDirectory "$SMPROGRAMS\${APPNAME}" | ||
CreateShortCut "$SMPROGRAMS\${APPNAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe" | ||
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\${APPNAME}.exe" "" "$INSTDIR\icon.ico" | ||
|
||
# Registry information for add/remove programs | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayName" "${COMPANYNAME} - ${APPNAME} - ${DESCRIPTION}" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "UninstallString" "$\"$INSTDIR\Uninstall.exe$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "QuietUninstallString" "$\"$INSTDIR\Uninstall.exe$\" /S" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "InstallLocation" "$\"$INSTDIR$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayIcon" "$\"$INSTDIR\icon.ico$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "Publisher" "$\"${COMPANYNAME}$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "HelpLink" "$\"${HELPURL}$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "URLUpdateInfo" "$\"${UPDATEURL}$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "URLInfoAbout" "$\"${ABOUTURL}$\"" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "DisplayVersion" "$\"${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}$\"" | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "VersionMajor" ${VERSIONMAJOR} | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "VersionMinor" ${VERSIONMINOR} | ||
|
||
# There is no option for modifying or repairing the install | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoModify" 1 | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" "NoRepair" 1 | ||
|
||
SectionEnd | ||
|
||
# create a section to define what the uninstaller does | ||
Section "Uninstall" | ||
|
||
# delete the uninstaller | ||
Delete $INSTDIR\Uninstall.exe | ||
|
||
# delete the installed files | ||
Delete "$INSTDIR\icon.ico" | ||
Delete "$INSTDIR\ffmpegsumo.dll" | ||
Delete "$INSTDIR\icudt.dll" | ||
Delete "$INSTDIR\libEGL.dll" | ||
Delete "$INSTDIR\libGLESv2.dll" | ||
Delete "$INSTDIR\nw.pak" | ||
Delete "$INSTDIR\${APPNAME}.exe" | ||
Delete "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" | ||
Delete "$SMPROGRAMS\${APPNAME}\Uninstall.lnk" | ||
rmDir "$SMPROGRAMS\${APPNAME}" | ||
rmDir $INSTDIR | ||
|
||
# Remove uninstaller information from the registry | ||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANYNAME} ${APPNAME}" | ||
|
||
SectionEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"name": "_AppName_", | ||
"private": true, | ||
"version": "0.0.1", | ||
"dependencies": { | ||
"grunt": "~0.4.5", | ||
"project-grunt": "*", | ||
"grunt-node-webkit-builder": "~0.2.2", | ||
"grunt-exec": "~0.4.6" | ||
} | ||
"name": "_AppName_", | ||
"private": true, | ||
"version": "0.0.1", | ||
"dependencies": { | ||
"grunt": "~0.4.5", | ||
"grunt-exec": "~0.4.6", | ||
"grunt-node-webkit-builder": "~1.0.0", | ||
"lodash": "~3.0.0", | ||
"project-grunt": "*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.