Skip to content
This repository was archived by the owner on Jun 29, 2025. It is now read-only.

Commit 9d03d90

Browse files
authored
Merge pull request #41 from sepluginloader/dev
v1.10.4
2 parents eaf4f83 + 9eb92f1 commit 9d03d90

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

PluginLoader/Data/GitHubPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public GitHubPlugin()
3737
public void Init(string mainDirectory)
3838
{
3939
string[] nameArgs = Id.Split(new char[] { '/', '\\' }, StringSplitOptions.RemoveEmptyEntries);
40-
if (nameArgs.Length != 2)
40+
if (nameArgs.Length < 2)
4141
throw new Exception("Invalid GitHub name: " + Id);
4242

4343
if(SourceDirectories != null)

PluginLoader/Main.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ private void ClearGitHubCache(string pluginsDir)
138138

139139
if(hasGitHub)
140140
{
141-
DialogResult result = MessageBox.Show(LoaderTools.GetMainForm(), "Space Engineers has been updated so all GitHub plugins that are currently enabled must be downloaded and compiled. Press OK to continue.", "PluginLoader", MessageBoxButtons.OKCancel);
142-
if (result == DialogResult.Cancel)
143-
return;
141+
MessageBox.Show(LoaderTools.GetMainForm(), "Space Engineers has been updated, so all plugins that are currently enabled must be downloaded and compiled.", "PluginLoader", MessageBoxButtons.OK);
144142
}
145143

146144
try

0 commit comments

Comments
 (0)