Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 26, 2024

Conversation

ToxesFoxes
Copy link
Contributor

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
Copy link

Tanza3D commented May 25, 2024

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!

@ChugunovRoman ChugunovRoman merged commit c4af5c1 into Figma-Linux:dev May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants