diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = pulsar-bin pkgdesc = Community build of the hackable text editor, built on Electron pkgver = 1.63.2022111116 - pkgrel = 2 + pkgrel = 3 url = https://github.com/pulsar-edit/pulsar arch = x86_64 license = MIT @@ -8,7 +8,7 @@ _datetag=2022111116 pkgname="${_appname}-bin" pkgver="1.63.${_datetag}" -pkgrel=2 +pkgrel=3 pkgdesc="Community build of the hackable text editor, built on Electron" arch=("x86_64") url="https://github.com/${_reponame}/${_appname}" @@ -41,6 +41,10 @@ package() { # Fix core modules missing in settings. Remove when implemented upstream sed -i "s/=== 'apm'/=== 'ppm'/" "$pkgdir/opt/Pulsar/resources/app/ppm/lib/apm.js" + # Fix featured not working. Remove when implemented upstream + sed -i "/pack != null/c return pack != null && pack.releases != null;" \ + "$pkgdir/opt/Pulsar/resources/app/ppm/lib/featured.js" + # This needs removal along with asar makedepend when fixed upstream mkdir -p "$pkgdir/opt/Pulsar/resources/app.asar.unpacked/node_modules/github/" mv asar/node_modules/github/bin "$pkgdir/opt/Pulsar/resources/app.asar.unpacked/node_modules/github/bin" |