Package Details: slack-electron 4.41.105-1

Git Clone URL: https://aur.archlinux.org/slack-electron.git (read-only, click to copy)
Package Base: slack-electron
Description: Slack Desktop (Beta) for Linux, using the system Electron package
Upstream URL: https://slack.com/downloads/linux
Keywords: desktop electron slack
Licenses: LicenseRef-SlackProprietary
Conflicts: slack-desktop
Provides: slack-desktop
Submitter: WhiredPlanck
Maintainer: carsme
Last Packager: carsme
Votes: 29
Popularity: 0.45
First Submitted: 2020-07-05 17:00 (UTC)
Last Updated: 2024-12-14 22:18 (UTC)

Dependencies (6)

Required by (1)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »

OctopusET commented on 2022-04-07 03:44 (UTC)

I think it should be reverted to electron17 then let's find out will it works with electron18

je-vv commented on 2022-04-07 01:21 (UTC)

@lmartinez-mirror, latest version on AUR, 4.25.1-1. doesn't work with electron18 for me, :( Just a blank screen. I used electron17 back with it (by changing slack.sh, so it uses 17 instead of 18), and it does work, so the change to electron17 seems required.

OctopusET commented on 2022-04-07 00:15 (UTC) (edited on 2022-04-07 00:16 (UTC) by OctopusET)

Sure great, but update still won't work for me and only shows black screen. I'm using wayland with sway right now. I'll look for the problem later soon.

Error msg:

Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed at EventEmitter.n.send (node:electron/js2c/browser_init:165:417) at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494) at /usr/lib/slack/app.asar/dist/main.bundle.js:284:6544 at Array.forEach (<anonymous>) at /usr/lib/slack/app.asar/dist/main.bundle.js:284:6522 at /usr/lib/slack/app.asar/dist/main.bundle.js:123:7146 at /usr/lib/slack/app.asar/dist/main.bundle.js:110:21552 at /usr/lib/slack/app.asar/dist/main.bundle.js:285:922 at dispatch (/usr/lib/slack/app.asar/dist/main.bundle.js:110:18456) at Object.next (/usr/lib/slack/app.asar/dist/main.bundle.js:340:86455)

lmartinez-mirror commented on 2022-04-06 15:58 (UTC)

Confirmed that Slack launches with electron18. I think we should pin it to a specific version so that electron updates don't constantly break this package. We'll bump the electron package version once we can confirm it works.

je-vv commented on 2022-04-06 06:34 (UTC)

4.25.1 now available

OctopusET commented on 2022-04-05 20:58 (UTC)

Thank you for adding me. I'll apply a172's patch as my first contribution.

lmartinez-mirror commented on 2022-04-05 20:55 (UTC)

If you use this package more often than I do, by all means!

OctopusET commented on 2022-04-05 18:54 (UTC)

@lmartinez-mirror Can I be Co-maintiner?

lmartinez-mirror commented on 2022-04-05 18:49 (UTC)

Thanks for the patch, I'll add this whenever I get a chance.

a172 commented on 2022-04-04 18:23 (UTC)

I updated the electron version to be version 17 to fix the issue @moot was talking about. Here is the diff:

diff --git a/PKGBUILD b/PKGBUILD
index d3a87a2..7eed216 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,19 +3,19 @@

 pkgname=slack-electron
 pkgver=4.24.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Slack Desktop (Beta) for Linux, using the system Electron package"
 arch=('x86_64')
 url="https://slack.com/downloads"
 license=('custom:proprietary')
-depends=('electron')
+depends=('electron17')
 optdepends=('libappindicator-gtk3: for notification indicator in the status bar on GNOME')
 provides=("slack-desktop")
 conflicts=("slack-desktop")
 source=("$pkgname-$pkgver.deb::https://downloads.slack-edge.com/releases/linux/$pkgver/prod/x64/slack-desktop-$pkgver-amd64.deb"
         'slack.sh')
 sha256sums=('2645bd4a319c7f7039efb6301ff9f7c790d28ca45a86f9e432ec8ba2580009d5'
-            '4db11d083626a561129ca40e9cce7cc613c42223f138bb0136c62064c57471fd')
+            'eddf0c5c6d50c01023a5095b591d4bfd99dc37d610bf494ed004b9212326a09d')

 prepare() {
        bsdtar -xf data.tar.xz
diff --git a/slack.sh b/slack.sh
index 083824f..78ca42a 100644
--- a/slack.sh
+++ b/slack.sh
@@ -1,3 +1,3 @@
 #!/bin/sh

-exec electron /usr/lib/slack/app.asar "$@"
+exec electron17 /usr/lib/slack/app.asar "$@"