From d583f9a3cb65fdfcea95887211180c82ac396c60 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 11 Mar 2019 14:11:56 +0100 Subject: [PATCH] Try to fix portable apps version. Also added oszl as file type. --- windows/OpenLP.iss.default | 1 + windows/appinfo.ini.default | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/OpenLP.iss.default b/windows/OpenLP.iss.default index 688fc34..fe5ac87 100644 --- a/windows/OpenLP.iss.default +++ b/windows/OpenLP.iss.default @@ -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""" diff --git a/windows/appinfo.ini.default b/windows/appinfo.ini.default index 8bb12c3..238e6ac 100644 --- a/windows/appinfo.ini.default +++ b/windows/appinfo.ini.default @@ -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