Skip to content

Commit 08da12c

Browse files
authored
Merge pull request #1932 from xzenor/npp_x64
Npp x64
2 parents 7bfa485 + 912a225 commit 08da12c

File tree

1 file changed

+107
-0
lines changed

1 file changed

+107
-0
lines changed

npp_x64.sls

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
# just 64-bit installer. x64 was introduced at ver. 7.0. Most plugins are
2+
# now also available for x64 but not all of them. Therefore there's now
3+
# a seperate x64 sls for those who want to use the x64 version.
4+
{% if grains['cpuarch'] == 'AMD64' %}
5+
npp_x64:
6+
{%
7+
for version in [
8+
'8.3.3',
9+
'8.3.1',
10+
'8.2.1',
11+
'8.2',
12+
'8.1.9.3',
13+
'8.1.9.2',
14+
'8.1.5',
15+
'8.1.4',
16+
'8.1.3',
17+
'8.1.2',
18+
'8.1.1',
19+
'8.1',
20+
'7.9.5',
21+
'7.9.4',
22+
'7.9.3',
23+
'7.9.2',
24+
'7.9.1',
25+
'7.9',
26+
'7.8.9',
27+
'7.8.8',
28+
'7.8.7',
29+
'7.8.6',
30+
'7.8.5',
31+
'7.8.4',
32+
'7.8.3',
33+
'7.8.2',
34+
'7.8.1',
35+
'7.8',
36+
'7.7.1',
37+
'7.7',
38+
]
39+
%}
40+
'{{ version }}':
41+
full_name: 'Notepad++ (64-bit x64)'
42+
installer: 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v{{ version }}/npp.{{ version }}.Installer.x64.exe'
43+
install_flags: '/S'
44+
uninstaller: '%ProgramFiles%\Notepad++\uninstall.exe'
45+
uninstall_flags: '/S'
46+
msiexec: False
47+
locale: en_US
48+
reboot: False
49+
{% endfor %}
50+
51+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
52+
# Below are versions of Notepad Plus Plus that have had the installer assets
53+
# removed from github. An uninstall only definition will remain here so the
54+
# packages will show up correctly in `pkg.list_pkgs` and to allow for removal
55+
# using `pkg.remove`
56+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57+
{%
58+
for version in [
59+
'8.3.2',
60+
'8.3',
61+
'8.1.9.1',
62+
'8.1.9',
63+
'8.1.8',
64+
'8.1.7',
65+
'8.1.6',
66+
'8.0',
67+
'7.6.6',
68+
'7.6.5',
69+
'7.6.4',
70+
'7.6.3',
71+
'7.6.2',
72+
'7.6.1',
73+
'7.6',
74+
'7.5.9',
75+
'7.5.8',
76+
'7.5.7',
77+
'7.5.6',
78+
'7.5.5',
79+
'7.5.4',
80+
'7.5.3',
81+
'7.5.2',
82+
'7.5.1',
83+
'7.5',
84+
'7.4.2',
85+
'7.4.1',
86+
'7.4',
87+
'7.3.3',
88+
'7.3.2',
89+
'7.3.1',
90+
'7.3',
91+
'7.2.2',
92+
'7.2.1',
93+
'7.2',
94+
'7.1',
95+
'7',
96+
]
97+
%}
98+
'{{ version }}':
99+
skip_urltest: True
100+
full_name: 'Notepad++ (64-bit x64)'
101+
uninstaller: '%ProgramFiles%\Notepad++\uninstall.exe'
102+
uninstall_flags: '/S'
103+
msiexec: False
104+
locale: en_US
105+
reboot: False
106+
{% endfor %}
107+
{% endif %}

0 commit comments

Comments
 (0)