Closed thunderstorm99 closed 2 years ago
If anyone from the dev team could approve the workflow, I'd be grateful.
@thunderstorm99 sorry for the late reply, I think this one will change all directories for all OS. Would you mind just adding a condition only for Linux? So Mac/Windows users won't get affected
sorry there was an error on my side. I fixed the error.
What kind of PR is this?:
/kind fix
What this PR does / why we need it:
This PR will move the snapshot folder into ~/.defi/ as opposed to before ~/snapshot I think this is way more predictable as otherwise this might interfere with other programs on the host system. Also it exchanges the deprecated rmdirSync() function for rmSync() (see https://nodejs.org/api/deprecations.html#DEP0147 )
Which issue(s) does this PR fixes?:
1072
Additional comments?:
I tested the resulting .Appimage file on Arch Linux and everything works as expected.