~welt/murse

40b60fb6ed3748826240b0109d0c38e7ea78f838 — welt 19 days ago 99a7b57
Couple of oopsies with filepaths
2 files changed, 2 insertions(+), 2 deletions(-)

M files.go
M main.go
M files.go => files.go +1 -1
@@ 29,7 29,7 @@ func getKey() (*rsa.PublicKey, error) {
		return nil, err
	}

	f := cd + filepath.Join(cd, "public.key")
	f := filepath.Join(cd, "public.key")
	if fileExists(f) {
		b, err := os.ReadFile(f)
		if err != nil {

M main.go => main.go +1 -1
@@ 51,7 51,7 @@ func main() {
		log.Fatal("Failed to determine cache directory: " + err.Error())
	}

	mcd := filepath.Join(cd)
	mcd := filepath.Join(cd, ".murse")
	tf := filepath.Join(mcd, "ofmanifest.db")

	err = os.WriteFile(tf, *m, 0777)