Skip to content

Commit

Permalink
Fix incorrect python exe paths in the installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
PCMan committed Jul 16, 2016
1 parent b705e27 commit db45bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ Section "" Register
WriteUninstaller "$INSTDIR\Uninstall.exe" ;Create uninstaller

; Compile all installed python modules to *.pyc files
nsExec::ExecToLog '"$INSTDIR\python\python.exe" -m compileall "$INSTDIR\python"'
nsExec::ExecToLog '"$INSTDIR\python\python3\python.exe" -m compileall "$INSTDIR\python"'

; Launch the python server as current user (non-elevated process)
${StdUtils.ExecShellAsUser} $0 "$INSTDIR\PIMELauncher.exe" "open" ""
Expand Down Expand Up @@ -564,7 +564,7 @@ Section "" Register
; Create shortcuts
CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
${If} ${SectionIsSelected} ${chewing}
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\設定新酷音輸入法.lnk" "$INSTDIR\python\pythonw.exe" '"$INSTDIR\python\input_methods\chewing\config\configTool.py"' "$INSTDIR\python\input_methods\chewing\icon.ico" 0
CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\設定新酷音輸入法.lnk" "$INSTDIR\python\python3\pythonw.exe" '"$INSTDIR\python\input_methods\chewing\config\configTool.py"' "$INSTDIR\python\input_methods\chewing\icon.ico" 0
${EndIf}

${If} ${SectionIsSelected} ${checj}
Expand Down

0 comments on commit db45bbc

Please sign in to comment.