File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Write-Host "Version: $Version" -ForegroundColor DarkGray
5858
5959# Step 1: Stop running processes
6060Write-Host " `n [1/4] Stopping running processes..." - ForegroundColor Yellow
61- $processes = @ (Get-Process - Name ' MarkdownPointer ' , ' MarkdownPointer.Mcp ' - ErrorAction Ignore)
61+ $processes = @ (Get-Process - Name ' mdp ' , ' mdp-mcp ' - ErrorAction Ignore)
6262if ($processes.Count -gt 0 ) {
6363 $processes | Stop-Process - Force
6464 Start-Sleep - Milliseconds 500
@@ -116,7 +116,7 @@ if (-not $NuGetOnly) {
116116 # Copy MCP server
117117 $mcpExe = Get-ChildItem " $DistDir \mcp-win-x64" - Filter ' *.exe' | Select-Object - First 1
118118 if ($mcpExe ) {
119- Copy-Item $mcpExe.FullName " $bundleDir \MarkdownPointer.Mcp .exe"
119+ Copy-Item $mcpExe.FullName " $bundleDir \mdp-mcp .exe"
120120 }
121121
122122 # Copy README and LICENSE
@@ -167,7 +167,7 @@ Add to claude_desktop_config.json:
167167{
168168 "mcpServers": {
169169 "MarkdownPointer": {
170- "command": "C:\\path\\to\\MarkdownPointer.Mcp .exe"
170+ "command": "C:\\path\\to\\mdp-mcp .exe"
171171 }
172172 }
173173}
Original file line number Diff line number Diff line change 55 <TargetFramework >net8.0</TargetFramework >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <Nullable >enable</Nullable >
8+ <AssemblyName >mdp-mcp</AssemblyName >
89 <Version >0.1.0</Version >
910
1011 <!-- NuGet Tool Package settings -->
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public NamedPipeClient()
2020
2121 private static string ? FindViewerExe ( )
2222 {
23- var exePath = Path . Combine ( AppContext . BaseDirectory , "MarkdownPointer .exe" ) ;
23+ var exePath = Path . Combine ( AppContext . BaseDirectory , "mdp .exe" ) ;
2424 return File . Exists ( exePath ) ? exePath : null ;
2525 }
2626
@@ -98,7 +98,7 @@ public NamedPipeClient()
9898
9999 public bool IsViewerRunning ( )
100100 {
101- return Process . GetProcessesByName ( "MarkdownPointer " ) . Length > 0 ;
101+ return Process . GetProcessesByName ( "mdp " ) . Length > 0 ;
102102 }
103103
104104 public async Task StartViewerAsync ( )
@@ -110,7 +110,7 @@ public async Task StartViewerAsync()
110110
111111 if ( _viewerExePath == null )
112112 {
113- throw new FileNotFoundException ( "MarkdownPointer .exe not found in the same directory as MarkdownPointer.Mcp .exe" ) ;
113+ throw new FileNotFoundException ( "mdp .exe not found in the same directory as mdp-mcp .exe" ) ;
114114 }
115115
116116 var startInfo = new ProcessStartInfo
Original file line number Diff line number Diff line change 66 <Nullable >enable</Nullable >
77 <ImplicitUsings >enable</ImplicitUsings >
88 <UseWPF >true</UseWPF >
9- <AssemblyName >MarkdownPointer </AssemblyName >
9+ <AssemblyName >mdp </AssemblyName >
1010 <Version >0.1.0</Version >
1111
1212 <!-- Single file publish settings -->
Original file line number Diff line number Diff line change 11# MarkdownPointer PowerShell Module
22
33$script :PipeName = " MarkdownPointer_Pipe"
4- $script :ExePath = Join-Path $PSScriptRoot " bin\MarkdownPointer .exe"
4+ $script :ExePath = Join-Path $PSScriptRoot " bin\mdp .exe"
55
66function Send-MarkdownPointerCommand {
77 [CmdletBinding ()]
@@ -57,7 +57,7 @@ function Start-MarkdownPointer {
5757 param ()
5858
5959 if (-not (Test-Path $script :ExePath )) {
60- throw " MarkdownPointer .exe not found at: $script :ExePath "
60+ throw " mdp .exe not found at: $script :ExePath "
6161 }
6262
6363 Start-Process - FilePath $script :ExePath - WindowStyle Normal
@@ -69,7 +69,7 @@ function Start-MarkdownPointer {
6969 Start-Sleep - Milliseconds 200
7070 $elapsed += 0.2
7171 $proc = $null
72- $proc = Get-Process - Name MarkdownPointer - ErrorAction Ignore
72+ $proc = Get-Process - Name mdp - ErrorAction Ignore
7373 if ($proc ) {
7474 Start-Sleep - Milliseconds 500 # Extra wait for pipe initialization
7575 return
@@ -132,7 +132,7 @@ function Show-MarkdownPointer {
132132
133133 begin {
134134 # Check if MarkdownPointer is running
135- $process = Get-Process - Name MarkdownPointer - ErrorAction Ignore
135+ $process = Get-Process - Name mdp - ErrorAction Ignore
136136 if (-not $process ) {
137137 Start-MarkdownPointer
138138 }
You can’t perform that action at this time.
0 commit comments