Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.48k stars 682 forks source link

Add command to fix broken permissions to Linux installation instructions #1148

Closed LostXOR closed 10 months ago

LostXOR commented 10 months ago

The CLI zip generated by the build workflow doesn't have any file permissions set, which can cause an error when trying to run DiscordChatExporter depending on how you extract the zip. It doesn't appear to affect MacOS or Windows, only Linux.

Cannot use file stream for [/.../DiscordChatExporter.Cli.runtimeconfig.json]: Permission denied
Invalid runtimeconfig.json [/.../DiscordChatExporter.Cli.runtimeconfig.json] [/.../DiscordChatExporter.Cli.runtimeconfig.dev.json]

This is a limitation with upload-artifact.

This PR adds a command to the Linux installation docs to set the permissions to 644 (the default file permissions).

Tyrrrz commented 10 months ago

Thanks!