Move upstream to code.dumpstack.io

This commit is contained in:
Mikhail Klementev 2019-02-03 22:22:47 +00:00 committed by Mikhail Klementev
parent f60945d3c1
commit fd224db22e
No known key found for this signature in database
GPG Key ID: D90D0727C1FEBEAB
2 changed files with 6 additions and 6 deletions

View File

@ -33,17 +33,17 @@ You need to **relogin** if you install virt-manager (libvirt) first time.
## Install appvm tool ## Install appvm tool
$ go get github.com/jollheef/appvm $ go get code.dumpstack.io/tools/appvm
## Update appvm tool ## Update appvm tool
$ go get -u github.com/jollheef/appvm $ go get -u code.dumpstack.io/tools/appvm
## Generate resolution ## Generate resolution
By default uses 1920x1080. If you need to regenerate `appvm/nix/monitor.nix`: 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. 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 $ appvm start chromium --verbose
$ # ... long wait for first time, because we need to collect a lot of packages $ # ... 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. Default hotkey to release cursor: ctrl+alt.

View File

@ -116,7 +116,7 @@ func list(l *libvirt.Libvirt) {
} }
fmt.Println("\nAvailable VM:") 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 { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
@ -257,7 +257,7 @@ func stupidProgressBar() {
func start(l *libvirt.Libvirt, name string, verbose bool) { func start(l *libvirt.Libvirt, name string, verbose bool) {
// Currently binary-only installation is not supported, because we need *.nix configurations // 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 // Copy templates
err := prepareTemplates(appvmPath) err := prepareTemplates(appvmPath)