From fd224db22e4c5a8ebbf2150c27ac56dea15243f3 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 3 Feb 2019 22:22:47 +0000 Subject: [PATCH] Move upstream to code.dumpstack.io --- README.md | 8 ++++---- appvm.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b20330f..ff340b4 100644 --- a/README.md +++ b/README.md @@ -33,17 +33,17 @@ You need to **relogin** if you install virt-manager (libvirt) first time. ## Install appvm tool - $ go get github.com/jollheef/appvm + $ go get code.dumpstack.io/tools/appvm ## Update appvm tool - $ go get -u github.com/jollheef/appvm + $ go get -u code.dumpstack.io/tools/appvm ## Generate resolution By default uses 1920x1080. If you need to regenerate `appvm/nix/monitor.nix`: - $ $GOPATH/src/github.com/jollheef/appvm/generate-resolution.sh 3840 2160 > $GOPATH/src/github.com/jollheef/appvm/nix/monitor.nix + $ $GOPATH/src/code.dumpstack.io/tools/appvm/generate-resolution.sh 3840 2160 > $GOPATH/src/code.dumpstack.io/tools/appvm/nix/monitor.nix Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a X.org monitor section. @@ -52,7 +52,7 @@ Autodetection is a bash-spaghetti, so you need to check results. BTW it's just a $ appvm start chromium --verbose $ # ... long wait for first time, because we need to collect a lot of packages -You can customize local settings in `$GOPATH/github.com/jollheef/appvm/nix/local.nix`. +You can customize local settings in `$GOPATH/code.dumpstack.io/tools/appvm/nix/local.nix`. Default hotkey to release cursor: ctrl+alt. diff --git a/appvm.go b/appvm.go index 1029a39..b46046f 100644 --- a/appvm.go +++ b/appvm.go @@ -116,7 +116,7 @@ func list(l *libvirt.Libvirt) { } fmt.Println("\nAvailable VM:") - files, err := ioutil.ReadDir(os.Getenv("GOPATH") + "/src/github.com/jollheef/appvm/nix") + files, err := ioutil.ReadDir(os.Getenv("GOPATH") + "/src/code.dumpstack.io/tools/appvm/nix") if err != nil { log.Fatal(err) } @@ -257,7 +257,7 @@ func stupidProgressBar() { func start(l *libvirt.Libvirt, name string, verbose bool) { // Currently binary-only installation is not supported, because we need *.nix configurations - appvmPath := os.Getenv("GOPATH") + "/src/github.com/jollheef/appvm" + appvmPath := os.Getenv("GOPATH") + "/src/code.dumpstack.io/tools/appvm" // Copy templates err := prepareTemplates(appvmPath)