Skip to content

Commit d3ceb5e

Browse files
authored
Merge pull request #22 from Cloud2BR/fix/macos-docs-foundry-flow
docs(macos): align Gatekeeper guidance with docs-foundry
2 parents 04e2f3a + 4def530 commit d3ceb5e

1 file changed

Lines changed: 4 additions & 26 deletions

File tree

docs/index.html

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -928,30 +928,9 @@ <h3>macOS</h3>
928928
<a class="download-label" id="dl-btn-macos" href="https://github.com/Cloud2BR/devopster-cli/releases/latest" target="_blank" rel="noopener noreferrer" aria-label="Download DevOpster for macOS">↓ Download for macOS</a>
929929
<div class="asset-files" id="assets-macos"></div>
930930
<div class="platform-tip">
931-
<p style="margin:0 0 12px;"><span style="display:inline-block;background:#f59e0b;color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;padding:2px 7px;border-radius:4px;margin-right:6px;">PREVIEW BUILD</span>Not yet notarized by Apple — macOS will block it. Pick the option that fits your situation:</p>
932-
933-
<div style="border:1px solid color-mix(in oklab,var(--border) 80%,transparent);border-radius:8px;padding:10px 12px;margin-bottom:8px;background:color-mix(in oklab,var(--card) 55%,var(--surface));">
934-
<strong>Option A — Already saw "Not Opened"? (no Terminal needed)</strong>
935-
<ol style="margin:6px 0 0;padding-left:18px;line-height:1.9;">
936-
<li>Open <strong>System Settings</strong><strong>Privacy &amp; Security</strong></li>
937-
<li>Scroll to the Security section → click <strong>Open Anyway</strong> next to the blocked file</li>
938-
<li>Enter your Mac password — the DMG opens</li>
939-
<li>Drag <strong>DevOpster.app → Applications</strong> inside the DMG window</li>
940-
</ol>
941-
</div>
942-
943-
<div style="border:1px solid color-mix(in oklab,var(--border) 80%,transparent);border-radius:8px;padding:10px 12px;margin-bottom:12px;background:color-mix(in oklab,var(--card) 55%,var(--surface));">
944-
<strong>Option B — Terminal (prevents the warning before opening)</strong>
945-
<span class="copy-cmd" style="display:flex;align-items:center;gap:8px;margin-top:6px;"><code style="font-size:11px;word-break:break-all;">DMG_PATH="$(ls -t "$HOME"/Downloads/DevOpster*.dmg 2>/dev/null | head -n 1)"; [ -n "$DMG_PATH" ] &amp;&amp; xattr -dr com.apple.quarantine "$DMG_PATH" &amp;&amp; open "$DMG_PATH"</code><button type="button" class="copy-btn" data-copy='DMG_PATH="$(ls -t "$HOME"/Downloads/DevOpster*.dmg 2>/dev/null | head -n 1)"; [ -n "$DMG_PATH" ] && xattr -dr com.apple.quarantine "$DMG_PATH" && open "$DMG_PATH"'>Copy</button></span>
946-
<span style="display:block;margin-top:6px;">Then drag the app into Applications:</span>
947-
<span class="drag-flow" aria-hidden="true" style="margin-top:8px;">
948-
<span class="drag-node"><img src="assets/icons/icon-192.png" alt="" loading="lazy"/><span class="drag-label">DevOpster.app</span></span>
949-
<span class="drag-arrow"></span>
950-
<span class="drag-node"><span class="drag-folder"></span><span class="drag-label">Applications</span></span>
951-
</span>
952-
</div>
953-
954-
<span style="display:block;font-size:12px;color:var(--fg-muted,#888);"><strong>Optional:</strong> if the app is still blocked at first launch: <code style="background:var(--surface2);padding:2px 6px;border-radius:4px;">xattr -cr /Applications/DevOpster.app</code></span>
931+
<strong>Gatekeeper:</strong> if macOS shows "Not Opened", open <strong>System Settings → Privacy &amp; Security</strong> and click <strong>Open Anyway</strong>, then open the DMG again.
932+
<span class="copy-cmd" style="display:flex;align-items:center;gap:8px;margin-top:6px;"><code>xattr -cr /Applications/DevOpster.app</code><button type="button" class="copy-btn" data-copy='xattr -cr /Applications/DevOpster.app'>Copy</button></span>
933+
<span style="display:block;margin-top:6px;color:var(--fg-muted,#888);">Run this only if the installed app is blocked at first launch.</span>
955934
</div>
956935
</article>
957936

@@ -1021,9 +1000,8 @@ <h2 style="margin:4px 0 8px;">How to download, install, and use it</h2>
10211000
</p>
10221001
<ol style="margin:0;padding-left:18px;color:var(--muted);font-size:0.84rem;line-height:1.7;">
10231002
<li>Download the DMG and double-click it.</li>
1024-
<li>If macOS shows <strong>"Not Opened"</strong>: open <strong>System Settings → Privacy &amp; Security</strong>, scroll down, and click <strong>Open Anyway</strong> → enter your password.</li>
1003+
<li>If macOS shows <strong>"Not Opened"</strong>, open <strong>System Settings → Privacy &amp; Security</strong> and click <strong>Open Anyway</strong>.</li>
10251004
<li>Drag <code style="background:var(--surface2);padding:1px 4px;border-radius:4px;">DevOpster.app</code> <strong></strong> <code style="background:var(--surface2);padding:1px 4px;border-radius:4px;">/Applications</code>.</li>
1026-
<li><em>Alternative:</em> instead of step 2, run in Terminal: <code style="background:var(--surface2);padding:2px 6px;border-radius:4px;font-size:10.5px;word-break:break-all;">xattr -dr com.apple.quarantine "$HOME"/Downloads/DevOpster*.dmg</code></li>
10271005
<li>If the app is still blocked at first launch: <code style="background:var(--surface2);padding:2px 6px;border-radius:4px;">xattr -cr /Applications/DevOpster.app</code></li>
10281006
</ol>
10291007
</div>

0 commit comments

Comments
 (0)