deepin v20 & uos 20 无法运行electron应用(appimage)解决方法

打开终端 运行你不能启动的程序:

master@Origin:~$ electron-ssr
[5388:0415/233033.798417:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/electron-ssr/chrome-sandbox is owned by root and has mode 4755.

给它设置权限(具体路径按错误提示里面,部分随机命名到/tmp路径下的应用暂时无解):

sudo chmod 4755 /opt/electron-ssr/chrome-sandbox