Atom Linter provider for NSIS, using makensis
Screenshot of linter-makensis with Fira Code font & the Hopscotch theme
Make sure that NSIS is properly installed with makensis
in your PATH environment variable.
Download the NSIS installer from SourceForge and run setup. Once completed, you need to edit your environment variable manually.
Alternatively, you can install NSIS through Scoop:
$ scoop install nsis/nsis
Install NSIS from your distribution's default package manager, for example:
# Debian$ sudo apt-get nsis# Red Hat$ sudo dnf install nsis
Install NSIS using Homebrew or MacPorts:
# Homebrew$ brew install nsis# MacPorts$ port install nsis
Install linter-makensis
from Atom's Package Manager or the command-line equivalent:
$ apm install linter-makensis
Change to your Atom packages directory:
# Windows Powershellcd $Env:USERPROFILE\.atom\packages# Windows Command Prompt$ cd %USERPROFILE%\.atom\packages
# Linux & macOS$ cd ~/.atom/packages/
Clone repository as linter-makensis
:
$ git clone https://github.com/idleberg/atom-linter-makensis linter-makensis
Inside the cloned directory, install Node dependencies:
$ yarn || npm install
Your code gets linted whenever you save your document. To tweak the default settings, run “Linter MakeNSIS: Open Settings” from the command-palette.
Setting | Default | Description |
---|---|---|
Path to MakeNSIS | makensis |
Specify the full path to makensis
|
Pre-process Mode | Safe PPO |
The pre-process mode lints much faster, but ignores warnings (unless in strict mode) |
Strict Mode | false |
Treats warnings as errors |
Manage Dependencies | true |
When enabled, third-party dependencies will be installed automatically |
Prepend Code | [] |
Comma-separated list of commands to be prepended to your script |
Append Code | [] |
Comma-separated list of commands to be appended to your script |
Use Wine | false |
When on a non-Windows platform, you can compile installers using Wine |
makensis
This work is dual-licensed under The MIT License and the GNU General Public License, version 2.0
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.