couleur-tweak-tips / smoothie-rs

🧋 add motion blur to videos, with granular configuration
https://ctt.cx/smoothie
GNU General Public License v3.0
76 stars 11 forks source link

If user is running linux, set "temp_folder" to "/tmp". #43

Closed Hzqkii closed 9 months ago

Hzqkii commented 9 months ago

Checks for whether the user is running Linux and uses "/tmp" instead of the environment variable "TEMP" as it doesn't exist.

he3als commented 9 months ago

I think it would make more sense to use the tempfile module. You can get the temporary directory with tempfile.GetTempDir().

Hzqkii commented 9 months ago

I think it would make more sense to use the tempfile module. You can get the temporary directory with tempfile.GetTempDir().

I have changed it to use that.