@@ -67,6 +67,7 @@
export default {
name: "login-screen",
data: () => ({
+ form: {},
keystorePassword: "",
KeyPassword: "",
overlay: false
diff --git a/gui_wails01_learn/main.go b/gui_wails01_learn/main.go
index 5e9be1d..9ed60fe 100644
--- a/gui_wails01_learn/main.go
+++ b/gui_wails01_learn/main.go
@@ -19,7 +19,10 @@ func init() {
func main() {
if runtime.GOOS != "windows" {
- os.Setenv("PATH", "/usr/bin:/sbin") // This is neccessary when interacting with the CLI on RedHat and other linux distros
+ err := os.Setenv("PATH", "/usr/bin:/sbin")
+ if err != nil {
+ return
+ } // This is neccessary when interacting with the CLI on RedHat and other linux distros
}
js := mewn.String("./frontend/dist/app.js")