Skip to content

Instantly share code, notes, and snippets.

@sar
Created December 3, 2020 18:15
Show Gist options
  • Save sar/be16532ed52e12d3e37583b9b561eb0f to your computer and use it in GitHub Desktop.
Save sar/be16532ed52e12d3e37583b9b561eb0f to your computer and use it in GitHub Desktop.
Run figma-linux in a sandbox container on Fedora
#!/bin/bash
tb_exists=`which toolbox`
if [ ${tb_exists} != "/usr/bin/toolbox" ]
then
sudo dnf install toolbox -y
fi
toolbox create -c figma -r 31 -y
toolbox run -c figma sudo dnf install -y libXScrnSaver libX11-xcb alsa-lib-devel https://github.com/Figma-Linux/figma-linux/releases/download/v0.6.3/figma-linux-0.6.3.rpm
toolbox run -c figma figma-linux
# TODO: echo desktop entry
printf '\n --> Use the command `toolbox run -c figma figma-linux` to launch \n\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment