Skip to content

Commit

Permalink
Merge pull request #1932 from xzenor/npp_x64
Browse files Browse the repository at this point in the history
Npp x64
  • Loading branch information
twangboy authored Apr 6, 2022
2 parents 7bfa485 + 912a225 commit 08da12c
Showing 1 changed file with 107 additions and 0 deletions.
107 changes: 107 additions & 0 deletions npp_x64.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# just 64-bit installer. x64 was introduced at ver. 7.0. Most plugins are
# now also available for x64 but not all of them. Therefore there's now
# a seperate x64 sls for those who want to use the x64 version.
{% if grains['cpuarch'] == 'AMD64' %}
npp_x64:
{%
for version in [
'8.3.3',
'8.3.1',
'8.2.1',
'8.2',
'8.1.9.3',
'8.1.9.2',
'8.1.5',
'8.1.4',
'8.1.3',
'8.1.2',
'8.1.1',
'8.1',
'7.9.5',
'7.9.4',
'7.9.3',
'7.9.2',
'7.9.1',
'7.9',
'7.8.9',
'7.8.8',
'7.8.7',
'7.8.6',
'7.8.5',
'7.8.4',
'7.8.3',
'7.8.2',
'7.8.1',
'7.8',
'7.7.1',
'7.7',
]
%}
'{{ version }}':
full_name: 'Notepad++ (64-bit x64)'
installer: 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v{{ version }}/npp.{{ version }}.Installer.x64.exe'
install_flags: '/S'
uninstaller: '%ProgramFiles%\Notepad++\uninstall.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Below are versions of Notepad Plus Plus that have had the installer assets
# removed from github. An uninstall only definition will remain here so the
# packages will show up correctly in `pkg.list_pkgs` and to allow for removal
# using `pkg.remove`
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{%
for version in [
'8.3.2',
'8.3',
'8.1.9.1',
'8.1.9',
'8.1.8',
'8.1.7',
'8.1.6',
'8.0',
'7.6.6',
'7.6.5',
'7.6.4',
'7.6.3',
'7.6.2',
'7.6.1',
'7.6',
'7.5.9',
'7.5.8',
'7.5.7',
'7.5.6',
'7.5.5',
'7.5.4',
'7.5.3',
'7.5.2',
'7.5.1',
'7.5',
'7.4.2',
'7.4.1',
'7.4',
'7.3.3',
'7.3.2',
'7.3.1',
'7.3',
'7.2.2',
'7.2.1',
'7.2',
'7.1',
'7',
]
%}
'{{ version }}':
skip_urltest: True
full_name: 'Notepad++ (64-bit x64)'
uninstaller: '%ProgramFiles%\Notepad++\uninstall.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}
{% endif %}

0 comments on commit 08da12c

Please sign in to comment.