Fixing issue with opening files on Windows.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
29ecc0585d
commit
3ea75caa41
2 changed files with 4 additions and 3 deletions
|
@ -1,2 +1,3 @@
|
|||
python -m pip install -U pyinstaller
|
||||
rem Need pyinstaller >= 4.3, or there is an issue regarding the PATH of the building.
|
||||
python -m pip install -U pyinstaller>=4.3
|
||||
pyinstaller --add-data "logplotter.svg;." --add-data "LogarithmPlotter/qml;qml" --noconsole LogarithmPlotter/logarithmplotter.py --icon=win/logarithmplotter.ico -n logarithmplotter
|
||||
|
|
|
@ -184,8 +184,8 @@ Section ""
|
|||
; Registering mime type
|
||||
WriteRegStr HKLM ${REG_LPFCLASS} "" "Logarithm Plot File"
|
||||
WriteRegStr HKLM "${REG_LPFCLASS}\DefaultIcon" "" "$INSTDIR\logarithmplotter.exe,0" ; I'd like to put the logplotterfile icon, but this seems far too difficult to do.
|
||||
WriteRegStr HKLM "${REG_LPFCLASS}\shell\open\command" "" "$INSTDIR\logarithmplotter.exe $\"$$1$\""
|
||||
WriteRegStr HKLM "${REG_LPFCLASS}\shell\edit\command" "" "$INSTDIR\logarithmplotter.exe $\"$$1$\""
|
||||
WriteRegStr HKLM "${REG_LPFCLASS}\shell\open\command" "" "$INSTDIR\logarithmplotter.exe $\"$%1$\""
|
||||
WriteRegStr HKLM "${REG_LPFCLASS}\shell\edit\command" "" "$INSTDIR\logarithmplotter.exe $\"$%1$\""
|
||||
WriteRegStr HKLM ${REG_LPFEXT} "" "${PROG_ID}"
|
||||
WriteRegStr HKLM ${REG_LPFEXT} "Content Type" "application/x-logarithm-plot"
|
||||
WriteRegStr HKLM ${REG_LPFEXT} "PerceivedType" "Application"
|
||||
|
|
Loading…
Reference in a new issue