Skip to content

Commit

Permalink
bump version number 3.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Mar 9, 2017
1 parent 6eea032 commit e516ab7
Show file tree
Hide file tree
Showing 24 changed files with 37 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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-v3.6.5-blue.svg)](https://github.com/bil-elmoussaoui/Hardcode-Tray/releases)
release](https://img.shields.io/badge/release-v3.6.6-blue.svg)](https://github.com/bil-elmoussaoui/Hardcode-Tray/releases)

# Hardcode-Tray

Expand Down
2 changes: 1 addition & 1 deletion hardcode-tray
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
version=v3.6.5
version=v3.6.6
if [[ $EUID -ne 0 ]]; then
case $1 in
-u|--update)
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/electron.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/nwjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/pak.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/applications/zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
9 changes: 6 additions & 3 deletions modules/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down Expand Up @@ -192,12 +192,14 @@ def replace_vars_path(self, _path):


class ArgsParser:
"""CLI arguments parser."""

def __init__(self, args):
self._args = args
self.parse()
self._parse()

def parse(self):
def _parse(self):
"""Parse arguments in seperate functions."""
self._parse_theme()
self._parse_colors()
self._parse_conversion_tool()
Expand All @@ -209,6 +211,7 @@ def parse(self):

@property
def args(self):
"""Property : args."""
return self._args

def _parse_theme(self):
Expand Down
2 changes: 1 addition & 1 deletion modules/paths/dropbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/paths/hangouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/svg/imagemagick.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/svg/inkscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/svg/rsvgconvert.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/svg/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/svg/svgcairo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
2 changes: 1 addition & 1 deletion modules/svg/svgexport.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
3 changes: 2 additions & 1 deletion modules/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down Expand Up @@ -35,6 +35,7 @@ def __init__(self, theme_name):

@property
def name(self):
"""Property: name."""
return self._name

def __getattr__(self, item):
Expand Down
2 changes: 1 addition & 1 deletion modules/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down
3 changes: 2 additions & 1 deletion modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down Expand Up @@ -35,6 +35,7 @@


def setup_logging():
"""Setup logging handlern write to a file under /tmp."""
logger = logging.getLogger('hardcode-tray')
tmp_file = '/tmp/Hardcode-Tray/-{0}.log'.format(strftime(LOG_FILE_FORMAT))
if not path.exists(path.dirname(tmp_file)):
Expand Down
8 changes: 7 additions & 1 deletion script.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author : Bilal Elmoussaoui ([email protected])
Contributors : Andreas Angerer, Joshua Fogg
Version : 3.6.5
Version : 3.6.6
Website : https://github.com/bil-elmoussaoui/Hardcode-Tray
Licence : The script is released under GPL, uses a modified script
form Chromium project released under BSD license
Expand Down Expand Up @@ -104,6 +104,12 @@ def get_supported_apps(fix_only, custom_path=""):


def apply(is_install):
"""Fix Hardcoded Tray icons.
Args:
is_install(bool):
True: To apply the modifications
False: To revert it.
"""
apps = get_supported_apps(args.only, args.path)
done = []
if len(apps) != 0:
Expand Down

0 comments on commit e516ab7

Please sign in to comment.