cmd/cli: make --cleanup removing more files

While at it, also implementing self-delete function for Windows.
This commit is contained in:
Cuong Manh Le
2024-07-24 18:35:34 +07:00
committed by Cuong Manh Le
parent 72bf80533e
commit 04947b4d87
5 changed files with 169 additions and 5 deletions
+7
View File
@@ -0,0 +1,7 @@
//go:build !windows
package cli
var supportedSelfDelete = true
func selfDeleteExe() error { return nil }