Skip to content

Commit 61502a1

Browse files
committed
🚧 Uninstall message (tells you to restart BB)
1 parent c82c457 commit 61502a1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ BBPlugin.register(PACKAGE.name, {
162162
await_loading: true,
163163
onload() {
164164
events.LOAD.dispatch()
165-
// FIXME - Remove this
166-
openInstallPopup()
167165
},
168166
onunload() {
169167
events.UNLOAD.dispatch()
@@ -174,5 +172,10 @@ BBPlugin.register(PACKAGE.name, {
174172
},
175173
onuninstall() {
176174
events.UNINSTALL.dispatch()
175+
Blockbench.showMessageBox({
176+
title: 'Animated Java has Been Uninstalled!',
177+
message: 'In order to fully uninstall Animated Java, please restart Blockbench.',
178+
buttons: ['OK'],
179+
})
177180
},
178181
})

0 commit comments

Comments
 (0)