Skip to content

Commit 6e67f6e

Browse files
authored
Merge pull request #4 from SpotDraft/main
Incorporate Changes from SpotDraft Fork
2 parents c98e153 + 624990d commit 6e67f6e

File tree

5 files changed

+27
-11
lines changed

5 files changed

+27
-11
lines changed

build_differ.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ def main():
5252
print("Building for Windows...")
5353
run_command('dotnet publish ./csproj -c Release -r win-x64 --self-contained')
5454

55+
# Build for macOS
56+
print("Building for macOS...")
57+
run_command('dotnet publish ./csproj -c Release -r osx-x64 --self-contained')
58+
5559
# Compress the Linux build
5660
linux_build_dir = './csproj/bin/Release/net8.0/linux-x64'
5761
compress_files(linux_build_dir, f"./dist/linux-x64-{version}.tar.gz")
@@ -60,6 +64,10 @@ def main():
6064
windows_build_dir = './csproj/bin/Release/net8.0/win-x64'
6165
compress_files(windows_build_dir, f"./dist/win-x64-{version}.zip")
6266

67+
# Compress the macOS build
68+
macos_build_dir = './csproj/bin/Release/net8.0/osx-x64'
69+
compress_files(macos_build_dir, f"./dist/osx-x64-{version}.tar.gz")
70+
6371
print("Build and compression complete.")
6472

6573

0 commit comments

Comments
 (0)