summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
-rw-r--r--lectrote.desktop4
3 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d3f9e3b04153..dfc58555985a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lectrote-bin
pkgdesc = The IF interpreter in an Electron shell
- pkgver = 1.4.4
+ pkgver = 1.4.5
pkgrel = 1
url = https://github.com/erkyrath/lectrote
install = lectrote.install
@@ -14,11 +14,11 @@ pkgbase = lectrote-bin
depends = libxss
depends = nss
provides = lectrote
- source = https://github.com/erkyrath/lectrote/releases/download/lectrote-1.4.4/Lectrote-1.4.4-linux-x64.zip
+ source = https://github.com/erkyrath/lectrote/releases/download/lectrote-1.4.5/Lectrote-1.4.5-linux-x64.zip
source = lectrote.desktop
source = lectrote
- sha256sums = 1c3b60cb60f1c63da260b60e32af110507c21968750e40f6ddbc11971beb9f04
- sha256sums = 2d2440025aad945a2186c9f49f9d57ab0c5c41f1a232b76d0e402544335af3a8
+ sha256sums = 64d38de080f417bd16965cb5a51edf6a9022da8b209c28f66ff05a71c125e5a3
+ sha256sums = facacc25f091eec64a619c52423231785ebfb911d954229faeea3676acda21fe
sha256sums = b47e65391b0cca22d023fabd3e74d403cd30d8e99ef8be0b0107db283b74b484
pkgname = lectrote-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5d41795897ee..1c5af081c029 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Benjamin L. Merritt <blm768@gmail.com>
pkgname=lectrote-bin
-pkgver=1.4.4
+pkgver=1.4.5
pkgrel=1
pkgdesc="The IF interpreter in an Electron shell"
arch=('x86_64')
@@ -17,8 +17,8 @@ source=(
"lectrote.desktop"
"lectrote"
)
-sha256sums=('1c3b60cb60f1c63da260b60e32af110507c21968750e40f6ddbc11971beb9f04'
- '2d2440025aad945a2186c9f49f9d57ab0c5c41f1a232b76d0e402544335af3a8'
+sha256sums=('64d38de080f417bd16965cb5a51edf6a9022da8b209c28f66ff05a71c125e5a3'
+ 'facacc25f091eec64a619c52423231785ebfb911d954229faeea3676acda21fe'
'b47e65391b0cca22d023fabd3e74d403cd30d8e99ef8be0b0107db283b74b484')
package() {
@@ -26,7 +26,9 @@ package() {
install -Dm755 lectrote "$pkgdir/usr/bin/lectrote"
cd Lectrote-linux-x64
- sed -i "s/(path_mod\.basename(path) == 'main\.js' || path_mod\.basename(path) == '\.')/(path_mod.basename(path) == 'main.js' || path_mod.basename(path) == '.' || path_mod.basename(path) == 'lectrote')/" resources/app/main.js
+ sed -i "s/(path_mod\.basename(path) == 'main\.js' || path_mod\.basename(path) == '\.')/(path_mod.basename(path) == 'main.js' || path_mod.basename(path) == '.' || path_mod.basename(path) == 'electron' || path_mod.basename(path) == 'lectrote')/" resources/app/main.js
+ sed -i "0,/game_for_webcontents(ev\.sender)/s//game_for_webcontents(win.webContents)/" resources/app/main.js
+ sed -i "0,/game_for_webcontents(ev\.sender)/s//game_for_webcontents(win.webContents)/" resources/app/main.js
install -d "$pkgdir/usr/share/lectrote"
cp -r resources/app/* "$pkgdir/usr/share/lectrote/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
diff --git a/lectrote.desktop b/lectrote.desktop
index 606ff6638f8e..d5606d0561ec 100644
--- a/lectrote.desktop
+++ b/lectrote.desktop
@@ -5,8 +5,8 @@ Version=1.0
Name=Lectrote
GenericName=Interactive Fiction Player
Comment=
-Path=/opt/lectrote
+Path=/usr/share/lectrote
Exec=/usr/bin/lectrote
-Icon=/opt/lectrote/resources/app/icon-128.png
+Icon=/usr/share/lectrote/icon-128.png
Terminal=false
Categories=Games