Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need a Little Help Executing #1

Open
Xochipelli opened this issue Mar 8, 2020 · 1 comment
Open

Need a Little Help Executing #1

Xochipelli opened this issue Mar 8, 2020 · 1 comment

Comments

@Xochipelli
Copy link

Xochipelli commented Mar 8, 2020

Love that you took the time to do this project - Thank You!

Not quite clear though on how to execute? (attempting to change vlc icon for custom mp4 icon)
Hoping you could provide a bit more detailed instruction.

I'm assuming:

setuserfta config.json

For testing I've config'd my json file as

{
"shortcuts": [
],
"filetypes": [
{ "extensions": ["mp4"], "openWithApp": "vlc", "icon": "vid-mp4.ico" }
],
"apps": [
{ "name": "vlc", "path": "C:\Program Files\_\VLC\vlc.exe" }
]
}

And dropped ico file in the dir I'm running setuserfta from.
I am running cli as admin, and not sure I should be doing that.

Any clarification you can give would be greatly appreciated :)

@shiro
Copy link
Owner

shiro commented Mar 8, 2020

I'm no longer using the windows OS and can therefore not test the script.
Please check the following things:

  • backslashes in JSON strings need to be escaped (i.e. "C:\\Program FIles\\"
  • please edit glue.sh and modify the variables SHORTCUT_LOATIONS and ICON_DIR to match your setup
  • run the script as admin with the repository root as working directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants