|
@@ -3,7 +3,6 @@ package qr
|
|
import (
|
|
import (
|
|
"log"
|
|
"log"
|
|
"os"
|
|
"os"
|
|
- "os/exec"
|
|
|
|
"path/filepath"
|
|
"path/filepath"
|
|
|
|
|
|
"github.com/skip2/go-qrcode"
|
|
"github.com/skip2/go-qrcode"
|
|
@@ -19,6 +18,4 @@ func RenderString(s string) {
|
|
if err2 != nil {
|
|
if err2 != nil {
|
|
panic(err2)
|
|
panic(err2)
|
|
}
|
|
}
|
|
- cmd := exec.Command("rundll32.exe", "url.dll,FileProtocolHandler", dir+"/tmp.png")
|
|
|
|
- cmd.Start()
|
|
|
|
}
|
|
}
|