ソースを参照

Execute compileall using nsExec to hide console window

Closes gh-17
Thomas Kluyver 11 年 前
コミット
5a7a95ef2b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      nsist/template.nsi

+ 1 - 1
nsist/template.nsi

@@ -50,7 +50,7 @@ Section "!${PRODUCT_NAME}" sec_app
   ;INSTALL_SHORTCUTS
   ;INSTALL_SHORTCUTS
   ; Byte-compile Python files.
   ; Byte-compile Python files.
   DetailPrint "Byte-compiling Python modules..."
   DetailPrint "Byte-compiling Python modules..."
-  ExecWait 'py -${PY_QUALIFIER} -m compileall -q "$INSTDIR\pkgs"'
+  nsExec::ExecToLog 'py -${PY_QUALIFIER} -m compileall -q "$INSTDIR\pkgs"'
   WriteUninstaller $INSTDIR\uninstall.exe
   WriteUninstaller $INSTDIR\uninstall.exe
   ; Add ourselves to Add/remove programs
   ; Add ourselves to Add/remove programs
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \
   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \