Fix buildscript

This commit is contained in:
Arti Zirk 2020-06-02 22:23:59 +03:00
parent 26f9704c65
commit 4b4f92cc4c
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
pkgbase = authy pkgbase = authy
pkgdesc = Two-Factor Authentication from your PC. Converted from Windows electron version pkgdesc = Two-Factor Authentication from your PC. Converted from Windows electron version
pkgver = 1.8.1 pkgver = 1.8.1
pkgrel = 1 pkgrel = 2
url = https://authy.com/ url = https://authy.com/
arch = x86_64 arch = x86_64
license = ISC license = ISC

View File

@ -2,7 +2,7 @@
# Contributor: Timmy Yao <timmy.yao+aur@gmail.com> # Contributor: Timmy Yao <timmy.yao+aur@gmail.com>
pkgname=authy pkgname=authy
pkgver=1.8.1 pkgver=1.8.1
pkgrel=1 pkgrel=2
pkgdesc="Two-Factor Authentication from your PC. Converted from Windows electron version" pkgdesc="Two-Factor Authentication from your PC. Converted from Windows electron version"
arch=("x86_64") arch=("x86_64")
url="https://authy.com/" url="https://authy.com/"
@ -19,7 +19,7 @@ build() {
7z x "Authy%20Desktop%20Setup%20${pkgver}.exe" -o"$pkgname-$pkgver" -y 7z x "Authy%20Desktop%20Setup%20${pkgver}.exe" -o"$pkgname-$pkgver" -y
cd "$pkgname-$pkgver" cd "$pkgname-$pkgver"
7z x "authy-electron-$pkgver-full.nupkg" -y 7z x "authy-$pkgver-full.nupkg" -y
mkdir app.asar mkdir app.asar
asar e lib/net45/resources/app.asar app.asar asar e lib/net45/resources/app.asar app.asar