Repository navigation
feat(desktop): add branded Mac and Ubuntu installers - #289
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying markdownviewer with
|
| Latest commit: |
50da0ae
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://50dcca7c.markdownviewer.pages.dev |
| Branch Preview URL: | https://feat-desktop-macos-linux-pac.markdownviewer.pages.dev |
ThisIs-Developer
marked this pull request as ready for review
November 6, 2026 17:01
ThisIs-Developer
force-pushed
the
feat/desktop-macos-linux-packaging
branch
from
November 7, 2026 03:16
2b3e438 to
e4c42a4
Compare
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and resulting behavior
The v3.10.5 macOS assets are raw executables without Finder app bundles or preserved execute permissions. Their Neutralino runtimes require macOS 14, preventing Monterey startup. Linux raw downloads also lack dependency installation and a menu launcher.
This change provides real Mac DMGs and Ubuntu/Debian DEBs, and rebuilds the Mac runtime for broader compatibility. Users install and launch the desktop app with the same native functionality, application id and Documents vault as Windows.
Broad Mac compatibility
There is no application-imposed macOS 12 cutoff and no configured upper-version cutoff. The build targets the oldest native dependencies of the current runtime, separately by CPU:
std::filesystem, introduced in 10.15.macos_support.pyis the single source for compiler targets, Finder metadata and binary validation. CI compiles the actual filesystem dependency at the selected targets and confirms that the Apple compiler rejects it at macOS 10.14. Compiler availability checks remain enabled; newer binaries are never merely relabelled as older-compatible.These are native build targets, not proof of testing on every older OS. Use available Safari/WebKit updates; on Catalina, use Safari 15.6.1. The system WebKit must provide the UI APIs too. Core startup JS and pinned Marked/DOMPurify/Bootstrap scripts were inspected against Safari 15.6; optional chaining,
replaceChildrenandinertare not all available in Catalina's original Safari 13. Full older-WebKit UI/renderer/export acceptance remains required.Compatibility with every historical/future macOS release, PowerPC or 32-bit Macs is not claimed. Going below the current runtime's dependency floor requires backporting/replacing native libraries and qualifying an older browser engine.
Implementation
d1b3a4050f2073f236e14c4746ee8aa7dbb9bfe5) for the architecture-specific dependency baselines, selecting its existing CoreGraphics fallback and removing the unused mandatory ScreenCaptureKit link.Markdown Viewer.app, icon, plist and Applications shortcut. Use HFS+ disk images and per-architectureLSMinimumSystemVersionByArchitecturemetadata; sign after resource injection.Documents/Markdown Viewer Vault. Installing, replacing or uninstalling the app does not delete user documents.macos-latest, Intel macOS 26, macOS 15 and Ubuntu 22.04/24.04.desktop-releasedownload on PR, manual and tag runs. Require the exact asset set, reject missing/extra/empty/non-file assets, include installation instructions and SHA-256 checksums, and check every checksum. Tag publication uses these assembled files and checks their hashes again without rebuilding them.Linux download choices and native branding
Linux has two formats for three architectures: DEB installers and optional portable tarballs for amd64/x64, ARM64 and ARMHF. The recommended desktop-installers ZIP contains only the Windows EXE, three Mac DMGs and three Linux DEBs, with instructions and its own checksums. The full desktop-release download retains all portable archives. No CPU support was removed.
DEB is the recommended Ubuntu/Debian format, following the distribution-specific approach documented by VS Code and Slack. RPM, AppImage, Flatpak and Snap are not implemented by this PR.
3.10.5-1) lets Ubuntu recognize an update from the previous revision-less3.10.5DEB without changing the application version.Ubuntu App Center limitation: its local-DEB page supplies neither publisher nor icon to its header and does not consume the packaged AppStream component there. The header may therefore remain generic, and dedicated license/date fields may remain unknown. The improved long description displays the actual identity/license/links. These changes provide installed-app metadata; they do not change App Center's UI or certify a publisher. See the upstream local title, title bar and metadata model. OS file-type icons and trust warnings are separate from app branding.
Validation and merge readiness
Current head:
50da0aee0f0378a258824d27d678f8138562c8c0. The branch includes currentmain(020ff0cc7c05d1321e90fddf745b14a2648cf254), has no conflicts or unresolved review threads, and GitHub reportsmergeable_state: clean. The PR remains open for the repository owner to merge.All current workflows passed:
Validation includes:
App Center's graphical local-DEB page was investigated in its upstream implementation, not visually tested in this environment. Packaged metadata validation is not a claim that its header now displays a custom logo/publisher.
Complete application downloads
Recommended desktop-installers.zip — approximately 35 MB; GitHub sign-in required; retained until December 7, 2026.
These are complete desktop applications with normal editing, exports and durable vault storage, built using the release packaging process. There is no special test mode or bundled smoke-test fixture. No Node/npm or adjacent resource file is required.
Extract the ZIP, then select:
markdown-viewer-mac_x64.dmg.markdown-viewer-mac_arm64.dmg;markdown-viewer-mac_universal.dmgincludes both.markdown-viewer-linux_amd64.deb(package version3.10.5-1); matching ARM64/ARMHF DEBs are included.markdown-viewer-win_x64.exe.Mac: open the DMG, drag the app to Applications, eject the image, then launch it. Ubuntu: install the DEB using Software Install or
sudo apt install ./markdown-viewer-linux_amd64.deb, then launch Markdown Viewer from Applications. Instructions, signing status and per-file checksums are included.Recommended ZIP SHA-256:
d8b4579a107667e50da0a1d6aeef3d22dfa369b0126770491042e246180549d7.Optional full download with portable Linux archives — approximately 48 MB, also retained until December 7, 2026.
Full ZIP SHA-256:
12e5e84e9527932153750323a7e3cbddc4b641c353ebc87b5fcc9d868eb269c5.Remaining acceptance and distribution limits
All commits use the repository owner's GitHub identity. No merge, version tag or public desktop release has been performed. Merging alone does not publish desktop downloads; a subsequent version-tag push runs the gated publication workflow.