Skip to content

Commit

Permalink
fix: show on update too
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Sep 5, 2024
1 parent a1e1a7c commit ea7e721
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ public Plugin() {

Task.Run(async () => await this.State.UpdatePackages());

if (this.Interface.Reason == PluginLoadReason.Installer && !this.Config.FirstTimeSetupComplete) {
if (
!this.Config.FirstTimeSetupComplete
&& this.Interface.Reason is PluginLoadReason.Installer or PluginLoadReason.Update
) {
this.DoFirstTimeSetup();
}
}
Expand Down

0 comments on commit ea7e721

Please sign in to comment.