Bläddra i källkod

wingrass/nsis: associate .py file with pythonw.exe (fix no response)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54628 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 år sedan
förälder
incheckning
bd178471a7
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      mswindows/GRASS-Installer.nsi.tmpl

+ 3 - 3
mswindows/GRASS-Installer.nsi.tmpl

@@ -624,8 +624,8 @@ Section "GRASS" SecGRASS
 	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\pythonw.exe" ".py"  "Python File"
+        ${registerExtension} "$INSTALL_DIR\extrabin\pythonw.exe" ".pyc" "Compiled Python File"
         ${registerExtension} "$INSTALL_DIR\extrabin\pythonw.exe" ".pyw" "Python File (no console)"
 
 	;Create the Desktop Shortcut
@@ -1011,7 +1011,7 @@ Section "Uninstall"
         ;File Association
         ${unregisterExtension} ".py"  "Python File"
         ${unregisterExtension} ".pyc" "Compiled Python File"
-        ${unregisterExtension} ".py"  "Python File (no console)"
+        ${unregisterExtension} ".pyw" "Python File (no console)"
 SectionEnd
 
 ;----------------------------------------------------------------------------------------------------------------------------