Skip to content

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

Merged
ChugunovRoman merged 1 commit into
Figma-Linux:devfrom
ToxesFoxes:dev
May 26, 2024
Merged

fix: set appVersion to ignore version checking. Closes #371 #372 #373#374
ChugunovRoman merged 1 commit into
Figma-Linux:devfrom
ToxesFoxes:dev

Conversation

@ToxesFoxes

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

Tanza3D commented May 25, 2024

Copy link
Copy Markdown
Contributor

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.

3 participants