Skip to content

Commit

Permalink
Merge pull request #20 from Glumboi/Experimental
Browse files Browse the repository at this point in the history
Fix loadFromRemoteSources error
  • Loading branch information
Glumboi authored Apr 3, 2023
2 parents a961056 + ed662a7 commit 378cadf
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .fleet/run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"configurations": [
{
"type": "dotnet",
"name": "Main",
"projectPath": "D:/Github/GlumSak/EmuSak-Revive.GUI-WPF/EmuSak-Revive.GUI-WPF.csproj",
"exePath": "D:/Github/GlumSak/EmuSak-Revive.GUI-WPF/bin/Debug/GlumSak.exe",
"args": [],
},

]
}
3 changes: 3 additions & 0 deletions .fleet/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.guides": []
}
3 changes: 3 additions & 0 deletions EmuSak-Revive.GUI-WPF/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<section name="EmuSak_Revive.GUI_WPF.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<runtime>
<loadFromRemoteSources enabled="true" />
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1" />
</startup>
Expand Down
2 changes: 1 addition & 1 deletion EmuSak-Revive.GUI-WPF/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ private void CreatePluginListItem(string nameOfPlugin, string pathOfIcon, bool a
buttonStop.Content = "Stop Plugin";
buttonStop.Icon = Wpf.Ui.Common.SymbolRegular.Stop24;
buttonStop.Margin = new Thickness(10, 0, 0, 0);
buttonStop.Name = nameOfPlugin;
buttonStop.Name = $"Stop{nameOfPlugin}_Button";
buttonStop.Click += StopPluginButton_Click;

stackPanel.Children.Add(toggleSwitch);
Expand Down
4 changes: 2 additions & 2 deletions EmuSak-Revive.GUI-WPF/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.3.2.0")]
[assembly: AssemblyFileVersion("2.3.2.0")]
[assembly: AssemblyVersion("2.3.2.1")]
[assembly: AssemblyFileVersion("2.3.2.1")]
1 change: 1 addition & 0 deletions EmuSak-Revive.Plugins/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public void ExecutePlugin()
try
{
_hookThread = new Thread(HookPlugin);
_hookThread.Name = PluginName + " {Thread}";
_hookThread.SetApartmentState(ApartmentState.STA);
_hookThread.Start();
}
Expand Down
5 changes: 0 additions & 5 deletions EmuSak-Revive/.fleet/run.json

This file was deleted.

0 comments on commit 378cadf

Please sign in to comment.