diff --git a/PKGBUILD b/PKGBUILD index 88ac5bc..1d8fc60 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -56,6 +56,8 @@ package() { install -d "${pkgdir}/opt/XIVLauncher/" install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop" install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png" + install -D -m644 "${srcdir}/openssl_fix.cnf" "${pkgdir}/opt/XIVLauncher/openssl_fix.cnf" cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/" ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core" + install -D -m755 "${srcdir}/xivlauncher-core" "${pkgdir}/usr/bin/xivlauncher-core" } diff --git a/PKGBUILD-git b/PKGBUILD-git index 40355ec..4846dd9 100644 --- a/PKGBUILD-git +++ b/PKGBUILD-git @@ -63,6 +63,8 @@ package() { install -d "${pkgdir}/opt/XIVLauncher/" install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop" install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png" + install -D -m644 "${srcdir}/openssl_fix.cnf" "${pkgdir}/opt/XIVLauncher/openssl_fix.cnf" cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/" ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core" + install -D -m755 "${srcdir}/xivlauncher-core" "${pkgdir}/usr/bin/xivlauncher-core" } diff --git a/XIVLauncher.desktop b/XIVLauncher.desktop index a49bf49..26e3c82 100644 --- a/XIVLauncher.desktop +++ b/XIVLauncher.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Name=XIVLauncher.Core Comment=Custom launcher for Final Fantasy XIV Online -Exec=XIVLauncher.Core +Exec=xivlauncher-core Icon=xivlauncher Terminal=false Type=Application diff --git a/openssl_fix.cnf b/openssl_fix.cnf new file mode 100644 index 0000000..c2c6d82 --- /dev/null +++ b/openssl_fix.cnf @@ -0,0 +1,11 @@ +openssl_conf = openssl_init + +[openssl_init] +ssl_conf = ssl_module + +[ ssl_module ] +system_default = crypto_policy + +[ crypto_policy ] +MinProtocol = TLSv1.2 +CipherString = DEFAULT:@SECLEVEL=1 diff --git a/xivlauncher-core b/xivlauncher-core new file mode 100755 index 0000000..c35e1d9 --- /dev/null +++ b/xivlauncher-core @@ -0,0 +1,2 @@ +#!/bin/sh +OPENSSL_CONF=/opt/XIVLauncher/openssl_fix.cnf exec /opt/XIVLauncher/XIVLauncher.Core