Skip to content

Commit

Permalink
Merge pull request #8 from gyselroth/dev
Browse files Browse the repository at this point in the history
v1.0.5
  • Loading branch information
raffis committed Dec 13, 2018
2 parents 599e67d + 025711f commit 7fe039c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.0.5
**Maintainer**: Raffael Sahli <sahli@gyselroth.net>\
**Date**: Thu December 13 16:42:54 CET 2018

* [FIX] Add file:// protocol to linux nodeicon.setFolderIcon() if not yet set


## 1.0.4
**Maintainer**: Raffael Sahli <sahli@gyselroth.net>\
**Date**: Thu December 13 15:23:20 CET 2018
Expand Down
4 changes: 4 additions & 0 deletions lib/linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ async function ensureItem(node, context) {
}

async function setFolderIcon(node, icon, context) {
if(icon.substr(0, 7) != 'file://') {
icon = 'file://'+icon;
}

return exec([
'gvfs-set-attribute',
node,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gyselroth/node-advanced-desktop",
"version": "1.0.4",
"version": "1.0.5",
"description": "Manage sidebar bookmarks (folder favourites) and folder icons compatible on Linux, Windows and OS X",
"main": "lib/main.js",
"scripts": {
Expand Down

0 comments on commit 7fe039c

Please sign in to comment.