[GRASS-SVN] r54626 - grass/trunk/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 14 04:12:25 PST 2013
Author: martinl
Date: 2013-01-14 04:12:24 -0800 (Mon, 14 Jan 2013)
New Revision: 54626
Modified:
grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
Log:
wingrass/nsis: add file association for pyw files
Modified: grass/trunk/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/trunk/mswindows/GRASS-Installer.nsi.tmpl 2013-01-14 12:07:18 UTC (rev 54625)
+++ grass/trunk/mswindows/GRASS-Installer.nsi.tmpl 2013-01-14 12:12:24 UTC (rev 54626)
@@ -624,8 +624,9 @@
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "Publisher" "${PUBLISHER}"
;File Association
- ${registerExtension} "$INSTALL_DIR\extrabin\python.exe" ".py" "Python File"
- ${registerExtension} "$INSTALL_DIR\extrabin\python.exe" ".pyc" "Compiled Python File"
+ ${registerExtension} "$INSTALL_DIR\extrabin\python.exe" ".py" "Python File"
+ ${registerExtension} "$INSTALL_DIR\extrabin\python.exe" ".pyc" "Compiled Python File"
+ ${registerExtension} "$INSTALL_DIR\extrabin\pythonw.exe" ".pyw" "Python File (no console)"
;Create the Desktop Shortcut
SetShellVarContext current
@@ -1010,6 +1011,7 @@
;File Association
${unregisterExtension} ".py" "Python File"
${unregisterExtension} ".pyc" "Compiled Python File"
+ ${unregisterExtension} ".py" "Python File (no console)"
SectionEnd
;----------------------------------------------------------------------------------------------------------------------------
More information about the grass-commit
mailing list