mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-11-22 21:50:52 -05:00
Show a drag-to-Applications background in the Mac DMG (#514)
* Show a drag-to-Applications background in the Mac DMG The DMG window now has a background with an arrow from the app to the Applications folder and "Drag Quiver Launcher into Applications", with the two icons placed on it. The release workflow sets TAURI_BUNDLER_DMG_IGNORE_CI so Tauri applies the background and icon layout on GitHub's Mac runners; it skips them whenever CI is true. background.html is the source of background.png (660x400). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HpW11EuhDwzjjCEQXoSG5 * Use a plain straight arrow in the DMG background Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HpW11EuhDwzjjCEQXoSG5 --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
95f6c27c64
commit
4473560085
4 files changed
+29
-1
No files matched your search
@@ -282,6 +282,9 @@ jobs:
|
||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||
HAS_APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE != '' }}
|
||||
# Tauri leaves out the DMG's background and icon layout when CI is true
|
||||
# (the Finder script it runs once failed on build machines); this keeps them.
|
||||
TAURI_BUNDLER_DMG_IGNORE_CI: "true"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<!doctype html><html><head><meta charset="utf-8">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=block" rel="stylesheet">
|
||||
<style>
|
||||
html,body{margin:0;padding:0}
|
||||
body{width:660px;height:400px;overflow:hidden;font-family:Inter,sans-serif;
|
||||
background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f1f6fb 55%, #e4eef8 100%);}
|
||||
.t{position:absolute;left:0;right:0;top:300px;text-align:center;color:#0f172a;font-size:17px;font-weight:600;letter-spacing:-0.1px}
|
||||
.s{position:absolute;left:0;right:0;top:326px;text-align:center;color:#64748b;font-size:12.5px;font-weight:500}
|
||||
svg{position:absolute;left:0;top:0}
|
||||
</style></head><body>
|
||||
<svg width="660" height="400" viewBox="0 0 660 400">
|
||||
<line x1="268" y1="170" x2="384" y2="170" stroke="#0284c7" stroke-width="5" stroke-linecap="round"/>
|
||||
<path d="M372 158 L388 170 L372 182" fill="none" stroke="#0284c7" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
<div class="t">Drag Quiver Launcher into Applications</div>
|
||||
<div class="s">Then open it from Launchpad or your Applications folder</div>
|
||||
</body></html>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 156 KiB |
@@ -17,6 +17,14 @@
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
|
||||
"android": { "debugApplicationIdSuffix": ".dev" }
|
||||
"android": { "debugApplicationIdSuffix": ".dev" },
|
||||
"macOS": {
|
||||
"dmg": {
|
||||
"background": "dmg/background.png",
|
||||
"windowSize": { "width": 660, "height": 400 },
|
||||
"appPosition": { "x": 180, "y": 170 },
|
||||
"applicationFolderPosition": { "x": 480, "y": 170 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user