
* Add uninstall option and output pkg Improve installer mode detection Fix macOS installer packaging Fix default selection for uninstall choice Remove obsolete tar handling and clean script copies * Improve macOS build script * fix: update macos firewall and package scripts for better compatibility and cleanup * Add DeveloperID certificate and improve macOS signing script Use keychain option for codesign and restore login keychain to list after signing * Update build_macos.sh * feat: add script to quit GUI application during uninstall on macos * fix: handle macos post-install when app is unpacked into localized folder * fix: improve post_install script to handle missing service plist and provide error logging
23 lines
715 B
CMake
23 lines
715 B
CMake
if(WIN32)
|
|
set(RootDir "@RootDir@")
|
|
configure_file(
|
|
${CMAKE_CURRENT_LIST_DIR}/config/windows.xml.in
|
|
${CMAKE_BINARY_DIR}/installer/config/windows.xml
|
|
)
|
|
elseif(LINUX)
|
|
set(ApplicationsDir "@ApplicationsDir@")
|
|
configure_file(
|
|
${CMAKE_CURRENT_LIST_DIR}/config/linux.xml.in
|
|
${CMAKE_BINARY_DIR}/installer/config/linux.xml
|
|
)
|
|
|
|
configure_file(
|
|
${CMAKE_CURRENT_LIST_DIR}/config/AmneziaVPN.desktop.in
|
|
${CMAKE_BINARY_DIR}/../AppDir/AmneziaVPN.desktop
|
|
)
|
|
endif()
|
|
|
|
configure_file(
|
|
${CMAKE_CURRENT_LIST_DIR}/packages/org.amneziavpn.package/meta/package.xml.in
|
|
${CMAKE_BINARY_DIR}/installer/packages/org.amneziavpn.package/meta/package.xml
|
|
)
|