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

Don't hardcode app-x.y.z folder on windows #30

Merged
merged 1 commit into from
May 24, 2019
Merged

Conversation

realmar
Copy link
Contributor

@realmar realmar commented May 22, 2019

On windows, slack is installed in a folder which contains the version in its name. It will create a new folder after each update. This folder is called app-x.y.z, currently app-3.4.0 is hardcoded, however, the latest version is app-3.4.1. Because of that, this script failed to execute on my computer.

This PR looks at the modification date of app-* directories and take the one with the latest date. This directory is then used to resolve the ssb-interop.js.

@mykeels
Copy link
Owner

mykeels commented May 24, 2019

Thanks @realmar

@mykeels mykeels merged commit be9c33c into mykeels:master May 24, 2019
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

Successfully merging this pull request may close these issues.

2 participants