Skip to content

Commit

Permalink
bump version number, remove consecutive if statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jun 24, 2017
1 parent 11a4647 commit 281faca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
5 changes: 2 additions & 3 deletions HardcodeTray/modules/applications/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,8 @@ def install_icon(self, icon, icon_path):
if not self.backup_ignore:
self.backup.create(output_icon)

if ext_theme == ext_orig:
if theme_icon != output_icon:
symlink_file(theme_icon, output_icon)
if ext_theme == ext_orig and theme_icon != output_icon:
symlink_file(theme_icon, output_icon)
elif ext_theme == "svg" and ext_orig == "png":
from HardcodeTray.app import App
if icon_size != App.icon_size():
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/4d5c0768b874407bb1dcc2f928899ba5)](https://www.codacy.com/app/bil-elmoussaoui/Hardcode-Tray?utm_source=github.com&utm_medium=referral&utm_content=bil-elmoussaoui/Hardcode-Tray&utm_campaign=Badge_Coverage)
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/Hardcode-Tray/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
[![Hardcode-Tray
release](https://img.shields.io/badge/release-v4.0-blue.svg)](https://github.com/bil-elmoussaoui/Hardcode-Tray/releases)
release](https://img.shields.io/badge/release-v4.1-blue.svg)](https://github.com/bil-elmoussaoui/Hardcode-Tray/releases)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/BilalELMoussaoui)

Fixes Hardcoded tray icons in Linux
Expand All @@ -29,7 +29,7 @@ Here's a list of themes that supports Hardcode-Tray:

- `python3`
- `python3-gi`
- [`patched sni-qt`](https://github.com/bil-elmoussaoui/sni-qt) <br>
- [`patched sni-qt`](https://github.com/bil-elmoussaoui/sni-qt)
- Pick up your favorite conversion tool
- `python3-cairosvg`
- `librsvg`
Expand All @@ -52,7 +52,7 @@ Stable version:
yaourt -S hardcode-tray sni-qt-patched-git lib32-sni-qt-patched-git
```

<small>The sni-qt patched library by Hardcode-Tray team is still on beta, we will replace the git version with a stable release once we release one.</small>
The sni-qt patched library by Hardcode-Tray team is still on beta, we will replace the git version with a stable release once we release one.
Developpement version:

```bash
Expand All @@ -77,7 +77,7 @@ The one click-installer can be found by following this [link](https://software.o

1- Install dependencies

2- Compile:
2- Compile

```bash
git clone https://github.com/bil-elmoussaoui/Hardcode-Tray
Expand All @@ -93,8 +93,10 @@ sudo -E hardcode-tray

4- Enjoy!

You can build [the patched version of sni-qt](https://github.com/bil-elmoussaoui/Hardcode-Tray/wiki/How-to-build-Sni-qt) from source code if you are using a different distribution (like Fedora).<br />
The `sni-qt:i386` is used for 32 bits applications as Skype.<br />
You can build [the patched version of sni-qt](https://github.com/bil-elmoussaoui/Hardcode-Tray/wiki/How-to-build-Sni-qt) from source code if you are using a different distribution (like Fedora).

The `sni-qt:i386` is used for 32 bits applications as Skype.

Teamviewer is also using the `sni-qt` package. However, it is shipping its own version. Therefore this script also overwrites the version shipped by TeamViewer with the patched one.

## Options
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('hardcode-tray',
version: '4.0'
version: '4.1'
)

i18n = import('i18n')
Expand Down

0 comments on commit 281faca

Please sign in to comment.