Atom Build provider for makensis on Wine, compiles NSIS. Supports the linter package with a set of error and warning patterns.
If you prefer working with the native compiler, have a look at the build-makensis package.
See the linter in action (the theme is Hopscotch)
Install build-makensis-wine
from Atom's Package Manager or the command-line equivalent:
$ apm install build-makensis-wine
Change to your Atom packages directory:
Windows
# Powershell
$ cd $Env:USERPROFILE\.atom\packages
:: Command Prompt
$ cd %USERPROFILE%\.atom\packages
Linux & macOS
$ cd ~/.atom/packages/
Clone repository as build-makensis-wine
:
$ git clone https://github.com/idleberg/atom-build-makensis-wine build-makensis-wine
Inside the cloned directory, install Node dependencies:
$ yarn || npm install
You should now be setup to build the package:
$ yarn build || npm run build
Before you can build, select an active target with your preferred build option.
Available targets:
makensis on Wine
— compile as-is (Cmd+Alt+B)makensis on Wine (strict)
– compile and stop at warnings, requires NSIS 3 (Ctrl+Alt+Super+B)makensis on Wine (user)
– compile with custom arguments specified in the package settings (Cmd+Alt+U)
Should you get a Permission denied error, you can try and adjust the permissions of the build script:
chmod +x ~/.atom/packages/build-makensis-wine/lib/makensis-wine.sh
Here's a reminder of the default shortcuts you can use with this package:
Select active target
Cmd+Alt+T or F7
Build script
Cmd+Alt+B or F9
Jump to error
Cmd+Alt+G or F4
Toggle build panel
Cmd+Alt+V or F8
This work is dual-licensed under The MIT License and the GNU General Public License, version 2.0