thisiscam/math-with-slack

Not working with flatpak version of Slack on ubuntu

Closed this issue · 3 comments

I tried specifying the directory of installation as well but got the following error.

Traceback (most recent call last): File "/home/shashank/math_slack.py", line 1116, in <module> main() File "/home/shashank/math_slack.py", line 1066, in main _, asar_extracted_dir = extract_asar(tmp_dir, app_path) File "/home/shashank/math_slack.py", line 752, in extract_asar asar_extractor = AsarExtractor.open(app_path) File "/home/shashank/math_slack.py", line 502, in open assert header_data_size == 4 AssertionError

Is flatpak the same thing as a snap install? #9

Inactive for more than 90 days. Closing for now.

If it helps, I had success installing Slack in the user Flatpak installation: flatpak install --user com.slack.Slack, and then using math-with-slack.py on that installation:

python3 math-with-slack.py -a ~/.local/share/flatpak/app/com.slack.Slack/current/active/files/extra/lib/slack/resources/app.asar

You will need to re-run that second step every time Flatpak updates Slack.