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

add a heads up in reademe for value.sh issue #1

Open
zacKolton opened this issue Feb 22, 2021 · 0 comments
Open

add a heads up in reademe for value.sh issue #1

zacKolton opened this issue Feb 22, 2021 · 0 comments

Comments

@zacKolton
Copy link

This is for people (like myself) that are lazy and just store the whole .zip file in the widgets folder.

I found a bug where, if you do the above, the widget will not display anything.

Solution, update the class paths you see in the index.coffee file.

Example:
src="./airpods-battery-widget-master/airpods-battery.widget/... will not work

You need to add the parent folder: airpods-battery-widget-master to the path.

Here is a visual:

command: "./airpods-battery.widget/values.sh #{MAC_ADDRESS}"

Should be

command: "./airpods-battery-widget-master/airpods-battery.widget/values.sh #{MAC_ADDRESS}"

Aside, make sure you extract the .zip folder first.

Hope this helps people

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

1 participant