-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39b2ad0
commit 33e2019
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,44 +4,44 @@ mkdir publish | |
|
||
#x64 | ||
rm -rf source | ||
mkdir -p source/OneWareStudio.app/Contents | ||
cp -r Contents source/OneWareStudio.app | ||
mkdir OneWareStudio.app/Contents/MacOS | ||
dotnet publish -c Release -f net8.0 -r osx-x64 --self-contained ../OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj -o source/OneWareStudio.app/Contents/MacOS | ||
mkdir -p "source/OneWare Studio.app/Contents" | ||
cp -r Contents "source/OneWare Studio.app" | ||
mkdir "OneWare Studio.app/Contents/MacOS" | ||
dotnet publish -c Release -f net8.0 -r osx-x64 --self-contained ../OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj -o "source/OneWare Studio.app/Contents/MacOS" | ||
|
||
#VERSION=$(strings source/OneWareStudio.app/Contents/MacOS/OneWareStudio.dll | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$') | ||
#VERSION=$(strings source/OneWare Studio.app/Contents/MacOS/OneWareStudio.dll | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$') | ||
PACKAGENAME="publish/OneWareStudio-x64.dmg" | ||
|
||
#codesign -f -s "Developer ID Application: [email protected]" -v "source/OneWareStudio.app" | ||
#codesign -f -s "Developer ID Application: [email protected]" -v "source/OneWare Studio.app" | ||
|
||
create-dmg \ | ||
--volname "Install OneWare Studio" \ | ||
--window-pos 200 120 \ | ||
--window-size 800 400 \ | ||
--icon-size 100 \ | ||
--icon "OneWareStudio.app" 200 190 \ | ||
--hide-extension "OneWareStudio.app" \ | ||
--icon "OneWare Studio.app" 200 190 \ | ||
--hide-extension "OneWare Studio.app" \ | ||
--app-drop-link 600 185 \ | ||
$PACKAGENAME \ | ||
"source/" | ||
|
||
#arm64 | ||
rm -rf source | ||
mkdir -p source/OneWareStudio.app/Contents | ||
cp -r Contents source/OneWareStudio.app | ||
mkdir OneWareStudio.app/Contents/MacOS | ||
dotnet publish -c Release -f net8.0 -r osx-arm64 --self-contained ../OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj -o source/OneWareStudio.app/Contents/MacOS | ||
mkdir -p "source/OneWare Studio.app/Contents" | ||
cp -r Contents "source/OneWare Studio.app" | ||
mkdir "OneWare Studio.app/Contents/MacOS" | ||
dotnet publish -c Release -f net8.0 -r osx-arm64 --self-contained ../OneWare.Studio.Desktop/OneWare.Studio.Desktop.csproj -o "source/OneWare Studio.app/Contents/MacOS" | ||
|
||
#VERSION=$(strings source/OneWareStudio.app/Contents/MacOS/OneWareStudio.dll | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$') | ||
#VERSION=$(strings source/OneWare Studio.app/Contents/MacOS/OneWareStudio.dll | egrep '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$') | ||
PACKAGENAME="publish/OneWareStudio-arm64.dmg" | ||
|
||
create-dmg \ | ||
--volname "Install OneWare Studio" \ | ||
--window-pos 200 120 \ | ||
--window-size 800 400 \ | ||
--icon-size 100 \ | ||
--icon "OneWareStudio.app" 200 190 \ | ||
--hide-extension "OneWareStudio.app" \ | ||
--icon "OneWare Studio.app" 200 190 \ | ||
--hide-extension "OneWare Studio.app" \ | ||
--app-drop-link 600 185 \ | ||
$PACKAGENAME \ | ||
"source/" |