Skip to content

Remove Asar Handling :trolly:#751

Open
yofukashino wants to merge 6 commits intoreplugged-org:mainfrom
yofukashino:addon-as-folder
Open

Remove Asar Handling :trolly:#751
yofukashino wants to merge 6 commits intoreplugged-org:mainfrom
yofukashino:addon-as-folder

Conversation

@yofukashino
Copy link
Contributor

@yofukashino yofukashino commented Oct 10, 2025

  • Added asar.ts because can't import original-fs in util.mts
  • Updated theme and plugin ipc to use asar.ts when getting addon
  • Extracts addons into folder when reading them
  • Removes overhead of dealing with asar all together
  • Updated installer ipc to delete the addon folder if exists when updating
  • Define import.meta.url and globalThis in build script as fix for bundling @electron/asar
  • Extracts user dropped addons aswell since it is done when reading them

Would work on all platforms as long as dev plugins work on it.
Closes #373 and #397

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.

Uninstalling plugins doesn't work (Windows)

2 participants