summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Didron <fd@0x6664.com>2021-07-30 11:04:10 +0900
committerFlorian Didron <fd@0x6664.com>2021-07-30 11:04:10 +0900
commit10748911ea3677cb4c9ec36e0bf99a8412d794f3 (patch)
treea513ea0226c9833c3e97b91bd3ced4ec5b4a8c6f
parentf404aa2e83622d2ded4e6def2c9648f47fe4cc34 (diff)
fix: linux drag n drop crash2.1.2-linux
-rw-r--r--wally/state.go5
-rw-r--r--wally/version.go2
2 files changed, 4 insertions, 3 deletions
diff --git a/wally/state.go b/wally/state.go
index 4013078..ccd67cf 100644
--- a/wally/state.go
+++ b/wally/state.go
@@ -5,7 +5,6 @@ import (
"encoding/binary"
"encoding/json"
"fmt"
- "github.com/wailsapp/wails"
"io/ioutil"
"os"
"path/filepath"
@@ -13,6 +12,8 @@ import (
"strconv"
"strings"
"time"
+
+ "github.com/wailsapp/wails"
)
func jsonEscape(i string) string {
@@ -176,7 +177,7 @@ func (s *State) SelectFirmwareWithData(data string) {
s.Log("error", message)
} else {
s.FirmwarePath = jsonEscape(filePath)
- s.Step = Flashing
+ s.Step = Waiting
s.FlashFirmware()
s.emitUpdate()
}
diff --git a/wally/version.go b/wally/version.go
index 6699d55..bb649e7 100644
--- a/wally/version.go
+++ b/wally/version.go
@@ -8,7 +8,7 @@ func GetAppVersion() string {
case "darwin":
return "2.1.0"
case "linux":
- return "2.1.1"
+ return "2.1.2"
case "windows":
return "2.1.0"
default: