Developing a desktop application for Windows and macOS: from choosing the approach to updates
A desktop application is a program installed on Windows or macOS that launches from the system like any other program and can work with local files, hardware and without a network. It is worth building when the browser's capabilities are not enough; otherwise a web application, which can be opened or installed on a computer from the browser, is often sufficient. Beyond the code itself, a desktop product has its own mandatory part: an installer, a developer signature, notarization for macOS and an auto-update channel.
Open the software development page
What a desktop program is today
The line between a 'program' and a 'website' has blurred in recent years. Many familiar work tools exist both in the browser and as desktop apps, and users sometimes do not even notice the difference. So it is more useful to think not about the name but about where the work happens and what the app has access to.
A desktop app is installed into the system, appears in the program menu or the Dock, opens without a browser and runs in its own window. It can read and save files in the user's folders, talk to printers and scanners, run in the background, show system notifications and keep working without the internet. In return it has duties a website does not: it has to be installed, signed and regularly updated on every computer.
A web app on a computer, a PWA and a desktop program
Between a website and a full program there are intermediate options, and for many tasks they turn out to be the best.
- A web application in the browser. Opens at an address, nothing to install, every update is available to everyone at once. Suits work with data stored on a server.
- A PWA installed from the browser. Gets an icon and its own window and can work with some data offline. To the user it looks almost like a program, but its capabilities are limited by what the browser allows.
- A desktop shell around a web interface. The same interface, but in an installed app with access to files, the system menu, notifications and auto-update.
- A native program. Written for the system with its own tools, it offers maximum speed and depth of integration.
How web applications and PWAs work and how to install a web app on a computer is covered in detail in the article what a web application is.
When a web application is enough
Before ordering a desktop app, it is worth honestly checking whether the browser can solve the task. A web application is enough if:
- the data lives on the server anyway, and the user works with it rather than with files on disk;
- users sign in from different devices, including other people's computers;
- it matters that everyone gets an update at once, without installing it on every workstation;
- offline work is not needed and no hardware has to be connected;
- the company's IT policy forbids or complicates installing programs on work computers.
In such cases a web version is easier to distribute and maintain. It is built as part of web application development, and a desktop shell can be added later if needed.
Scenarios where a desktop program wins
A desktop product is justified when the work itself is closely tied to the user's computer. Typical scenarios:
- processing large files, such as archives, scans, video and exports, which are slow and awkward to push through a server;
- working with documents that, for security reasons, must not leave the device;
- tools for specialists who spend the whole working day in the program and work from the keyboard;
- workstations in a warehouse, shop or factory that need a barcode scanner, a label printer, scales or point-of-sale hardware;
- field work, travel or on-site work where the network drops out;
- background tasks: folder sync, backups, file watching and notifications.
Often a product combines both worlds: the main work happens in the desktop program, while reports, settings and phone access are in a web version with the same account.
Native or cross-platform build
A native app is written for each system with its own tools: for macOS, for example, in Swift, for Windows with Microsoft's tools. It is faster, uses memory more sparingly and fully follows the system's conventions. Cross-platform frameworks such as Electron make it possible to keep one codebase for Mac and Windows and reuse a web interface if one already exists.
The choice depends on the task. Heavy computation and deep system integration argue for a native build. An existing web version and the wish to reach both systems quickly argue for cross-platform. Even with a shared codebase, some parts, such as work with system features, are written for each platform. The approaches are compared in more detail on the page macOS and Windows app development.
Offline mode and synchronisation
Working without the internet is one of the main reasons to build a desktop program, but it has to be designed from the very start. Adding offline mode to a finished app that relies on a constant connection to the server is hard.
- Which data is stored on the computer, and in what form, so that it can be used without a network.
- How changes go to the server when the connection returns, and what the user sees until they are sent.
- What to do about conflicts: if the same record was changed on two computers, which version wins or how they are merged.
- How local data is protected if a laptop is lost or someone else uses it.
- Which actions cannot be performed offline, such as payments, and how to explain this to the user.
The answers to these questions affect the architecture, so they are discussed at the estimation stage, not right before release.
Installation and distribution
Users should receive the program in the way that is familiar for their system. macOS and Windows each have their own installer formats, and producing builds for both systems is a separate part of the work.
There are several distribution paths: downloading from the product's website, the systems' own app stores, and centralised installation within a company through administration tools. Each path has its own requirements: stores review the app and restrict some capabilities, while corporate deployment requires a silent installation with no questions to the user. The distribution channel is worth deciding before development starts, because both the build and some features depend on it.
Code signing and notarization
Both systems warn the user when they launch a program from an unknown developer. To avoid this, the app is signed with a developer certificate: the signature confirms who released the program and that nobody has changed it since release.
For macOS apps distributed outside the App Store there is one more step, notarization: the app is sent for an automated check by Apple, and without it the system warns the user or does not let the program open. Signing and notarization are built into the release process so that every new version goes through them automatically, not by hand on the last day. Signing certificates and keys are secrets just like passwords: they are stored outside the code and the repository.
Updates and auto-update
A desktop program lives separately on every computer, and without an update mechanism users quickly end up on different versions. Auto-update solves this: the app finds out about a new version, downloads it and installs it without manual steps.
- updates ship only after build, lint and tests pass green;
- a new version can first be released to some users while watching the failure alerts;
- it is important to think through how the program handles data saved by an older version;
- if an update is mandatory, for example for security reasons or because the server API changes, the user should understand why they are asked to update.
Besides your own new features, updates are also needed when the systems themselves change: new versions of macOS and Windows, signing requirements and store rules. This is part of regular software support and improvement.
Desktop application security
A desktop program is closer to the user's data than a website, so the requirements for it are higher. The app should request minimal permissions, validate every incoming field and every file it opens, keep secrets out of the code and protect local data. Requests to the server go over a secure connection, and the server does not trust the app blindly but checks permissions for every action itself.
A separate question is which data leaves the computer at all. If a task can be solved on the device, for example recognising text in a scan, that reduces risk and simplifies data protection requirements.
Software for building apps: what desktop apps are made with
Sometimes a search for 'a program for developing apps' is looking not for a finished product but for a tool to build one yourself. Professional desktop apps are written in development environments: Xcode for macOS, Visual Studio for Windows, and general-purpose code editors with the right frameworks for cross-platform projects. The code is only part of the path: after it come building installers, signing, notarization, an update channel and checks before every release.
If you want to test an idea without development first, you can start with an app builder, but its limits show up quickly: data, integrations, signing and code ownership. If the task is already clear, it is easier to start with a short description in your own words; how to write one is shown in the guide how to write a software brief.
Development stages and timeline
Work on a desktop program follows the same steps as any product, plus a separate release block:
- Scoping: what users do on the computer now and where they lose time.
- Solution and estimate: platforms, native or cross-platform build, offline scenarios, distribution channel.
- Interface and architecture: windows, menus, file handling, data storage, connection to the server.
- Building in parts, with working features shown along the way.
- Testing on the required versions of macOS and Windows.
- Installers, signing, notarization, auto-update.
- Release, failure monitoring and the next versions.
A standalone desktop app usually takes several months or more; the first version with the main scenario ships earlier, and the rest comes in later releases. How the schedule comes together is covered in the article app development timeline.
How we build desktop programs at JEEKSSHIRE 24
We go through the whole path of a desktop product with our own products. Wallet and Legal have Mac and Windows versions alongside the web version. In Legal, text recognition from images and screenshots happens right on the user's device, so a document does not have to leave the computer. Every update passes build, lint and tests before deployment, and the desktop versions ship alongside the web version.
For clients we run the product end to end: scoping, interface, installers, signing, notarization, auto-update and support. The source code and the rights to it belong to the client, with the terms fixed in the contract. More on the page macOS and Windows app development, and all services are gathered on the page custom software development.
Frequently asked questions
How is a desktop program different from a web application?
A program is installed into the system, runs in its own window, can use local files and hardware and can work offline. A web application opens in the browser and updates for everyone at once.
Can a web application be installed on a computer?
Yes, if it supports installation as a PWA: Chrome or Edge has an install option, after which the app gets an icon and its own window.
Does an app for Windows and macOS need to be signed?
Yes. Without a signature the systems warn about an unknown developer, and macOS apps distributed outside the App Store also need notarization.
How is a desktop program updated?
Through auto-update: the app finds out about a new version, downloads and installs it. Updates ship after the build and tests pass.
Can a program work without the internet?
Yes, if this is built into the architecture: data is stored locally and synced with the server when the network returns, and conflicting edits are handled by rules.
Can one program be built for both Windows and macOS?
Yes, a cross-platform approach keeps shared code for both systems. Parts tied to system features are written for each platform.
How long does it take to develop a desktop program?
Usually several months or more. The first version with the main scenario ships earlier, and the other features are added in later releases.