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

Doesn't work on Windows 10 MS Store version #12

Open
JOY opened this issue Dec 2, 2018 · 4 comments
Open

Doesn't work on Windows 10 MS Store version #12

JOY opened this issue Dec 2, 2018 · 4 comments

Comments

@JOY
Copy link

JOY commented Dec 2, 2018

Traceback (most recent call last): File "makeitdark.py", line 69, in <module> most_recent = sorted([slack_version for slack_version in os.listdir(slack_root_path) if slack_version.startswith("app-") and os.path.isdir(os.path.join(slack_root_path, slack_version))], reverse=True)[0] FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\USER\\AppData\\Local\\slack'

@LostConnection
Copy link
Owner

Good find, I believe this is because the MS Store installation dir is different from a direct installation from the Slack website. The same happens if you install Slack via snap or some other manager.
Will just have to add the different paths to the script to determine where to inject the styles.

@LostConnection
Copy link
Owner

LostConnection commented Dec 7, 2018

Traceback (most recent call last): File "makeitdark.py", line 69, in <module> most_recent = sorted([slack_version for slack_version in os.listdir(slack_root_path) if slack_version.startswith("app-") and os.path.isdir(os.path.join(slack_root_path, slack_version))], reverse=True)[0] FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\USER\\AppData\\Local\\slack'

@LeGiangAnh
Would you be able to provide me with the directory where your slack install actually exists when installing via the MS Store?

@JOY
Copy link
Author

JOY commented Dec 7, 2018

This one C:\Program Files\WindowsApps\91750D7E.Slack_3.3.3.0_x64__8she8kybcnzg4\app
Please notice that Windows seem prevent me from changing the file in this folder. I tried to modify or override the css file but didn't work.

@LostConnection
Copy link
Owner

LostConnection commented Dec 7, 2018

This one C:\Program Files\WindowsApps\91750D7E.Slack_3.3.3.0_x64__8she8kybcnzg4\app
Please notice that Windows seem prevent me from changing the file in this folder. I tried to modify or override the css file but didn't work.

Mmmm I see. Looks like the permissions of the WindowsApps folder are locked down. I'll have a think about what I want to do about this. I will have a fiddle around with this once I have access to my windows machine.

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