Created
December 3, 2020 18:15
-
-
Save sar/be16532ed52e12d3e37583b9b561eb0f to your computer and use it in GitHub Desktop.
Run figma-linux in a sandbox container on Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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