From ffe9d6c8312954e2d8b7037bf0b48c73d6f61976 Mon Sep 17 00:00:00 2001 From: EX3 Date: Tue, 1 Oct 2024 13:27:21 +0900 Subject: [PATCH] Fixed mac build --- Mirivoice.Desktop/Mirivoice.Desktop.csproj | 52 +++++++++++++++++++++- appveyor.yml | 6 +-- 2 files changed, 54 insertions(+), 4 deletions(-) diff --git a/Mirivoice.Desktop/Mirivoice.Desktop.csproj b/Mirivoice.Desktop/Mirivoice.Desktop.csproj index 5e14306..552d576 100644 --- a/Mirivoice.Desktop/Mirivoice.Desktop.csproj +++ b/Mirivoice.Desktop/Mirivoice.Desktop.csproj @@ -13,6 +13,8 @@ Mirivoice.Desktop EX3 + + MiriVoice MiriVoice @@ -49,9 +51,57 @@ False False EX3 - MiriVOice + MiriVoice EX3 + + + + + + + + + + + + + + + + + diff --git a/appveyor.yml b/appveyor.yml index da783ec..09a82e3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -58,9 +58,9 @@ for: - pwd - dotnet restore Mirivoice.Desktop/Mirivoice.Desktop.csproj - dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r osx-x64 --self-contained true - - npm install -g create-dmg - - create-dmg --volname "MiriVoice-osx-x64" --volicon "MiriVoice\Mirivoice\Assets\mirivoice.icns" --window-pos 200 120 --window-size 800 400 --icon-size 100 --icon "MiriVoice\Mirivoice\Assets\mirivoice.icns" 200 190 --hide-extension "MiriVoice.app" --app-drop-link 600 185 "MiriVoice-osx-x64.dmg" "MiriVoice.Desktop/bin/x64/Release/net8.0/osx-x64/publish/" - - codesign -fvs - MiriVoice-osx-x64.dmg + - codesign -fvs "Developer ID Application: EX3exp" Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/publish/Mirivoice.app + - brew install create-dmg + - create-dmg MiriVoice-osx-x64.dmg Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/publish/Mirivoice.app - matrix: