diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 9e733324..a84b90e6 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -48,8 +48,8 @@ jobs:
env:
GITHUB_TOKEN: '${{ secrets.ACTIONS_TOKEN }}'
with:
- tag_name: v1.1.2.3
- release_name: v1.1.2.3.${{ steps.date.outputs.today }}
+ tag_name: v1.1.2.4
+ release_name: v1.1.2.4.${{ steps.date.outputs.today }}
draft: false
prerelease: false
body: |
diff --git a/linker.libs/linker.libs.csproj b/linker.libs/linker.libs.csproj
index 094cb2d4..8216a720 100644
--- a/linker.libs/linker.libs.csproj
+++ b/linker.libs/linker.libs.csproj
@@ -15,8 +15,8 @@
https://github.com/snltty/linker
https://github.com/snltty/linker
1.1.2
- 1.1.2.3
- 1.1.2.3
+ 1.1.2.4
+ 1.1.2.4
full
diff --git a/linker.service/LinkerService.cs b/linker.service/LinkerService.cs
index 1fad7585..09104a06 100644
--- a/linker.service/LinkerService.cs
+++ b/linker.service/LinkerService.cs
@@ -39,7 +39,9 @@ namespace linker.service
{
if (Process.GetProcessesByName(mainExeName).Any() == false)
{
- if (File.Exists($"{mainExeName}.exe.temp"))
+ string filename = Process.GetCurrentProcess().MainModule.FileName;
+ string dir = Path.GetDirectoryName(filename);
+ if (File.Exists(Path.Combine(dir, $"{mainExeName}.exe.temp")))
{
RestartService();
}
diff --git a/linker.service/linker.service.csproj b/linker.service/linker.service.csproj
index e9fcc421..d055a7d5 100644
--- a/linker.service/linker.service.csproj
+++ b/linker.service/linker.service.csproj
@@ -22,8 +22,8 @@
https://github.com/snltty/linker
https://github.com/snltty/linker
snltty service
- 1.1.2.3
- 1.1.2.3
+ 1.1.2.4
+ 1.1.2.4
diff --git a/linker.tunnel/linker.tunnel.csproj b/linker.tunnel/linker.tunnel.csproj
index abb4f232..398eb39c 100644
--- a/linker.tunnel/linker.tunnel.csproj
+++ b/linker.tunnel/linker.tunnel.csproj
@@ -17,8 +17,8 @@
https://github.com/snltty/linker
https://github.com/snltty/linker
linker tunnel
- 1.1.2.3
- 1.1.2.3
+ 1.1.2.4
+ 1.1.2.4
diff --git a/linker/linker.csproj b/linker/linker.csproj
index c25fa421..e49aebed 100644
--- a/linker/linker.csproj
+++ b/linker/linker.csproj
@@ -25,8 +25,8 @@
https://github.com/snltty/linker
https://github.com/snltty/linker
linker
- 1.1.2.3
- 1.1.2.3
+ 1.1.2.4
+ 1.1.2.4