AtomLauncher is a simple wrapper for the atom.cmd
script shipped with the Atom editor.
As shipped, Atom cannot nicely be assigned to file types as the default program to open the file for several reasons:
- The executable is in a version-specific folder and so moved with each release.
- Assigning to the
atom.cmd
script gives an unknown/generic file icon which looks horrible. - Launching files with the
atom.cmd
script flashes up a console window (albeit briefly).
See Atom Issue #4893
The current version assumes that atom.cmd
is on your PATH.
Currently the launcher must be installed manually by the user:
- Ensure
atom.cmd
is on your PATH (typeatom
into a Command Prompt window and see if Atom launches if unsure). - Download the latest AtomLauncher release from the releases page.
- Extract the files to any location on your computer (for instance
%LOCALAPPDATA%\AtomLauncher
). - In Windows Explorer, right-click on a file type you wish to open with Atom and select Open with>Choose default program.
- Click the Browse button and navigate to where you placed AtomLauncher.
- Double-click
AtomLauncher.exe
to select the program. - Click Ok in the Open with dialog to set AtomLauncher as the default program for this file type in future.
- Atom should open and display the file.
- Repeat for each file type required.
- Add instructions to release.
- Make the PATH configurable, possibly with an INI file.
- Add installer.
- Look at having a document icon in place of the full Atom icon for files.
- Look at installing AtomLauncher as a suggested program in the "Open with..." dialog.
- Look at optionally setting as default for some file types from installer.