Closed ToxesFoxes closed 1 month ago
Found version checking script inside of figma source code.
That code was used in c() function and used to display unsupported figma version dialog
c()
I just added appVersion into window.__figmaDesktop to skip userAgent check because userAgent change in session didnt work
UserAgent don't change after that manipulations
Here is the proof:
aaa thankyouthankyouthankyou this is amazing - i tried for a few hours to make it work yesterday but couldn't coerce it into working, nice to see the real fix!
Found version checking script inside of figma source code.
![image](https://github.com/Figma-Linux/figma-linux/assets/29871037/a3148ca5-ae67-4cd9-b8ab-438ce10f31a3)
That code was used in
and used to display unsupported figma version dialog
![image](https://github.com/Figma-Linux/figma-linux/assets/29871037/11c60139-9280-4cc5-a9ac-317f90c65851)
c()
functionI just added appVersion into window.__figmaDesktop to skip userAgent check because userAgent change in session didnt work![image](https://github.com/Figma-Linux/figma-linux/assets/29871037/abe12b96-5998-4945-9ae7-a12b99b58ad0)
UserAgent don't change after that manipulations![image](https://github.com/Figma-Linux/figma-linux/assets/29871037/8e47b9f1-ad6a-42f3-a821-b2d712ddb3c1)
Here is the proof:![image](https://github.com/Figma-Linux/figma-linux/assets/29871037/fb982cdd-0477-48cd-a365-6f873ddf4e75)