Try to fix portable apps version. Also added oszl as file type.

This commit is contained in:
Tomas Groth 2019-03-11 14:11:56 +01:00
parent f98ae61bce
commit d583f9a3cb
2 changed files with 4 additions and 1 deletions

View File

@ -87,6 +87,7 @@ Filename: {app}\{#AppExeName}; Description: {cm:LaunchProgram,{#AppName}}; Flags
[Registry]
Root: HKCR; Subkey: .osz; ValueType: string; ValueName: ; ValueData: OpenLP; Flags: uninsdeletevalue
Root: HKCR; Subkey: .oszl; ValueType: string; ValueName: ; ValueData: OpenLP; Flags: uninsdeletevalue
Root: HKCR; Subkey: OpenLP; ValueType: string; ValueName: ; ValueData: OpenLP Service; Flags: uninsdeletekey
Root: HKCR; Subkey: OpenLP\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\OpenLP.exe,0
Root: HKCR; Subkey: OpenLP\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\OpenLP.exe"" ""%1"""

View File

@ -19,7 +19,7 @@ CommercialUse=true
[Version]
DisplayVersion=%(display_version)s-%(arch)s
PackageVersion=%(package_version)s-%(arch)s
PackageVersion=%(package_version)s
[Control]
Icons=1
@ -27,6 +27,8 @@ Start=OpenLPPortable.exe
[Associations]
FileType=osz
FileType=oszl
[FileTypeIcons]
osz=app
oszl=app