Skip to content

Commit

Permalink
Fixed mac packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
EX3exp committed Oct 4, 2024
1 parent abd5d26 commit 33eb384
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 9 deletions.
9 changes: 6 additions & 3 deletions Mirivoice.Desktop/appveyor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ def write_info_plist():
write_info_plist()
os.system("dotnet restore Mirivoice.Desktop/Mirivoice.Desktop.csproj -r osx-x64")
os.system("dotnet publish Mirivoice.Desktop/Mirivoice.Desktop.csproj -r osx-x64 -c Release -o Mirivoice.Desktop/bin/osx-x64 -p:AssemblyVersion=%s" % (appcast_ver))
os.system("cp -a Mirivoice.Desktop/bin/osx-x64/ Mirivoice.Desktop/osxbuild/MiriVoice.app/Contents/MacOS/")
os.system("chmod +x Mirivoice.Desktop/osxbuild/MiriVoice.app/Contents/MacOS/run.sh")
os.system("ditto -c -k --keepParent Mirivoice.Desktop/osxbuild/MiriVoice.app Mirivoice.Desktop/osxbuild/MiriVoice-osx-x64.zip")
#os.system("cp -a Mirivoice.Desktop/bin/osx-x64/ Mirivoice.Desktop/osxbuild/MiriVoice.app/Contents/MacOS/")
os.system("cp -a Mirivoice.Desktop/bin/osx-x64/ Mirivoice.Desktop/osxbuild/MiriVoice/")
#os.system("chmod +x Mirivoice.Desktop/osxbuild/MiriVoice.app/Contents/MacOS/run.sh")
os.system("chmod +x Mirivoice.Desktop/osxbuild/MiriVoice/run.sh")
#os.system("ditto -c -k --keepParent Mirivoice.Desktop/osxbuild/MiriVoice.app Mirivoice.Desktop/osxbuild/MiriVoice-osx-x64.zip")
os.system("ditto -c -k --keepParent Mirivoice.Desktop/osxbuild/MiriVoice Mirivoice.Desktop/osxbuild/MiriVoice-osx-x64.zip")
os.system("git checkout Mirivoice.Desktop/Mirivoice.Desktop.csproj")

write_appcast("macos", "osx-x64", "MiriVoice-osx-x64.zip")
Expand Down
Binary file removed Mirivoice.Desktop/mirivoice.icns
Binary file not shown.

This file was deleted.

7 changes: 7 additions & 0 deletions Mirivoice.Desktop/osxbuild/MiriVoice/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
PROJECT_PATH=$1
CANONICAL_DIR=`readlink -f $RELATIVE_DIR`

APP_PATH=$CANONICAL_DIR/MiriVoice

"$APP_PATH" --args $PROJECT_PATH
Binary file added Misc/app_preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Misc/title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Misc/voicer-yaml-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Misc/voicer-yaml-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Misc/voicer-yaml.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.1.0.{build}
version: 1.0.0.{build}
environment:
access_token:
secure: EZGpxMjy4Z14QdM0UqgRTRn+GRbehi7bp6TtZVjH04PqNqMljX9d1QU29YDHOhld
Expand Down

0 comments on commit 33eb384

Please sign in to comment.