Skip to content

Commit

Permalink
Fix logo issues (sqlitebrowser#2184)
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter authored Apr 20, 2020
1 parent ad39882 commit e985a01
Show file tree
Hide file tree
Showing 15 changed files with 633 additions and 149 deletions.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
612 changes: 612 additions & 0 deletions images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
146 changes: 0 additions & 146 deletions images/sqlitebrowser.svg

This file was deleted.

18 changes: 18 additions & 0 deletions installer/macos/export_icons_set.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env sh

# This script depends on Inkscape being installed

logo='../../images/logo.svg'
iconset='macapp.iconset'

mkdir "$iconset"

for size in '16' '32' '128' '256' '512'; do
retina_size=$(($size * 2))

inkscape "$logo" --without-gui --export-width "$size" --export-file="$iconset/icon_${size}x${size}.png"
inkscape "$logo" --without-gui --export-width "$retina_size" --export-file="$iconset/icon_${size}x${size}@2x.png"
done

iconutil --convert icns "$iconset"
rm -r "$iconset"
Binary file modified installer/macos/macapp.icns
Binary file not shown.
Binary file modified installer/windows/background.bmp
Binary file not shown.
Binary file modified installer/windows/banner.bmp
Binary file not shown.
Binary file modified installer/windows/resources/background.xcf
Binary file not shown.
Binary file modified installer/windows/resources/banner.xcf
Binary file not shown.
Binary file modified installer/windows/resources/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
confinement: strict # use "strict" to enforce system access only via declared interfaces

grade: devel
icon: images/sqlitebrowser.svg
icon: images/logo.svg
type: app

apps:
Expand Down
Binary file modified src/icons/sqlitebrowser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/iconwin.ico
Binary file not shown.
Binary file modified src/macapp.icns
Binary file not shown.
4 changes: 2 additions & 2 deletions src/tools/create_windows_icon.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#!/usr/bin/env sh

# This script depends on imagemagick being installed
# This script depends on ImageMagick being installed

for imgsize in 16 32 64 128
do
Expand Down

0 comments on commit e985a01

Please sign in to comment.