fix some other stuff related to updating Tor dev keys
This commit is contained in:
2
Makefile
2
Makefile
@ -463,7 +463,7 @@ flatpak-remote-install:
|
||||
flatpak --user install org.i2pgit.idk.i2p.plugins.tor-manager org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
|
||||
flatpak-update: flatpak-repo
|
||||
flatpak --user update org.i2pgit.idk.i2p.plugins.tor-manager-dev
|
||||
flatpak --user update org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
|
||||
run-flatpak:
|
||||
flatpak run org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
|
@ -4,7 +4,6 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
flag "github.com/spf13/pflag"
|
||||
)
|
||||
@ -18,7 +17,7 @@ func CleanupArgs() (args []string, trailers []string) {
|
||||
flag.VisitAll(func(f *flag.Flag) {
|
||||
//log.Printf("testing f.Name: %s against %s", f.Name, trimmed)
|
||||
if f.Name == trimmed {
|
||||
log.Printf("found flag: %s", f.Name)
|
||||
log.Printf("found known flag: %s", f.Name)
|
||||
// if the next arg is not a flag(does not start with '-'), add it to the end of arg before
|
||||
// appending arg to args
|
||||
if i+1 < len(os.Args) && os.Args[i+1][0] != '-' {
|
||||
@ -40,7 +39,6 @@ func CleanupArgs() (args []string, trailers []string) {
|
||||
i++
|
||||
}
|
||||
}
|
||||
time.Sleep(time.Second)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
@ -7,4 +7,4 @@ export APP_ID=org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
--nevertor \
|
||||
--p2p=false \
|
||||
--i2pconfig \
|
||||
--directory=~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
--directory=.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
@ -2,5 +2,8 @@
|
||||
export TOR_MANAGER_CLEARNET_MIRROR=true
|
||||
export TOR_MANAGER_REQUIRE_PASSWORD=false
|
||||
export APP_ID=org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
nohup /app/bin/i2p.plugins.tor-manager -p2p=false -directory ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager 2> ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager/tor-manager.err.log 1> ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager/tor-manager.log &
|
||||
/app/bin/i2p.plugins.tor-manager --p2p=false --i2pconfig --directory ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
nohup /app/bin/i2p.plugins.tor-manager -p2p=false -directory=~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager 2> ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager/tor-manager.err.log 1> ~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager/tor-manager.log &
|
||||
/app/bin/i2p.plugins.tor-manager \
|
||||
--p2p=false \
|
||||
--i2pconfig \
|
||||
--directory=.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
@ -5,4 +5,4 @@ export APP_ID=org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
/app/bin/i2p.plugins.tor-manager \
|
||||
--p2p=false \
|
||||
--torbrowser \
|
||||
--directory=~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
--directory=.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
@ -6,4 +6,4 @@ export APP_ID=org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
/app/bin/i2p.plugins.tor-manager \
|
||||
--nevertor \
|
||||
--i2pbrowser \
|
||||
--directory=~/.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
||||
--directory=.var/app/org.i2pgit.idk.i2p.plugins.tor-manager
|
Reference in New Issue
Block a user