diff --git a/.github/README.md b/.github/README.md index 1cdb1df..94c26aa 100644 --- a/.github/README.md +++ b/.github/README.md @@ -1,5 +1,5 @@

- +

A Wails template based on Vue and Vue-Router diff --git a/.github/README.zh-Hans.md b/.github/README.zh-Hans.md index aa8e697..29bc601 100644 --- a/.github/README.zh-Hans.md +++ b/.github/README.zh-Hans.md @@ -1,5 +1,5 @@

- +

基于Vue和Vue-Router的Wails模板 diff --git a/.github/logo.gif b/.github/logo.gif new file mode 100644 index 0000000..f8a1cf8 Binary files /dev/null and b/.github/logo.gif differ diff --git a/.github/logo.png b/.github/logo.png index d585a0d..62b670d 100644 Binary files a/.github/logo.png and b/.github/logo.png differ diff --git a/README.md b/README.md index 91ea379..84d8808 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- +

A Wails template based on Vue and Vue-Router diff --git a/scripts/build-macos-arm.sh b/scripts/build-macos-arm.sh new file mode 100644 index 0000000..bc6ee0a --- /dev/null +++ b/scripts/build-macos-arm.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +echo -e "Start running the script..." +cd ../ + +echo -e "Start building the app for macos platform..." +wails build --clean --platform darwin/arm64 + +echo -e "End running the script!" diff --git a/scripts/build-macos-intel.sh b/scripts/build-macos-intel.sh new file mode 100644 index 0000000..f359f63 --- /dev/null +++ b/scripts/build-macos-intel.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +echo -e "Start running the script..." +cd ../ + +echo -e "Start building the app for macos platform..." +wails build --clean --platform darwin + +echo -e "End running the script!" diff --git a/scripts/build-macos.sh b/scripts/build-macos.sh new file mode 100644 index 0000000..d61531f --- /dev/null +++ b/scripts/build-macos.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +echo -e "Start running the script..." +cd ../ + +echo -e "Start building the app for macos platform..." +wails build --clean --platform darwin/universal + +echo -e "End running the script!" diff --git a/scripts/build-windows.sh b/scripts/build-windows.sh new file mode 100644 index 0000000..47b7789 --- /dev/null +++ b/scripts/build-windows.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +echo -e "Start running the script..." +cd ../ + +echo -e "Start building the app for windows platform..." +wails build --clean --platform windows/amd64 + +echo -e "End running the script!" diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 0000000..20ab7eb --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,9 @@ +#! /bin/bash + +echo -e "Start running the script..." +cd ../ + +echo -e "Start building the app..." +wails build --clean + +echo -e "End running the script!" diff --git a/scripts/install-wails-cli.sh b/scripts/install-wails-cli.sh new file mode 100644 index 0000000..7539d8e --- /dev/null +++ b/scripts/install-wails-cli.sh @@ -0,0 +1,14 @@ +#! /bin/bash + +echo -e "Start running the script..." +cd ../ + +echo -e "Current Go version: \c" +go version + +echo -e "Install the Wails command line tool..." +go install github.com/wailsapp/wails/v2/cmd/wails@latest + +echo -e "Successful installation!" + +echo -e "End running the script!" diff --git a/template.json b/template.json index 1f4111b..725a442 100644 --- a/template.json +++ b/template.json @@ -1,5 +1,6 @@ { "name": "wails-template-vue", + "version":"2.0.0-beta.5", "shortname": "vue", "author": "Misitebao ", "description": "A template using vue and vue-router", diff --git a/wails.tmpl.json b/wails.tmpl.json index b633d77..a9f8924 100644 --- a/wails.tmpl.json +++ b/wails.tmpl.json @@ -5,6 +5,7 @@ "frontend:install": "npm install", "frontend:build": "npm run build -w js", "frontend:dev:watcher": "npm run build:watch -w js", + "debounceMS": 2000, "author": { "name": "{{.AuthorName}}", "email": "{{.AuthorEmail}}"