https://github.com/poi-vrc/upmimporter
Some utility scripts to allow install UPM packages on package import / Unity launch.
https://github.com/poi-vrc/upmimporter
auto importer installer unity upm
Last synced: 2 months ago
JSON representation
Some utility scripts to allow install UPM packages on package import / Unity launch.
- Host: GitHub
- URL: https://github.com/poi-vrc/upmimporter
- Owner: poi-vrc
- License: mit
- Created: 2022-05-02T15:35:02.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-03T09:01:52.000Z (about 4 years ago)
- Last Synced: 2025-02-13T22:37:48.654Z (over 1 year ago)
- Topics: auto, importer, installer, unity, upm
- Language: C#
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UpmImporter
Some utility scripts to allow install UPM packages on package import / Unity launch.
## API Documentation
Documentation available at https://poi-vrc.github.io/UpmImporter
## Creating an installer
Please follow this convention when you are trying to creating an installer using UpmImporter.
You can avoid using this convention and place the file in your own folder if you do not need to block
installations if the old installation places scripts in `Assets`, and require users to remove those
files manually.
```
Assets
|-> chocopoi
|-> UpmImporter
|-> Editor
|-> Installers
|-> Example_Package_Installer.cs.template
|-> Com_Chocopoi_DressingTools_Installer.cs
|-> {YOUR-PACKAGE-NAME-HERE}_Installer.cs
```
The file `Example_Package_Installer.cs.template` contains a template for you to customize for your own setup.
The code will self-delete after its first execution. Therefore, it allows developers to create an
Unity package to install an UPM package from the registry automatically.