summarylogtreecommitdiffstats
path: root/unity-editor.install
diff options
context:
space:
mode:
Diffstat (limited to 'unity-editor.install')
-rw-r--r--unity-editor.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/unity-editor.install b/unity-editor.install
new file mode 100644
index 000000000000..348b30df81c9
--- /dev/null
+++ b/unity-editor.install
@@ -0,0 +1,12 @@
+unityhub_msg() {
+ echo "To integrate with UnityHub you can run 'unity-editor --register' after every update."
+ echo "To remove the integration you can run 'unity-editor --deregister' or manually remove the entry in UnityHub's GUI."
+}
+
+post_install() {
+ unityhub_msg
+}
+
+post_upgrade() {
+ unityhub_msg
+}