Create multisize versions of ICO files for Windows.
BIN
dist/win/i-measurements.ico
vendored
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 134 KiB |
BIN
dist/win/k-measurements.ico
vendored
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 107 KiB |
BIN
dist/win/layout.ico
vendored
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 104 KiB |
BIN
dist/win/pattern.ico
vendored
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 122 KiB |
BIN
dist/win/s-measurements.ico
vendored
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 183 KiB |
BIN
dist/win/valentina-project.assets/i-measurements.iconset/icon_128x128.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
dist/win/valentina-project.assets/i-measurements.iconset/icon_16x16.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
dist/win/valentina-project.assets/i-measurements.iconset/icon_256x256.png
vendored
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
dist/win/valentina-project.assets/i-measurements.iconset/icon_32x32.png
vendored
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
dist/win/valentina-project.assets/i-measurements.iconset/icon_512x512.png
vendored
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
dist/win/valentina-project.assets/k-measurements.iconset/icon_128x128.png
vendored
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
dist/win/valentina-project.assets/k-measurements.iconset/icon_16x16.png
vendored
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
dist/win/valentina-project.assets/k-measurements.iconset/icon_256x256.png
vendored
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
dist/win/valentina-project.assets/k-measurements.iconset/icon_32x32.png
vendored
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
dist/win/valentina-project.assets/k-measurements.iconset/icon_512x512.png
vendored
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
dist/win/valentina-project.assets/layout.iconset/icon_128x128.png
vendored
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
dist/win/valentina-project.assets/layout.iconset/icon_16x16.png
vendored
Normal file
After Width: | Height: | Size: 799 B |
BIN
dist/win/valentina-project.assets/layout.iconset/icon_256x256.png
vendored
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
dist/win/valentina-project.assets/layout.iconset/icon_32x32.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dist/win/valentina-project.assets/layout.iconset/icon_512x512.png
vendored
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
dist/win/valentina-project.assets/pattern.iconset/icon_128x128.png
vendored
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
dist/win/valentina-project.assets/pattern.iconset/icon_16x16.png
vendored
Normal file
After Width: | Height: | Size: 661 B |
BIN
dist/win/valentina-project.assets/pattern.iconset/icon_256x256.png
vendored
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
dist/win/valentina-project.assets/pattern.iconset/icon_32x32.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
dist/win/valentina-project.assets/pattern.iconset/icon_512x512.png
vendored
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
dist/win/valentina-project.assets/s-measurements.iconset/icon_128x128.png
vendored
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
dist/win/valentina-project.assets/s-measurements.iconset/icon_16x16.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
dist/win/valentina-project.assets/s-measurements.iconset/icon_256x256.png
vendored
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
dist/win/valentina-project.assets/s-measurements.iconset/icon_32x32.png
vendored
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
dist/win/valentina-project.assets/s-measurements.iconset/icon_512x512.png
vendored
Normal file
After Width: | Height: | Size: 70 KiB |
29
scripts/win_ico.sh
Executable file
|
@ -0,0 +1,29 @@
|
|||
#!/bin/bash
|
||||
# Requires icoutils package
|
||||
# Run inside the scripts directory
|
||||
|
||||
declare -a apps=("valentina" "tape" "puzzle")
|
||||
|
||||
for app in "${apps[@]}"; do
|
||||
iconset="../src/app/${app}/share/resources/${app}.iconset"
|
||||
|
||||
icotool --create "--output=../src/app/${app}/share/resources/${app}.ico" \
|
||||
--icon ${iconset}/icon_16x16.png \
|
||||
${iconset}/icon_32x32.png \
|
||||
${iconset}/icon_128x128.png \
|
||||
-r ${iconset}/icon_256x256.png \
|
||||
-r ${iconset}/icon_512x512.png
|
||||
done
|
||||
|
||||
declare -a mimetypes=("i-measurements" "k-measurements" "layout" "pattern" "s-measurements")
|
||||
|
||||
for mimetype in "${mimetypes[@]}"; do
|
||||
iconset="../dist/win/valentina-project.assets/${mimetype}.iconset"
|
||||
|
||||
icotool --create "--output=../dist/win/${mimetype}.ico" \
|
||||
--icon ${iconset}/icon_16x16.png \
|
||||
${iconset}/icon_32x32.png \
|
||||
${iconset}/icon_128x128.png \
|
||||
-r ${iconset}/icon_256x256.png \
|
||||
-r ${iconset}/icon_512x512.png
|
||||
done
|
BIN
src/app/puzzle/share/resources/puzzle.ico
Normal file
After Width: | Height: | Size: 203 KiB |
BIN
src/app/puzzle/share/resources/puzzle.iconset/icon_128x128.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
src/app/puzzle/share/resources/puzzle.iconset/icon_16x16.png
Normal file
After Width: | Height: | Size: 689 B |
BIN
src/app/puzzle/share/resources/puzzle.iconset/icon_256x256.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
src/app/puzzle/share/resources/puzzle.iconset/icon_32x32.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
src/app/puzzle/share/resources/puzzle.iconset/icon_512x512.png
Normal file
After Width: | Height: | Size: 98 KiB |
|
@ -1,4 +1,4 @@
|
|||
IDI_ICON1 ICON DISCARDABLE "puzzleicon/64x64/logo.ico"
|
||||
IDI_ICON1 ICON DISCARDABLE "puzzle.ico"
|
||||
|
||||
#include <windows.h>
|
||||
#include "../../version.h"
|
||||
|
|
Before Width: | Height: | Size: 17 KiB |
BIN
src/app/tape/share/resources/tape.ico
Normal file
After Width: | Height: | Size: 228 KiB |
BIN
src/app/tape/share/resources/tape.iconset/icon_128x128.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
src/app/tape/share/resources/tape.iconset/icon_16x16.png
Normal file
After Width: | Height: | Size: 736 B |
BIN
src/app/tape/share/resources/tape.iconset/icon_256x256.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
src/app/tape/share/resources/tape.iconset/icon_32x32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
src/app/tape/share/resources/tape.iconset/icon_512x512.png
Normal file
After Width: | Height: | Size: 119 KiB |
|
@ -1,4 +1,4 @@
|
|||
IDI_ICON1 ICON DISCARDABLE "tapeicon/64x64/logo.ico"
|
||||
IDI_ICON1 ICON DISCARDABLE "tape.ico"
|
||||
|
||||
#include <windows.h>
|
||||
#include "../../version.h"
|
||||
|
|
Before Width: | Height: | Size: 17 KiB |
BIN
src/app/valentina/share/resources/valentina.ico
Normal file
After Width: | Height: | Size: 232 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 700 B |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 121 KiB |
|
@ -1,4 +1,4 @@
|
|||
IDI_ICON1 ICON DISCARDABLE "../../../../libs/vmisc/share/resources/icon/64x64/icon64x64.ico"
|
||||
IDI_ICON1 ICON DISCARDABLE "valentina.ico"
|
||||
|
||||
#include <windows.h>
|
||||
#include "../../version.h"
|
||||
|
|
Before Width: | Height: | Size: 17 KiB |