Skip to content

Commit e7fcc1b

Browse files
authored
add an icon to the exe on windows (#55)
1 parent 85ef058 commit e7fcc1b

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
master
22

3+
- add an icon to the exe on windows
4+
35
## 4.1.1 31/07/25
46

57
- do our own tile snapping if gtk has no snap mechanism

src/meson.build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ resources = gnome.compile_resources(
1010
source_dir: 'gtk',
1111
)
1212

13+
if target_machine.system() == 'windows'
14+
windows = import('windows')
15+
resources += windows.compile_resources('vipsdisp.rc',
16+
args: ['-O', 'coff'],
17+
depend_files: 'vipsdisp.ico')
18+
endif
19+
1320
headers = files (
1421
'displaybar.h',
1522
'fuzzy.h',

src/vipsdisp.ico

65.4 KB
Binary file not shown.

src/vipsdisp.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.libvips.vipsdisp ICON "vipsdisp.ico"

0 commit comments

Comments
 (0)