Skip to content

Commit db952e3

Browse files
committed
fix: release
1 parent a052966 commit db952e3

3 files changed

Lines changed: 35 additions & 20 deletions

File tree

‎.github/workflows/publish-maui.yml‎

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,25 @@ jobs:
108108
continue-on-error: true
109109
run: dotnet publish ${{ env.MAUI_PROJECT }} -c Release -f net10.0-maccatalyst -r maccatalyst-arm64
110110

111-
- name: Zip MacCatalyst x64 Release
111+
- name: Create MacCatalyst x64 DMG
112112
if: steps.publish_maccatalyst_x64.outcome == 'success'
113-
uses: vimtor/action-zip@v1.2
114-
with:
115-
files: ${{ env.MAUI_PROJECT_DIR }}/bin/Release/net10.0-maccatalyst/maccatalyst-x64
116-
dest: maccatalyst-x64-release.zip
117-
118-
- name: Zip MacCatalyst arm64 Release
113+
run: |
114+
APP_DIR="${{ env.MAUI_PROJECT_DIR }}bin/Release/net10.0-maccatalyst/maccatalyst-x64"
115+
hdiutil create \
116+
-volname "MakerPrompt" \
117+
-srcfolder "$APP_DIR/MakerPrompt.app" \
118+
-ov -format UDZO \
119+
"makerprompt-maccatalyst-x64.dmg"
120+
121+
- name: Create MacCatalyst arm64 DMG
119122
if: steps.publish_maccatalyst_arm64.outcome == 'success'
120-
uses: vimtor/action-zip@v1.2
121-
with:
122-
files: ${{ env.MAUI_PROJECT_DIR }}/bin/Release/net10.0-maccatalyst/maccatalyst-arm64
123-
dest: maccatalyst-arm64-release.zip
123+
run: |
124+
APP_DIR="${{ env.MAUI_PROJECT_DIR }}bin/Release/net10.0-maccatalyst/maccatalyst-arm64"
125+
hdiutil create \
126+
-volname "MakerPrompt" \
127+
-srcfolder "$APP_DIR/MakerPrompt.app" \
128+
-ov -format UDZO \
129+
"makerprompt-maccatalyst-arm64.dmg"
124130
125131
- name: Release MacCatalyst x64 asset
126132
uses: softprops/action-gh-release@v2
@@ -129,7 +135,7 @@ jobs:
129135
body_path: ${{ github.workspace }}/CHANGELOG.md
130136
make_latest: true
131137
files: |
132-
maccatalyst-x64-release.zip
138+
makerprompt-maccatalyst-x64.dmg
133139
134140
- name: Release MacCatalyst arm64 asset
135141
uses: softprops/action-gh-release@v2
@@ -138,4 +144,4 @@ jobs:
138144
body_path: ${{ github.workspace }}/CHANGELOG.md
139145
make_latest: true
140146
files: |
141-
maccatalyst-arm64-release.zip
147+
makerprompt-maccatalyst-arm64.dmg

‎MakerPrompt.Shared/Layout/NavConnection.razor‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
@onclick="OnConnectionDropdownOpenedAsync">
2121
@NavButtonText
2222
</a>
23-
<div class="dropdown-menu dropdown-menu-end p-3" style="width:30vh;">
23+
<div class="dropdown-menu dropdown-menu-end p-3" style="width:40vw; max-width:36rem;">
2424
<div class="accordion mb-2">
2525
<div class="accordion-item">
2626
<h2 class="accordion-header">

‎MakerPrompt.Shared/wwwroot/css/app.css‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
#app {
2-
font-size: .875rem;
3-
zoom: 80%;
1+
html, body {
2+
margin: 0;
3+
height: 100%;
44
}
55

6-
html, body, #app {
7-
height: 100%;
8-
min-height: 100vh;
6+
body {
7+
overflow: hidden; /* avoid scrollbars from the oversized logical box */
8+
}
9+
10+
#app {
11+
/* global 80% zoom replacement */
12+
transform: scale(0.8);
13+
transform-origin: top left;
14+
15+
/* make the logical box bigger so after scaling it fills the viewport */
16+
width: calc(100% / 0.8); /* 125% */
17+
height: calc(100% / 0.8); /* 125% */
918
}
1019

1120
#blazor-error-ui {

0 commit comments

Comments
 (0)