mirror of
https://git.alee14.me/shiftos-archive/ShiftOS_TheReturn.git
synced 2025-04-27 04:50:24 +00:00
fix all beta 2.3 bugs
This commit is contained in:
parent
fc815c4869
commit
9916fafefc
4 changed files with 31 additions and 4 deletions
ShiftOS.WinForms
ShiftOS_TheReturn
|
@ -405,7 +405,6 @@ namespace ShiftOS.WinForms.Applications
|
|||
RemoteGuid = "";
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
private void Terminal_FormClosing(object sender, FormClosingEventArgs e)
|
||||
|
@ -425,10 +424,13 @@ namespace ShiftOS.WinForms.Applications
|
|||
{
|
||||
rtbterm.Select(rtbterm.TextLength, 0);
|
||||
}
|
||||
TerminalBackend.PrintPrompt();
|
||||
}
|
||||
|
||||
|
||||
new Thread(() =>
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
TerminalBackend.PrintPrompt();
|
||||
}).Start();
|
||||
}
|
||||
|
||||
public void OnSkinLoad()
|
||||
|
|
|
@ -355,6 +355,7 @@
|
|||
<Compile Include="ShiftOSConfigFile.cs" />
|
||||
<Compile Include="SkinCommands.cs" />
|
||||
<Compile Include="Stories\LegionStory.cs" />
|
||||
<Compile Include="TestCommandsForUpgrades.cs" />
|
||||
<Compile Include="Tools\ColorPickerDataBackend.cs" />
|
||||
<Compile Include="Tools\ControlManager.cs" />
|
||||
<Compile Include="Tools\DitheringEngine.cs" />
|
||||
|
|
20
ShiftOS.WinForms/TestCommandsForUpgrades.cs
Normal file
20
ShiftOS.WinForms/TestCommandsForUpgrades.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ShiftOS.Engine;
|
||||
|
||||
namespace ShiftOS.WinForms
|
||||
{
|
||||
[Namespace("test")]
|
||||
public static class TestCommandsForUpgrades
|
||||
{
|
||||
[ShiftoriumUpgrade("Test Command", 50, "This is a simple test command", null, "Test")]
|
||||
[Command("simpletest")]
|
||||
public static bool Simple()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -445,7 +445,11 @@ namespace ShiftOS.Engine
|
|||
{
|
||||
public ShiftoriumUpgradeAttribute(string name, long cost, string desc, string dependencies, string category) : base(name.ToLower().Replace(" ", "_"))
|
||||
{
|
||||
|
||||
Name = name;
|
||||
Description = desc;
|
||||
Dependencies = dependencies;
|
||||
Cost = cost;
|
||||
Category = category;
|
||||
}
|
||||
|
||||
public string Name { get; private set; }
|
||||
|
|
Loading…
Add table
Reference in a new issue