diff --git a/CHANGELOG.md b/CHANGELOG.md index f82d3e52fe3698915305f3d26c1b31acf6ab77c9..943c2e742b272d44f0c2264ff6f08a150d6cf65d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 5.0.6 - 2023-01-10 + +### Fixed +- URI Handlers to a conference. +- Display application icon and estimated size in Windows programs list. + ## 5.0.5 - 2023-01-09 ### Fixed -- Crash at startup -- Deploy missing OpenSSL libraries on Windows (fix blank message on image url) +- Crash at startup. +- Deploy missing OpenSSL libraries on Windows (fix blank message on image url). - Update SDK to 5.2.10 ## 5.0.4 - 2022-12-28 diff --git a/linphone-app/cmake_builder/linphone_package/CMakeLists.txt b/linphone-app/cmake_builder/linphone_package/CMakeLists.txt index 6c891948916c49caf410b3cbfabeb8da32d4a59b..8984591946ce837815cd5475b94fe0a9915393bf 100644 --- a/linphone-app/cmake_builder/linphone_package/CMakeLists.txt +++ b/linphone-app/cmake_builder/linphone_package/CMakeLists.txt @@ -426,6 +426,7 @@ if(${ENABLE_APP_PACKAGING}) set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "!include \\\"${ESCAPED_DOS_STYLE_BINARY_DIR}\\\\uninstall.nsi\\\"") set(CPACK_NSIS_EXECUTABLES_DIRECTORY "bin") set(CPACK_NSIS_MUI_FINISHPAGE_RUN "${EXECUTABLE_NAME}.exe") + set(CPACK_NSIS_INSTALLED_ICON_NAME "${CPACK_NSIS_EXECUTABLES_DIRECTORY}/${CPACK_NSIS_MUI_FINISHPAGE_RUN}") message(STATUS "Set NSIS CPack generator in OUTPUT/Packages") else () set(PACKAGE_EXT "msi") diff --git a/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in b/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in index 1db272dea880a6878c5e27c715a4fd28f23c6168..4bfdfe54f68d95b0b19a6a4af193bdbc00278906 100644 --- a/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in +++ b/linphone-app/cmake_builder/linphone_package/windows/NSIS.template.in @@ -31,6 +31,7 @@ ;General ;Name and file + !include "FileFunc.nsh" Name "@CPACK_NSIS_PACKAGE_NAME@" OutFile "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@" @@ -646,6 +647,10 @@ Section "-Core installation" @CPACK_NSIS_EXTRA_PREINSTALL_COMMANDS@ @CPACK_NSIS_FULL_INSTALL@ + ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2 + IntFmt $0 "0x%08X" $0 + WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "EstimatedSize" "$0" + ;Store installation folder WriteRegStr SHCTX "Software\@CPACK_PACKAGE_VENDOR@\@CPACK_PACKAGE_INSTALL_REGISTRY_KEY@" "" $INSTDIR diff --git a/linphone-app/src/app/cli/Cli.cpp b/linphone-app/src/app/cli/Cli.cpp index 2eb13b7d833cc2689932c4843282476795303355..e420d9d0874da56bbc9f29ae1dbadde59b50268f 100644 --- a/linphone-app/src/app/cli/Cli.cpp +++ b/linphone-app/src/app/cli/Cli.cpp @@ -355,8 +355,7 @@ void Cli::Command::executeUri (const shared_ptr &address) con const string header = address->getHeader(Utils::appStringToCoreString(argName)); args[argName] = QByteArray::fromBase64(QByteArray(header.c_str(), int(header.length()))); } - address->clean(); - args["sip-address"] = Utils::coreStringToAppString(address->asStringUriOnly()); + args["sip-address"] = Utils::coreStringToAppString(address->asString()); execute(args); }