electrify-web 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,8 @@ make_iconset_imagemagick() {
|
|
|
16
16
|
|
|
17
17
|
mkdir "$iconset"
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
# macOS iconutil requires specific sizes: 16, 32, 128, 256, 512 (and @2x variants)
|
|
20
|
+
for size in 16 32 128 256 512; do
|
|
20
21
|
$CONVERT "${file}" -define png:big-depth=16 -define png:color-type=6 -sample "${size}x${size}" "${iconset}/icon_${size}x${size}.png"
|
|
21
22
|
$CONVERT "${file}" -define png:big-depth=16 -define png:color-type=6 -sample "$((size * 2))x$((size * 2))" "${iconset}/icon_${size}x${size}@2x.png"
|
|
22
23
|
done
|
|
@@ -29,7 +30,8 @@ make_iconset_sips() {
|
|
|
29
30
|
|
|
30
31
|
mkdir "$iconset"
|
|
31
32
|
|
|
32
|
-
|
|
33
|
+
# macOS iconutil requires specific sizes: 16, 32, 128, 256, 512 (and @2x variants)
|
|
34
|
+
for size in 16 32 128 256 512; do
|
|
33
35
|
sips --setProperty format png --resampleHeightWidth "${size}" "${size}" "${file}" --out "${iconset}/icon_${size}x${size}.png" &> /dev/null
|
|
34
36
|
sips --setProperty format png --resampleHeightWidth "$((size * 2))" "$((size * 2))" "${file}" --out "${iconset}/icon_${size}x${size}@2x.png" &> /dev/null
|
|
35
37
|
done
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nativefier",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "nativefier",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.5",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@electron/asar": "^3.2.4",
|