Slack only publishes an x86_64 Linux build, so the AUR recipe produces an aarch64 package full of x86_64 binaries that cannot start. Run Slack's application code on the AArch64 build of the Electron release it ships with, replace the three native addons Slack requires at boot with JavaScript equivalents, and drop the x86_64 addons it can do without.
10 lines
401 B
JavaScript
10 lines
401 B
JavaScript
// Linux builds of file-handler-info (github.com/clavin/node-file-handler-info)
|
|
// compile src/impl_none.cc, which finds no handler. This is the same result
|
|
// without an architecture-specific addon.
|
|
exports.getHandlerInfo = (filePath) => {
|
|
if (typeof filePath !== 'string') {
|
|
throw new TypeError('Expected 1st argument to be string');
|
|
}
|
|
return { handlerPath: null, friendlyName: null };
|
|
};
|