Skip to content

Commit

Permalink
feat: add frontend watcher and changelog (#20)
Browse files Browse the repository at this point in the history
* docs: update logo

* docs: update graphic demo

* docs: update readme

* feat: add debounceMS field

* feat: add script file

* release v2.0.0-beta.5
  • Loading branch information
misitebao authored Mar 5, 2022
1 parent 5206277 commit ae21e5d
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/misitebao/wails-template-vue@main/.github/logo.png" height="280" />
<img src="./logo.gif" height="280" />
</p>
<p align="center">
A Wails template based on Vue and Vue-Router
Expand Down
2 changes: 1 addition & 1 deletion .github/README.zh-Hans.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/misitebao/wails-template-vue@main/.github/logo.png" height="280" />
<img src="./logo.gif" height="280" />
</p>
<p align="center">
基于Vue和Vue-Router的Wails模板
Expand Down
Binary file added .github/logo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/misitebao/wails-template-vue@main/.github/logo.png" height="280" />
<img src="./.github/logo.gif" height="280" />
</p>
<p align="center">
A Wails template based on Vue and Vue-Router
Expand Down
9 changes: 9 additions & 0 deletions scripts/build-macos-arm.sh
Original file line number Diff line number Diff line change
@@ -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!"
9 changes: 9 additions & 0 deletions scripts/build-macos-intel.sh
Original file line number Diff line number Diff line change
@@ -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!"
9 changes: 9 additions & 0 deletions scripts/build-macos.sh
Original file line number Diff line number Diff line change
@@ -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!"
9 changes: 9 additions & 0 deletions scripts/build-windows.sh
Original file line number Diff line number Diff line change
@@ -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!"
9 changes: 9 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -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!"
14 changes: 14 additions & 0 deletions scripts/install-wails-cli.sh
Original file line number Diff line number Diff line change
@@ -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!"
1 change: 1 addition & 0 deletions template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "wails-template-vue",
"version":"2.0.0-beta.5",
"shortname": "vue",
"author": "Misitebao <[email protected]>",
"description": "A template using vue and vue-router",
Expand Down
1 change: 1 addition & 0 deletions wails.tmpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down

0 comments on commit ae21e5d

Please sign in to comment.