network/windscribe: Updated for version 2.6.14.

Signed-off-by: Reza Talebi <reza.talebi.73@outlook.com>
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Reza Talebi 2023-08-26 06:32:25 +03:30 committed by Willy Sudiarto Raharjo
parent 23b094256a
commit 4c79759b43
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 4 additions and 48 deletions

View file

@ -1,41 +0,0 @@
diff --git a/etc/systemd/system/windscribe-helper.service b/etc/systemd/system/windscribe-helper.service
index 602d584..d9baeab 100644
--- a/etc/systemd/system/windscribe-helper.service
+++ b/etc/systemd/system/windscribe-helper.service
@@ -5,7 +5,7 @@ Wants=network-pre.target
[Service]
Type=simple
-ExecStart=/usr/local/windscribe/helper
+ExecStart=/opt/windscribe/helper
[Install]
WantedBy=multi-user.target
\ No newline at end of file
diff --git a/usr/polkit-1/actions/com.windscribe.authhelper.policy b/usr/polkit-1/actions/com.windscribe.authhelper.policy
index 4d81580..301fb8d 100644
--- a/usr/polkit-1/actions/com.windscribe.authhelper.policy
+++ b/usr/polkit-1/actions/com.windscribe.authhelper.policy
@@ -11,7 +11,7 @@
<allow_inactive>auth_admin_keep</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/local/windscribe/windscribe-authhelper</annotate>
+ <annotate key="org.freedesktop.policykit.exec.path">/opt/windscribe/windscribe-authhelper</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
diff --git a/usr/share/applications/windscribe.desktop b/usr/share/applications/windscribe.desktop
index 8118766..731074b 100644
--- a/usr/share/applications/windscribe.desktop
+++ b/usr/share/applications/windscribe.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Terminal=false
-Exec=/usr/local/windscribe/Windscribe %F
+Exec=/opt/windscribe/Windscribe %F
Name=Windscribe
Icon=windscribe
Categories=Utility;Security
\ No newline at end of file

View file

@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=windscribe
VERSION=${VERSION:-2.5.18}
VERSION=${VERSION:-2.6.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -71,9 +71,6 @@ mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
rpm2cpio $CWD/${PRGNAM}_${VERSION}_${ARCH}.rpm | cpio -idmv
mkdir opt
mv usr/local/$PRGNAM opt/
patch -p1 < $CWD/path.diff
rm -fR etc/{systemd,windscribe/update-systemd-resolved} usr/local
mv * $PKG/

View file

@ -1,10 +1,10 @@
PRGNAM="windscribe"
VERSION="2.5.18"
VERSION="2.6.14"
HOMEPAGE="https://www.windscribe.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://deploy.totallyacdn.com/desktop-apps/2.5.18/windscribe_2.5.18_x86_64.rpm"
MD5SUM_x86_64="b9c7982c212c5b88abf57204639fbee3"
DOWNLOAD_x86_64="https://deploy.totallyacdn.com/desktop-apps/2.6.14/windscribe_2.6.14_x86_64.rpm"
MD5SUM_x86_64="6596db404538f50c9c46d4b823424bf2"
REQUIRES=""
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"