Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Atom Build provider for makensis on Wine, compiles NSIS

License

Notifications You must be signed in to change notification settings

idleberg/atom-build-makensis-wine

Repository files navigation

build-makensis-wine

apm apm apm CircleCI David

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.

Screenshot

See the linter in action (the theme is Hopscotch)

Installation

apm

Install build-makensis-wine from Atom's Package Manager or the command-line equivalent:

$ apm install build-makensis-wine

Using Git

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

Usage

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)

Permission denied

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

Shortcuts

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

License

This work is dual-licensed under The MIT License and the GNU General Public License, version 2.0