Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Sep 30, 2024
1 parent 7fce99c commit 51dcd22
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,18 @@ for:
- pwd
- dotnet restore Mirivoice.Desktop/Mirivoice.Desktop.csproj
- dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -c Release -r osx-x64 --self-contained true
- mkdir Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/
- mkdir Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/
- mkdir Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/Resources/
- mkdir Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/MacOS/
- cp -R Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/publish/* Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/MacOS/
- cp Mirivoice/Assets/mirivoice.icns Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app/Contents/Resources/
- npm install -g create-dmg
- create-dmg 'Mirivoice.Desktop/bin/x64/Release/net8.0/osx-x64/MiriVoice.app' --overwrite --dmg-title=MiriVoice-osx-x64
- 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

-
Expand Down

0 comments on commit 51dcd22

Please sign in to comment.