alfred-mount icon indicating copy to clipboard operation
alfred-mount copied to clipboard

Mount Network Share Bugfix

Open ghost opened this issue 11 years ago • 5 comments

When using your alfredworkflow it shows the title of the volumes with spaces as %20.

To fix this I added the line

share="${share//%20/ }"

before the out variable is written (line ~10 'out+=...').

Hope it helps, when having a volume with spaces ;),

ghost avatar Jun 27 '13 08:06 ghost

I don't think your fix will work. What's the name of the host and share?

pstadler avatar Jun 27 '13 09:06 pstadler

I tried it out.

The bug only occurs on the unmount keyword!

The share name is Black%20Bible Host is: TREASURE

In Finder the Name of the share is Black Bible and the mount keyword shows it right (with a real space)

ghost avatar Jun 27 '13 10:06 ghost

and the mount command works?

pstadler avatar Jun 27 '13 11:06 pstadler

The mount command shows everything correct :thumbsup: . The unmount shows %20 instead of a space in the xml result/alfred. I don't know what it could be. Could be anything in OS X or my setup. Finder shows a real space, 'Bible Black'. Only in the unmount keyword the resulting $share variable will not be correct for me. It's not a big deal. I only wanted to share, if it worked for me, maybe you wanted to see it ;).

ghost avatar Jun 29 '13 19:06 ghost

Thank you. I'll test your solution as soon as I have time.

pstadler avatar Jul 01 '13 14:07 pstadler