Skip to content

add auto package exporter#16

Open
eioe wants to merge 1 commit into
devfrom
fix/5-add-auto-packageexporter
Open

add auto package exporter#16
eioe wants to merge 1 commit into
devfrom
fix/5-add-auto-packageexporter

Conversation

@eioe
Copy link
Copy Markdown
Member

@eioe eioe commented May 7, 2026

add Editor script which on changes in the EdiaInstaller file automatically exports the updated unitypackage to Packages/EdiaInstaller.unitypackage.

fixes #5

@eioe eioe requested a review from Copilot May 7, 2026 15:21
@eioe eioe self-assigned this May 7, 2026
@eioe eioe added the feat Adds or requests a new feature. label May 7, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an Editor-side automation to keep the distributable EdiaInstaller.unitypackage in sync by re-exporting it whenever Assets/Editor/EdiaInstaller.cs changes, addressing Issue #5 (avoiding manual packaging).

Changes:

  • Added an AssetPostprocessor (AutoPackageExporter) that detects changes to EdiaInstaller.cs and schedules an export after compilation/import finishes.
  • Exports the updated package to Packages/EdiaInstaller.unitypackage (matching the repo’s documented/release workflow location).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
Assets/Editor/AutoPackageExporter.cs New editor automation that schedules and performs AssetDatabase.ExportPackage when EdiaInstaller.cs is reimported.
Assets/Editor/AutoPackageExporter.cs.meta Unity meta file for the new editor script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Assets/Editor/AutoPackageExporter.cs
Comment thread Assets/Editor/AutoPackageExporter.cs
Comment thread Assets/Editor/AutoPackageExporter.cs
@eioe eioe mentioned this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat Adds or requests a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

avoid manual packaging of unitypackage

2 participants