mirror of
https://github.com/rwinkhart/cmutton.git
synced 2026-08-27 20:36:31 -04:00
Sync with latest libmutton development version
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import "C"
|
|
||||||
import (
|
|
||||||
"path/filepath"
|
|
||||||
|
|
||||||
"github.com/rwinkhart/go-boilerplate/back"
|
|
||||||
"github.com/rwinkhart/libmutton/global"
|
|
||||||
)
|
|
||||||
|
|
||||||
func init() {
|
|
||||||
// get the app's Library/Application Support directory (private, not backed up by iCloud)
|
|
||||||
back.Home = filepath.Join(back.Home, "Library", "Application Support", "cmutton-ios")
|
|
||||||
|
|
||||||
// change path variables to account for iOS app sandbox
|
|
||||||
global.EntryRoot = back.Home + "/entries" // Path to libmutton entry directory
|
|
||||||
global.CfgDir = back.Home + "/config" // Path to libmutton configuration directory
|
|
||||||
global.CfgPath = global.CfgDir + "/libmuttoncfg.json" // Path to libmutton configuration file
|
|
||||||
global.AgeDir = global.CfgDir + "/age" // Path to libmutton password age directory
|
|
||||||
global.RootLength = len(global.EntryRoot)
|
|
||||||
}
|
|
||||||
@@ -3,8 +3,7 @@ module cmutton
|
|||||||
go 1.26rc3
|
go 1.26rc3
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/rwinkhart/go-boilerplate v0.2.2
|
github.com/rwinkhart/libmutton v0.4.3-0.20260207211737-1351360b35b3
|
||||||
github.com/rwinkhart/libmutton v0.4.3-0.20260125215941-ec9c6b506232
|
|
||||||
github.com/rwinkhart/rcw v0.2.5
|
github.com/rwinkhart/rcw v0.2.5
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -14,6 +13,7 @@ require (
|
|||||||
github.com/kr/fs v0.1.0 // indirect
|
github.com/kr/fs v0.1.0 // indirect
|
||||||
github.com/pkg/sftp v1.13.10 // indirect
|
github.com/pkg/sftp v1.13.10 // indirect
|
||||||
github.com/pquerna/otp v1.5.0 // indirect
|
github.com/pquerna/otp v1.5.0 // indirect
|
||||||
|
github.com/rwinkhart/go-boilerplate v0.2.2 // indirect
|
||||||
github.com/rwinkhart/peercred-mini v0.1.2 // indirect
|
github.com/rwinkhart/peercred-mini v0.1.2 // indirect
|
||||||
golang.org/x/crypto v0.47.0 // indirect
|
golang.org/x/crypto v0.47.0 // indirect
|
||||||
golang.org/x/sys v0.40.0 // indirect
|
golang.org/x/sys v0.40.0 // indirect
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ github.com/pquerna/otp v1.5.0 h1:NMMR+WrmaqXU4EzdGJEE1aUUI0AMRzsp96fFFWNPwxs=
|
|||||||
github.com/pquerna/otp v1.5.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg=
|
github.com/pquerna/otp v1.5.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg=
|
||||||
github.com/rwinkhart/go-boilerplate v0.2.2 h1:SVHTAQU+HWFivtUnDBcfrgClJV5ZmHyFS7/uERh7NKU=
|
github.com/rwinkhart/go-boilerplate v0.2.2 h1:SVHTAQU+HWFivtUnDBcfrgClJV5ZmHyFS7/uERh7NKU=
|
||||||
github.com/rwinkhart/go-boilerplate v0.2.2/go.mod h1:/NVRKGslU20E5xU5YOgXzWxA6aa94BMtv5MtHRTb5Ek=
|
github.com/rwinkhart/go-boilerplate v0.2.2/go.mod h1:/NVRKGslU20E5xU5YOgXzWxA6aa94BMtv5MtHRTb5Ek=
|
||||||
github.com/rwinkhart/libmutton v0.4.3-0.20260125215941-ec9c6b506232 h1:NzUoqkjBy9u9a3wV+D1DR2DemVpYi0Hxug800ybarZE=
|
github.com/rwinkhart/libmutton v0.4.3-0.20260207211737-1351360b35b3 h1:/Q1ldh/a3hjol3PTh9FaIZynlsqr0v6wXf8WaCN486A=
|
||||||
github.com/rwinkhart/libmutton v0.4.3-0.20260125215941-ec9c6b506232/go.mod h1:63SCVQaWcg4JiEBxYEtLwAiRxXQvlpyFsmWUxxfdIpU=
|
github.com/rwinkhart/libmutton v0.4.3-0.20260207211737-1351360b35b3/go.mod h1:IvSFWfVUK0sWZQYaeJUmY8rirpEMqnr8MkN1Suq6C6Y=
|
||||||
github.com/rwinkhart/peercred-mini v0.1.2 h1:4cGWDbv0whvLeVvbUdx84V/9p+2fS+DEXgrA1KxlRFo=
|
github.com/rwinkhart/peercred-mini v0.1.2 h1:4cGWDbv0whvLeVvbUdx84V/9p+2fS+DEXgrA1KxlRFo=
|
||||||
github.com/rwinkhart/peercred-mini v0.1.2/go.mod h1:LLHG7YshHEpbpJJP+Il9nx2dnGj5O3VGE32rWmflj0c=
|
github.com/rwinkhart/peercred-mini v0.1.2/go.mod h1:LLHG7YshHEpbpJJP+Il9nx2dnGj5O3VGE32rWmflj0c=
|
||||||
github.com/rwinkhart/rcw v0.2.5 h1:3GJeii9sDZsZNL+HRkfHrnbgxnaB8a9kejiMIfPXnpE=
|
github.com/rwinkhart/rcw v0.2.5 h1:3GJeii9sDZsZNL+HRkfHrnbgxnaB8a9kejiMIfPXnpE=
|
||||||
|
|||||||
Reference in New Issue
Block a user