Skip to content

Commit fe48396

Browse files
committed
initial commit
1 parent 86a0342 commit fe48396

31 files changed

Lines changed: 465 additions & 0 deletions
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Run CTT-Remote
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
run-ctt-remote:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup .NET Framework 4.8
19+
shell: powershell
20+
run: |
21+
# Check if .NET Framework 4.8 is already installed
22+
$dotNetVersion = Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\' | Get-ItemPropertyValue -Name Release -ErrorAction SilentlyContinue
23+
24+
if ($dotNetVersion -ge 528040) {
25+
Write-Host ".NET Framework 4.8 or later is already installed"
26+
} else {
27+
Write-Host "Installing .NET Framework 4.8..."
28+
# Download .NET Framework 4.8 installer
29+
$installerUrl = "https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/8494001c276a4b96804cde7829c04d7f/ndp48-x86-x64-allos-enu.exe"
30+
$installerPath = "$env:TEMP\ndp48-installer.exe"
31+
32+
Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath
33+
34+
# Install silently
35+
Start-Process -FilePath $installerPath -ArgumentList "/q", "/norestart" -Wait -NoNewWindow
36+
37+
Write-Host ".NET Framework 4.8 installation completed"
38+
}
39+
40+
- name: Verify .NET Framework installation
41+
shell: powershell
42+
run: |
43+
$dotNetVersion = Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\' | Get-ItemPropertyValue -Name Release -ErrorAction SilentlyContinue
44+
Write-Host ".NET Framework version: $dotNetVersion"
45+
46+
if ($dotNetVersion -ge 528040) {
47+
Write-Host ".NET Framework 4.8 or later is installed ✓"
48+
} else {
49+
Write-Error ".NET Framework 4.8 is not installed"
50+
exit 1
51+
}
52+
53+
- name: Run CTT-Remote.exe
54+
shell: powershell
55+
run: |
56+
$exePath = "CTT-Remote/CTT-Remote.exe"
57+
58+
if (Test-Path $exePath) {
59+
Write-Host "Running $exePath..."
60+
& $exePath
61+
} else {
62+
Write-Error "Executable not found at: $exePath"
63+
exit 1
64+
}

CTT-Remote/Aga.Controls.dll

143 KB
Binary file not shown.
28 KB
Binary file not shown.

CTT-Remote/CTT-Remote.exe

7 KB
Binary file not shown.

CTT-Remote/CTT-Remote.exe.config

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
5+
</startup>
6+
<runtime>
7+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
8+
<dependentAssembly>
9+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
10+
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
11+
</dependentAssembly>
12+
<dependentAssembly>
13+
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
14+
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
15+
</dependentAssembly>
16+
<dependentAssembly>
17+
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
18+
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
19+
</dependentAssembly>
20+
</assemblyBinding>
21+
</runtime>
22+
</configuration>

CTT-Remote/CTT-Remote.md

Lines changed: 368 additions & 0 deletions
Large diffs are not rendered by default.

CTT-Remote/FastColoredTextBox.dll

298 KB
Binary file not shown.

CTT-Remote/GoldParser.dll

36 KB
Binary file not shown.

CTT-Remote/JsonRpcShared_NET.dll

35.5 KB
Binary file not shown.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
7+
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
8+
</dependentAssembly>
9+
</assemblyBinding>
10+
</runtime>
11+
</configuration>

0 commit comments

Comments
 (0)