Figma-Linux / figma-linux

Figma is the first interface design tool based in the browser, making it easier for teams to create software. Join us in https://t.me/figma_linux
GNU General Public License v2.0
2.55k stars 155 forks source link

fix: set appVersion to ignore version checking. Closes #371 #372 #373 #374

Closed ToxesFoxes closed 1 month ago

ToxesFoxes commented 1 month ago

Found version checking script inside of figma source code. image image

That code was used in c() function image and used to display unsupported figma version dialog image

I just added appVersion into window.__figmaDesktop to skip userAgent check because userAgent change in session didnt work image

UserAgent don't change after that manipulations image

Here is the proof: image

Tanza3D commented 1 month ago

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!