diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml
index 9dc0453..f524db2 100644
--- a/.github/workflows/dotnet-desktop.yml
+++ b/.github/workflows/dotnet-desktop.yml
@@ -105,11 +105,11 @@ jobs:
- name: Publish
shell: bash
run: |
- dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Win64 -p:PlatformTarget=x64 -o publish/Win64
- dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Win86 -p:PlatformTarget=x86 -o publish/Win86
- dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Linux64 -p:PlatformTarget=x64 -o publish/Linux64
- dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Mac64 -p:PlatformTarget=x64 -o publish/Mac64
- dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=MacArm -p:PlatformTarget=Arm64 -o publish/MacArm
+ dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Win64 -o publish/Win64
+ dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Win86 -o publish/Win86
+ dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Linux64 -o publish/Linux64
+ dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=Mac64 -o publish/Mac64
+ dotnet publish Explorer/Console/GodotPCKExplorer.Console.csproj -p:PublishProfile=MacArm -o publish/MacArm
- name: Prepare artifacts
shell: bash
diff --git a/Core/GodotPCKExplorer/PCKActions.cs b/Core/GodotPCKExplorer/PCKActions.cs
index 6534974..5fb8887 100644
--- a/Core/GodotPCKExplorer/PCKActions.cs
+++ b/Core/GodotPCKExplorer/PCKActions.cs
@@ -101,7 +101,7 @@ static void LoadNativeLibs()
}
else
{
- if (Environment.Is64BitOperatingSystem)
+ if (Environment.Is64BitProcess)
arch = "x64";
else
arch = "x86";
diff --git a/Explorer/Console/Properties/PublishProfiles/Linux64.pubxml b/Explorer/Console/Properties/PublishProfiles/Linux64.pubxml
index 3a62ef5..3dddb20 100644
--- a/Explorer/Console/Properties/PublishProfiles/Linux64.pubxml
+++ b/Explorer/Console/Properties/PublishProfiles/Linux64.pubxml
@@ -3,16 +3,16 @@
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
-
- Release
- Any CPU
- publish\Linux64
- FileSystem
- <_TargetId>Folder
- net8.0
- linux-x64
- true
- true
- true
-
+
+ Release
+ x64
+ publish\Linux64
+ FileSystem
+ <_TargetId>Folder
+ net8.0
+ linux-x64
+ true
+ true
+ true
+
\ No newline at end of file
diff --git a/Explorer/Console/Properties/PublishProfiles/Mac64.pubxml b/Explorer/Console/Properties/PublishProfiles/Mac64.pubxml
index 47da7d9..f2a721c 100644
--- a/Explorer/Console/Properties/PublishProfiles/Mac64.pubxml
+++ b/Explorer/Console/Properties/PublishProfiles/Mac64.pubxml
@@ -3,16 +3,16 @@
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
-
- Release
- Any CPU
- publish\Mac64
- FileSystem
- <_TargetId>Folder
- net8.0
- osx-x64
- true
- true
- true
-
+
+ Release
+ x64
+ publish\Mac64
+ FileSystem
+ <_TargetId>Folder
+ net8.0
+ osx-x64
+ true
+ true
+ true
+
\ No newline at end of file
diff --git a/Explorer/Console/Properties/PublishProfiles/MacArm.pubxml b/Explorer/Console/Properties/PublishProfiles/MacArm.pubxml
index 3f1fe40..47ad124 100644
--- a/Explorer/Console/Properties/PublishProfiles/MacArm.pubxml
+++ b/Explorer/Console/Properties/PublishProfiles/MacArm.pubxml
@@ -3,16 +3,16 @@
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
-
- Release
- Any CPU
- publish\MacArm
- FileSystem
- <_TargetId>Folder
- net8.0
- osx-arm64
- true
- true
- true
-
+
+ Release
+ ARM64
+ publish\MacArm
+ FileSystem
+ <_TargetId>Folder
+ net8.0
+ osx-arm64
+ true
+ true
+ true
+
\ No newline at end of file
diff --git a/Explorer/Console/Properties/PublishProfiles/Win64.pubxml b/Explorer/Console/Properties/PublishProfiles/Win64.pubxml
index c35de83..33f8ade 100644
--- a/Explorer/Console/Properties/PublishProfiles/Win64.pubxml
+++ b/Explorer/Console/Properties/PublishProfiles/Win64.pubxml
@@ -3,17 +3,17 @@
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
-
- Release
- Any CPU
- publish\Win64
- FileSystem
- <_TargetId>Folder
- net8.0
- win-x64
- true
- true
- true
- true
-
+
+ Release
+ x64
+ publish\Win64
+ FileSystem
+ <_TargetId>Folder
+ net8.0
+ win-x64
+ true
+ true
+ true
+ true
+
\ No newline at end of file
diff --git a/Explorer/Console/Properties/PublishProfiles/Win86.pubxml b/Explorer/Console/Properties/PublishProfiles/Win86.pubxml
index 9a81aec..3724295 100644
--- a/Explorer/Console/Properties/PublishProfiles/Win86.pubxml
+++ b/Explorer/Console/Properties/PublishProfiles/Win86.pubxml
@@ -3,17 +3,17 @@
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
-
- Release
- Any CPU
- publish\Win86
- FileSystem
- <_TargetId>Folder
- net8.0
- win-x86
- true
- true
- true
- true
-
+
+ Release
+ x86
+ publish\Win86
+ FileSystem
+ <_TargetId>Folder
+ net8.0
+ win-x86
+ true
+ true
+ true
+ true
+
\ No newline at end of file