Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: 0x78654C/xTerminal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.8.8
Choose a base ref
...
head repository: 0x78654C/xTerminal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.8.8.1
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Aug 20, 2024

  1. fix remote param

    0x78654C committed Aug 20, 2024
    Copy the full SHA
    8f56335 View commit details
  2. fix crash on first opening

    0x78654C committed Aug 20, 2024
    Copy the full SHA
    5a73a1c View commit details
  3. version change

    0x78654C committed Aug 20, 2024
    Copy the full SHA
    c1407a5 View commit details

Commits on Aug 22, 2024

  1. fix reboot command

    0x78654C committed Aug 22, 2024
    Copy the full SHA
    51adefc View commit details
Showing with 8 additions and 7 deletions.
  1. +3 −3 Core/Commands/SystemCommands.cs
  2. +2 −2 Core/Properties/AssemblyInfo.cs
  3. +2 −2 Shell/Properties/AssemblyInfo.cs
  4. +1 −0 Shell/Shell.cs
6 changes: 3 additions & 3 deletions Core/Commands/SystemCommands.cs
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ public static void ShutDownCmd(bool force, string remotePC="")
if(string.IsNullOrEmpty(remotePC))
arg = (force) ? "/c shutdown /s /f /t 1": "/c shutdown /s /t 1";
else
arg = (force) ? $@"/c shutdown /s /m \\{remotePC} /f /t 1" : $@"/c shutdown /s /m \\{remotePC} /t 1";
arg = (force) ? $@"/c shutdown /s /m {remotePC} /f /t 1" : $@"/c shutdown /s /m {remotePC} /t 1";
process.StartInfo = new ProcessStartInfo("cmd.exe")
{
UseShellExecute = false,
@@ -33,9 +33,9 @@ public static void RebootCmd(bool force, string remotePC="")
{
var arg = "";
if (string.IsNullOrEmpty(remotePC))
arg = (force) ? "/c shutdown /s /f /t 1" : "/c shutdown /s /t 1";
arg = (force) ? "/c shutdown /r /f /t 1" : "/c shutdown /r /t 1";
else
arg = (force) ? $@"/c shutdown /s /m \\{remotePC} /f /t 1" : $@"/c shutdown /s /m \\{remotePC} /t 1";
arg = (force) ? $@"/c shutdown /r /m {remotePC} /f /t 1" : $@"/c shutdown /r /m {remotePC} /t 1";
var process = new Process();
process.StartInfo = new ProcessStartInfo("cmd.exe")
{
4 changes: 2 additions & 2 deletions Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.9.0")]
[assembly: AssemblyFileVersion("1.6.9.0")]
[assembly: AssemblyVersion("1.7.0.0")]
[assembly: AssemblyFileVersion("1.7.0.0")]
4 changes: 2 additions & 2 deletions Shell/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.8.8")]
[assembly: AssemblyFileVersion("1.8.8")]
[assembly: AssemblyVersion("1.8.8.1")]
[assembly: AssemblyFileVersion("1.8.8.1")]
1 change: 1 addition & 0 deletions Shell/Shell.cs
Original file line number Diff line number Diff line change
@@ -102,6 +102,7 @@ private void SettingsLoad()
if (s_regUIcd == "")
{
RegistryManagement.regKey_WriteSubkey(GlobalVariables.regKeyName, GlobalVariables.regUIcd, @"True");
s_regUIcd = "True";
}

// Reading history limit size.