diff --git a/src/main/kotlin/com/github/izhangzhihao/rainbow/fart/RainbowFartUpdateNotifyActivity.kt b/src/main/kotlin/com/github/izhangzhihao/rainbow/fart/RainbowFartUpdateNotifyActivity.kt index 16e6320..9a8e1c7 100644 --- a/src/main/kotlin/com/github/izhangzhihao/rainbow/fart/RainbowFartUpdateNotifyActivity.kt +++ b/src/main/kotlin/com/github/izhangzhihao/rainbow/fart/RainbowFartUpdateNotifyActivity.kt @@ -27,7 +27,7 @@ class RainbowFartUpdateNotifyActivity : StartupActivity { if (isInstalled) { val pluginDescriptor = PluginManagerCore.getPlugin(pluginId) if (pluginDescriptor != null) { - StartupActionScriptManager.addActionCommand(StartupActionScriptManager.DeleteCommand(pluginDescriptor.path)) + StartupActionScriptManager.addActionCommand(StartupActionScriptManager.DeleteCommand(pluginDescriptor.pluginPath.toFile())) } } } @@ -81,4 +81,4 @@ class RainbowFartUpdateNotifyActivity : StartupActivity { showFullNotification(project, notification) } } -} \ No newline at end of file +}