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

Extensions should be able to be upgradable in native builds #1206

Closed
abose opened this issue Nov 24, 2023 · 1 comment
Closed

Extensions should be able to be upgradable in native builds #1206

abose opened this issue Nov 24, 2023 · 1 comment

Comments

@abose
Copy link
Member

abose commented Nov 24, 2023

Currently, we cannot upgrade extensions in native builds due to the Tauri asset cache. Even though Phoenix updates the extension in the disk, Turi still serves the cached old extension assets after the upgrade. This cannot be fixed at Tauri end; see https://discord.com/channels/616186924390023171/1164659580899430530

To get around this, we might have to append the extension version in the extension paths so that the cache gets invalidated on the extension update.

@abose
Copy link
Member Author

abose commented Dec 15, 2023

We did a work around to show a dialog to the user to restart phoenix as we will be moving to a new extension store any way and extension updates are extremely rare at this time.
Closing.

@abose abose closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant