From 791c13f29fc84ca461edcb86ad86b5cc2c38a158 Mon Sep 17 00:00:00 2001 From: Misite Bao Date: Mon, 22 Aug 2022 18:02:27 +0800 Subject: [PATCH] chore: sort out files (#1776) * chore: organize resources and delete useless files * chore: add CONTRIBUTING.md * chore: update doc issue template * docs: update and sync README --- .github/ISSUE_TEMPLATE/documentation.yml | 1 + CHANGELOG.md | 3 +- CONTRIBUTING.md | 1 + README.md | 94 ++--- README.zh-Hans.md | 393 +++--------------- .../images/logo-universal.png | Bin .../images/sponsors/bronze-sponsor.png | Bin .../images/sponsors/silver-sponsor.png | Bin package-lock.json | 3 - 9 files changed, 102 insertions(+), 393 deletions(-) create mode 100644 CONTRIBUTING.md rename logo-universal.png => assets/images/logo-universal.png (100%) rename img/bronze sponsor.png => assets/images/sponsors/bronze-sponsor.png (100%) rename img/silver sponsor.png => assets/images/sponsors/silver-sponsor.png (100%) delete mode 100644 package-lock.json diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index b9d47ef2a..61b7c4c38 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -12,6 +12,7 @@ body: - Log undocumented APIs - Update link - Documentation other than non-project code + - Add new language If you followed the documentation but things don't work, take some time to consider if it's the documentation or the code that's wrong. In the latter, prefer using the "[Bug Report](https://github.com/wailsapp/wails/issues/new?assignees=&labels=bug&template=bug_report.yml)" template. diff --git a/CHANGELOG.md b/CHANGELOG.md index 688d6a20f..62b09b25f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1 @@ - -The current changelog may be found at: https://wails.io/changelog/ \ No newline at end of file +The current changelog may be found at: https://wails.io/changelog/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..aa53c412a --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1 @@ +The current Contribution Guidelines can be found at: https://wails.io/community-guide diff --git a/README.md b/README.md index 1d954393a..ca567a84d 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,17 @@
- 
+ 
Build desktop applications using Go & Web Technologies.
-
+
-
+
-
+
@@ -19,66 +20,70 @@
-
+
-
+
-
+
+
@@ -109,7 +112,7 @@ This project is supported by these kind people / companies:
+
@@ -174,7 +177,6 @@ This project is supported by these kind people / companies:
-directory
@@ -199,19 +201,11 @@ directory
-
-## Roadmap
-
-The project roadmap may be found [here](https://github.com/wailsapp/wails/discussions/1484). Please consult
-this before open up an enhancement request.
-
-## Installation
+## Getting Started
The installation instructions are on the [official website](https://wails.io/docs/gettingstarted/installation).
-
-
## FAQ
- Is this an alternative to Electron?
@@ -235,15 +229,11 @@ The installation instructions are on the [official website](https://wails.io/doc
[](https://starchart.cc/wailsapp/wails)
-
-
## Contributors
The contributors list is getting too big for the readme! All the amazing people who have contributed to this
project have their own page [here](https://wails.io/credits#contributors).
-
-
## Special Mentions
Without the following people, this project would never have existed:
@@ -271,8 +261,6 @@ This project was mainly coded to the following albums:
- [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
- [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
-
-
## Special Thanks
@@ -287,6 +275,6 @@ This project was mainly coded to the following albums:
- 
+ 
使用 Go 和 Web 技术构建桌面应用程序。
-
+
-
+
-
+
@@ -18,106 +19,89 @@
-
-
-
-
-
+
+
-
+
-
+
-
-
-
+
@@ -125,7 +109,7 @@ Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝
+
@@ -139,9 +123,6 @@ Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝
-
-
-
@@ -193,7 +174,6 @@ Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝
-directory
@@ -218,100 +198,10 @@ directory
-
-## 安装
+## 快速入门
-Wails 使用 cgo 与原生渲染引擎结合,因此需要依赖一些平台的库以及 Go 的安装。基本要求是:
-
-- Go 1.16
-- npm
-
-
-
-### MacOS
-
-请确保已安装 xcode 命令行工具。这可以通过运行下面的命令来完成:
-
-`xcode-select --install`
-
-
-
-### Linux
-
-
-
-#### Debian/Ubuntu
-
-`sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev`
-
-_Debian: 8, 9, 10_
-
-_Ubuntu: 16.04, 18.04, 19.04_
-
-_也成功测试了: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_, Pop!\_OS
-
-
-
-#### Arch Linux / ArchLabs / Ctlos Linux
-
-`sudo pacman -S webkit2gtk gtk3`
-
-_也成功测试了: Manjaro & ArcoLinux_
-
-
-
-#### Centos
-
-`sudo yum install webkitgtk3-devel gtk3-devel`
-
-_CentOS 6, 7_
-
-
-
-#### Fedora
-
-`sudo yum install webkit2gtk3-devel gtk3-devel`
-
-_Fedora 29, 30_
-
-
-
-#### VoidLinux & VoidLinux-musl
-
-`xbps-install gtk+3-devel webkit2gtk-devel`
-
-
-
-#### Gentoo
-
-`sudo emerge gtk+:3 webkit-gtk`
-
-
-
-### Windows
-
-Windows 需要 GCC 和相关工具。 建议从 [http://tdm-gcc.tdragon.net/download](http://tdm-gcc.tdragon.net/download) 下载, 安装完成,您就可以开始了。
-
-
-
-## 使用方法
-
-**确保 Go modules 是开启的:GO111MODULE=on 并且 go/bin 在您的 PATH 变量中。**
-
-安装很简单,运行以下命令:
-
-```
-go get -u github.com/wailsapp/wails/cmd/wails
-```
-
-
-
-### 下一步
-
-建议在此时阅读 [https://wails.app](https://wails.app) 上面的文档.
-
-
+使用说明在[官网](https://wails.io/docs/gettingstarted/installation)。
## 常见问题
@@ -328,182 +218,13 @@ go get -u github.com/wailsapp/wails/cmd/wails
当我看到 WebView 时,我想"我真正想要的是围绕构建 WebView 应用程序工作,有点像 Rails 对于 Ruby"。因此,最初它是一个文字游戏(Webview on
Rails)。碰巧也是我来自的 [国家](https://en.wikipedia.org/wiki/Wales) 的英文名字的同音。所以就是它了。
-
+## 星星增长趋势
+
+[](https://starchart.cc/wailsapp/wails)
## 贡献者
-
-
-
-
@@ -544,3 +263,7 @@ go get -u github.com/wailsapp/wails/cmd/wails
请点击 logo 让他们知道你的感激之情!