mirror of
https://github.com/wavetermdev/wails.git
synced 2026-04-22 15:26:15 -07:00
Compare commits
75 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ce28215300 | |||
| 5b4129ba07 | |||
| be0f358b4a | |||
| 10cee781a7 | |||
| aebd50db0a | |||
| e9e22434f7 | |||
| 6748e2f983 | |||
| 4cfe7124b2 | |||
| 157619d942 | |||
| 5003c8d7a5 | |||
| 118fd95646 | |||
| 5ce650d08b | |||
| b92953aa96 | |||
| 8e4ce3a2bb | |||
| 0bb8147f5c | |||
| 76338d4e50 | |||
| ac5cd0dd90 | |||
| 16119187be | |||
| 84ef7e1e82 | |||
| 98bc3d5bb7 | |||
| 1918401240 | |||
| 7bb74d7ffe | |||
| ded9b1fa28 | |||
| 74c63799d1 | |||
| 16e80913bf | |||
| 1022d3cd61 | |||
| 2238d6b206 | |||
| 2dd2deadc1 | |||
| 11d54cc875 | |||
| f587457e7e | |||
| 3dee8a931a | |||
| d3b8a7e4af | |||
| db70a0de58 | |||
| 15759b38bf | |||
| 449764943f | |||
| 7254c575d6 | |||
| 7a59bdd09b | |||
| ba3e697a00 | |||
| b370e0e7f0 | |||
| 6805b5a3e9 | |||
| 01ea9496e7 | |||
| 2661eca2cc | |||
| 23593b3c4d | |||
| e323b04bb2 | |||
| 32af38875f | |||
| c4964d6f46 | |||
| 2a3cd47d0c | |||
| 662a406e85 | |||
| b2a79e656f | |||
| 07a3973f9a | |||
| 840d3f1e85 | |||
| 2de06a0684 | |||
| 08ed902b7a | |||
| 3c17905155 | |||
| 7bd1355663 | |||
| a17aeee712 | |||
| 428f839c84 | |||
| 7ab969195c | |||
| 1a6f308494 | |||
| 21b4f643dd | |||
| a07dbb2368 | |||
| c4f9a43ff6 | |||
| e9b2c15664 | |||
| d0a39349d4 | |||
| b93cdcd942 | |||
| 96ffe5b7b2 | |||
| 1026119eca | |||
| f78476e051 | |||
| 124295a79c | |||
| 14adbc12aa | |||
| 28fd3cdba1 | |||
| f97f5bb602 | |||
| f1dc9eb4ef | |||
| 854bd9433d | |||
| e75fb53fa5 |
+30
-1
@@ -655,7 +655,6 @@
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/14013111?v=4",
|
||||
"profile": "https://github.com/GargantuaX",
|
||||
"contributions": [
|
||||
"doc",
|
||||
"financial"
|
||||
]
|
||||
},
|
||||
@@ -1319,6 +1318,36 @@
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "KiddoV",
|
||||
"name": "kiddov",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/28552977?v=4",
|
||||
"profile": "https://github.com/KiddoV",
|
||||
"contributions": [
|
||||
"doc",
|
||||
"financial",
|
||||
"test",
|
||||
"ideas"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "Ilshidur",
|
||||
"name": "Nicolas Coutin",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6564012?v=4",
|
||||
"profile": "https://nicolas-coutin.com/",
|
||||
"contributions": [
|
||||
"financial"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "ParvinEyvazov",
|
||||
"name": "Parvin Eyvazov",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/32189770?v=4",
|
||||
"profile": "https://github.com/ParvinEyvazov",
|
||||
"contributions": [
|
||||
"doc"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 8,
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ exemptLabels:
|
||||
- inprogress
|
||||
- "Selected For Development"
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: wontfix
|
||||
staleLabel: "Wont Fix"
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-v2:
|
||||
name: v2 Build
|
||||
if: github.repository == 'wailsapp/wails'
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: "master"
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ">=1.18.0"
|
||||
|
||||
- name: Build Wails CLI
|
||||
run: |
|
||||
cd ./v2/cmd/wails
|
||||
go install
|
||||
wails -help
|
||||
@@ -1,50 +0,0 @@
|
||||
name: Sync upstream branch and deploy mirror | 同步上游分支并部署镜像
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 8,20 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
name: Automatic deployment | 自动部署
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'misitebao/wails'
|
||||
|
||||
steps:
|
||||
- name: Checkout | 切换到部署分支
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: "master"
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Git | 设置Git
|
||||
run: |
|
||||
git config --local user.email "i@misitebao.com"
|
||||
git config --local user.name "misitebao"
|
||||
|
||||
- name: Add remote upstream repository and sync | 添加远程上游仓库并同步
|
||||
run: |
|
||||
git remote add upstream https://github.com/wailsapp/wails
|
||||
git pull -v --progress --no-rebase "upstream" master
|
||||
|
||||
- name: Push | 推送
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
|
||||
- name: Build Site | 构建网站
|
||||
run: |
|
||||
cd website &&
|
||||
npm install && npm run build
|
||||
|
||||
- name: Deploy to Server | 部署到服务器
|
||||
uses: hengkx/ssh-deploy@v1.0.1
|
||||
with:
|
||||
HOST: ${{ secrets.DEPLOY_HOST }}
|
||||
USERNAME: ${{ secrets.DEPLOY_HOST_USER }}
|
||||
PASSWORD: ${{ secrets.DEPLOY_HOST_PASSWORD }}
|
||||
SOURCE: "website/build"
|
||||
TARGET: "/www/wwwroot/wails.top"
|
||||
@@ -0,0 +1,33 @@
|
||||
name: Generate Sponsor Image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
update-sponsors:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16.x
|
||||
|
||||
- name: Update sponsors
|
||||
run: cd scripts/sponsors && chmod 755 ./generate-sponsor-image.sh && ./generate-sponsor-image.sh
|
||||
env:
|
||||
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
|
||||
SPONSORKIT_GITHUB_LOGIN: wailsapp
|
||||
|
||||
- name: Commit
|
||||
uses: EndBug/add-and-commit@v4
|
||||
with:
|
||||
message: "chore: update sponsors.svg"
|
||||
add: "website/static/img/sponsors.svg"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -0,0 +1,14 @@
|
||||
name: Label sponsors
|
||||
on:
|
||||
pull_request:
|
||||
types: [ opened ]
|
||||
issues:
|
||||
types: [ opened ]
|
||||
jobs:
|
||||
build:
|
||||
name: is-sponsor-label
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: JasonEtco/is-sponsor-label-action@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,34 +0,0 @@
|
||||
name: latest pre-release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
tags:
|
||||
- '**-pre**'
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Test Build Latest Pre-Release
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.16
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go get -v -d ./...
|
||||
- name: Build
|
||||
run: go build -v ./cmd/wails
|
||||
|
||||
- name: Test
|
||||
run: ./wails version
|
||||
@@ -1,32 +0,0 @@
|
||||
name: pr
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Test Build PR
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.16
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go get -v -d ./...
|
||||
- name: Build
|
||||
run: go build -v ./cmd/wails
|
||||
|
||||
- name: Test
|
||||
run: ./wails version
|
||||
@@ -1,34 +1,71 @@
|
||||
name: release
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- '!**pre**'
|
||||
jobs:
|
||||
branches: [ release/* ]
|
||||
pull_request:
|
||||
branches: [ release/* ]
|
||||
workflow_dispatch:
|
||||
|
||||
build:
|
||||
name: Test Build Latest Release
|
||||
jobs:
|
||||
test:
|
||||
name: Run Go Tests
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||
go-version: [ 1.18, 1.19 ]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go 1.16
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.16
|
||||
id: go
|
||||
- name: Install linux dependencies
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
- name: Set up Go 1.18
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go get -v -d ./...
|
||||
- name: Build
|
||||
run: go build -v ./cmd/wails
|
||||
- name: Run tests
|
||||
run: go test -v ./...
|
||||
|
||||
- name: Test
|
||||
run: ./wails version
|
||||
test_templates:
|
||||
name: Test Templates
|
||||
needs: test
|
||||
if: github.repository == 'wailsapp/wails'
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||
template: [ svelte, svelte-ts, vue, vue-ts, react, react-ts, preact, preact-ts, lit, lit-ts, vanilla, vanilla-ts, plain ]
|
||||
go-version: [ 1.18, 1.19 ]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Build Wails CLI
|
||||
run: |
|
||||
cd ./v2/cmd/wails
|
||||
go install
|
||||
wails -help
|
||||
|
||||
- name: Install linux dependencies
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
|
||||
|
||||
- name: Generate template '${{ matrix.template }}'
|
||||
run: |
|
||||
mkdir -p ./test-${{ matrix.template }}
|
||||
cd ./test-${{ matrix.template }}
|
||||
wails init -n ${{ matrix.template }} -t ${{ matrix.template }} -ci
|
||||
cd ${{ matrix.template }}
|
||||
wails build -v 2
|
||||
|
||||
@@ -29,3 +29,5 @@ v2/test/kitchensink/build/darwin/desktop/kitchensink
|
||||
v2/test/kitchensink/frontend/package.json.md5
|
||||
.idea/
|
||||
v2/cmd/wails/internal/commands/initialise/templates/testtemplates/
|
||||
.env
|
||||
/website/static/img/.cache.json
|
||||
|
||||
+57
-159
@@ -1,20 +1,21 @@
|
||||
<h1 align="center">Wails</h1>
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
<img src="./assets/images/logo-universal.png" width="55%"><br/>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
GoとWebの技術を用いてデスクトップアプリケーションを構築します。<br/><br/>
|
||||
GoとWebの技術を用いてデスクトップアプリケーションを構築します。
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/badge/License-MIT-blue.svg" />
|
||||
<img alt="GitHub" src="https://img.shields.io/github/license/wailsapp/wails"/>
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails">
|
||||
<img src="https://goreportcard.com/badge/github.com/wailsapp/wails" />
|
||||
</a>
|
||||
<a href="http://godoc.org/github.com/wailsapp/wails">
|
||||
<img src="https://img.shields.io/badge/godoc-reference-blue.svg" />
|
||||
</a>
|
||||
<a href="https://www.codefactor.io/repository/github/wailsapp/wails">
|
||||
<img src="https://www.codefactor.io/repository/github/wailsapp/wails/badge" alt="CodeFactor" />
|
||||
<a href="https://pkg.go.dev/github.com/wailsapp/wails">
|
||||
<img src="https://pkg.go.dev/badge/github.com/wailsapp/wails.svg" alt="Go Reference"/>
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/issues">
|
||||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" />
|
||||
@@ -25,59 +26,58 @@
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow">
|
||||
<img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" rel="nofollow">
|
||||
<img src="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" alt="Release Pipelines" />
|
||||
<a href="https://app.slack.com/client/T029RQSE6/CJ4P9F7MZ">
|
||||
<img alt="Slack" src="https://img.shields.io/badge/slack-gophers%2Fwails%20-blue?logo=slack"/>
|
||||
</a>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/actions/workflows/build.yml" rel="nofollow">
|
||||
<img src="https://img.shields.io/github/workflow/status/wailsapp/wails/Build?logo=github" alt="Build" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/tags" rel="nofollow">
|
||||
<img alt="GitHub tag (latest SemVer pre-release)" src="https://img.shields.io/github/v/tag/wailsapp/wails?include_prereleases&label=version"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<hr/>
|
||||
<h3 align="center">
|
||||
<div align="center">
|
||||
<strong>
|
||||
注意:v2のリリースが近づいているため、v1の新しい機能リクエストやバグレポートは受け付けておりません。重要な問題がある場合はチケットを開き、なぜそれが重要なのかを明記してください。
|
||||
<samp>
|
||||
|
||||
[English](README.md) · [简体中文](README.zh-Hans.md) · [日本語](README.ja.md)
|
||||
|
||||
</samp>
|
||||
</strong>
|
||||
</h3>
|
||||
<hr/>
|
||||
|
||||
## 国際化
|
||||
|
||||
[English](README.md) | [简体中文](README.zh-Hans.md) | [日本語](README.ja.md)
|
||||
</div>
|
||||
|
||||
## 目次
|
||||
|
||||
<details>
|
||||
<summary>クリックすることで、ディレクトリ一覧の開閉が可能です。</summary>
|
||||
|
||||
- [1. 国際化](#国際化)
|
||||
- [2. 目次](#目次)
|
||||
- [3. はじめに](#はじめに)
|
||||
- [3.1 公式サイト](#公式サイト)
|
||||
- [3.2 ロードマップ](#ロードマップ)
|
||||
- [4. 特徴](#特徴)
|
||||
- [5. スポンサー](#スポンサー)
|
||||
- [6. 始め方](#始め方)
|
||||
- [7. FAQ](#faq)
|
||||
- [8. コントリビューター](#コントリビューター)
|
||||
- [9. 特記事項](#特記事項)
|
||||
- [10. スペシャルサンクス](#スペシャルサンクス)
|
||||
- [11. ライセンス](#ライセンス)
|
||||
|
||||
</details>
|
||||
- [目次](#目次)
|
||||
- [はじめに](#はじめに)
|
||||
- [公式サイト](#公式サイト)
|
||||
- [ロードマップ](#ロードマップ)
|
||||
- [特徴](#特徴)
|
||||
- [スポンサー](#スポンサー)
|
||||
- [始め方](#始め方)
|
||||
- [FAQ](#faq)
|
||||
- [コントリビューター](#コントリビューター)
|
||||
- [特記事項](#特記事項)
|
||||
- [スペシャルサンクス](#スペシャルサンクス)
|
||||
- [ライセンス](#ライセンス)
|
||||
|
||||
## はじめに
|
||||
|
||||
Goプログラムにウェブインタフェースを提供する従来の方法は内蔵のウェブサーバを経由するものですが、 Wailsでは異なるアプローチを提供します。
|
||||
Wailsでは Go のコードとウェブフロントエンドを単一のバイナリにまとめる機能を提供します。
|
||||
Go プログラムにウェブインタフェースを提供する従来の方法は内蔵のウェブサーバを経由するものですが、 Wails では異なるアプローチを提供します。
|
||||
Wails では Go のコードとウェブフロントエンドを単一のバイナリにまとめる機能を提供します。
|
||||
また、プロジェクトの作成、コンパイル、ビルドを行うためのツールが提供されています。あなたがすべきことは創造性を発揮することです!
|
||||
|
||||
### 公式サイト
|
||||
|
||||
Version 2:
|
||||
|
||||
Wails v2が3つのプラットフォームでベータ版としてリリースされました。興味のある方は[新しいウェブサイト](https://wails.io)をご覧ください。
|
||||
Wails v2 が 3 つのプラットフォームでベータ版としてリリースされました。興味のある方は[新しいウェブサイト](https://wails.io)をご覧ください。
|
||||
|
||||
レガシー版 v1:
|
||||
|
||||
レガシー版 v1のドキュメントは[https://wails.app](https://wails.app)で見ることができます。
|
||||
レガシー版 v1 のドキュメントは[https://wails.app](https://wails.app)で見ることができます。
|
||||
|
||||
### ロードマップ
|
||||
|
||||
@@ -86,124 +86,22 @@ Wails v2が3つのプラットフォームでベータ版としてリリース
|
||||
|
||||
## 特徴
|
||||
|
||||
- バックエンドにはGoを利用しています
|
||||
- 使い慣れたフロントエンド技術を利用してUIを構築できます
|
||||
- あらかじめ用意されたテンプレートを利用することで、リッチなフロントエンドを備えたGoプログラムを作成できます
|
||||
- JavaScriptからGoのメソッドを簡単に呼び出すことができます
|
||||
- あなたの書いたGoの構造体やメソットに応じたTypeScriptの定義が自動生成されます
|
||||
- バックエンドには Go を利用しています
|
||||
- 使い慣れたフロントエンド技術を利用して UI を構築できます
|
||||
- あらかじめ用意されたテンプレートを利用することで、リッチなフロントエンドを備えた Go プログラムを作成できます
|
||||
- JavaScript から Go のメソッドを簡単に呼び出すことができます
|
||||
- あなたの書いた Go の構造体やメソットに応じた TypeScript の定義が自動生成されます
|
||||
- ネイティブのダイアログとメニューが利用できます
|
||||
- モダンな半透明や「frosted window」エフェクトをサポートしています
|
||||
- GoとJavaScript間で統一されたイベント・システムを備えています
|
||||
- プロジェクトを素早く生成して構築する強力なcliツールを用意しています
|
||||
- Go と JavaScript 間で統一されたイベント・システムを備えています
|
||||
- プロジェクトを素早く生成して構築する強力な cli ツールを用意しています
|
||||
- マルチプラットフォームに対応しています
|
||||
- ネイティブなレンダリングエンジンを使用しています - _つまりブラウザを埋め込んでいるわけではありません!_
|
||||
|
||||
|
||||
## スポンサー
|
||||
|
||||
このプロジェクトは、以下の方々・企業によって支えられています。
|
||||
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="/assets/images/sponsors/silver-sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/selvindev" style="width:100px;">
|
||||
<img src="https://github.com/selvindev.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="/assets/images/sponsors/bronze-sponsor.png" width="100"/>
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/codydbentley" style="width:100px">
|
||||
<img src="https://github.com/codydbentley.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://www.easywebadv.it/" style="width:100px">
|
||||
<img src="website/static/img/easyweb.png" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/matryer" style="width:100px">
|
||||
<img src="https://github.com/matryer.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tc-hib" style="width:55px">
|
||||
<img src="https://github.com/tc-hib.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/akhudek" style="width:50px">
|
||||
<img src="https://github.com/akhudek.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/trea" style="width:50px">
|
||||
<img src="https://github.com/trea.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/LanguageAgnostic" style="width:55px">
|
||||
<img src="https://github.com/LanguageAgnostic.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/fcjr" style="width:55px">
|
||||
<img src="https://github.com/fcjr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/nickarellano" style="width:60px">
|
||||
<img src="https://github.com/nickarellano.png?size=60" width="60"/>
|
||||
</a>
|
||||
<a href="https://github.com/bglw" style="width:65px">
|
||||
<img src="https://github.com/bglw.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/marcus-crane" style="width:65px">
|
||||
<img src="https://github.com/marcus-crane.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/bbergshaven" style="width:45px">
|
||||
<img src="https://github.com/bbergshaven.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/Gilgames000" style="width:45px">
|
||||
<img src="https://github.com/Gilgames000.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/ilgityildirim" style="width:50px">
|
||||
<img src="https://github.com/ilgityildirim.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/questrail" style="width:50px">
|
||||
<img src="https://github.com/questrail.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/DonTomato" style="width:45px">
|
||||
<img src="https://github.com/DonTomato.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/taigrr" style="width:55px">
|
||||
<img src="https://github.com/taigrr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/charlie-dee" style="width:55px">
|
||||
<img src="https://github.com/charlie-dee.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/michaelolson1996" style="width:55px">
|
||||
<img src="https://github.com/michaelolson1996.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/GargantuaX" style="width:45px">
|
||||
<img src="https://github.com/GargantuaX.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/CharlieGo88" style="width:55px">
|
||||
<img src="https://github.com/CharlieGo88.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Bironou" style="width:55px">
|
||||
<img src="https://github.com/Bironou.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Shackelford-Arden" style="width:55px">
|
||||
<img src="https://github.com/Shackelford-Arden.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/boostchicken" style="width:65px">
|
||||
<img src="https://github.com/boostchicken.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/iansinnott" style="width:55px">
|
||||
<img src="https://github.com/iansinnott.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Ilshidur" style="width:50px">
|
||||
<img src="https://github.com/Ilshidur.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/KiddoV" style="width:45px">
|
||||
<img src="https://github.com/KiddoV.png?size=45" width="45"/>
|
||||
</a>
|
||||
<img src="website/static/img/sponsors.svg" style="width:100%;max-width:800px;"/>
|
||||
|
||||
## 始め方
|
||||
|
||||
@@ -211,19 +109,19 @@ Wails v2が3つのプラットフォームでベータ版としてリリース
|
||||
|
||||
## FAQ
|
||||
|
||||
- Electronの代替品になりますか?
|
||||
- Electron の代替品になりますか?
|
||||
|
||||
それはあなたの求める要件によります。WailsはGoプログラマーが簡単に軽量のデスクトップアプリケーションを作成したり、既存のアプリケーションにフロントエンドを追加できるように設計されています。
|
||||
Wails v2ではメニューやダイアログといったネイティブな要素を提供するようになったため、軽量なElectronの代替となりつつあります。
|
||||
それはあなたの求める要件によります。Wails は Go プログラマーが簡単に軽量のデスクトップアプリケーションを作成したり、既存のアプリケーションにフロントエンドを追加できるように設計されています。
|
||||
Wails v2 ではメニューやダイアログといったネイティブな要素を提供するようになったため、軽量な Electron の代替となりつつあります。
|
||||
|
||||
- このプロジェクトは誰に向けたものですか?
|
||||
|
||||
HTML/JS/CSSのフロントエンド技術をアプリケーションにバンドルさせることで、サーバーを作成してブラウザ経由で表示させることなくアプリケーションを利用したいGoプログラマにおすすめです。
|
||||
HTML/JS/CSS のフロントエンド技術をアプリケーションにバンドルさせることで、サーバーを作成してブラウザ経由で表示させることなくアプリケーションを利用したい Go プログラマにおすすめです。
|
||||
|
||||
- 名前の由来を教えて下さい
|
||||
|
||||
WebViewを見たとき、私はこう思いました。
|
||||
「私が本当に欲しいのは、WebViewアプリを構築するためのツールであり、Rubyに対するRailsのようなものである」と。
|
||||
WebView を見たとき、私はこう思いました。
|
||||
「私が本当に欲しいのは、WebView アプリを構築するためのツールであり、Ruby に対する Rails のようなものである」と。
|
||||
そのため、最初は言葉遊びのつもりでした(Webview on Rails)。
|
||||
また、私の[出身国](https://en.wikipedia.org/wiki/Wales)の英語名と同音異義語でもあります。そしてこの名前が定着しました。
|
||||
|
||||
@@ -233,7 +131,7 @@ Wails v2が3つのプラットフォームでベータ版としてリリース
|
||||
|
||||
## コントリビューター
|
||||
|
||||
貢献してくれた方のリストが大きくなりすぎて、readmeに入りきらなくなりました!
|
||||
貢献してくれた方のリストが大きくなりすぎて、readme に入りきらなくなりました!
|
||||
このプロジェクトに貢献してくれた素晴らしい方々のページは[こちら](https://wails.io/credits#contributors)です。
|
||||
|
||||
## 特記事項
|
||||
@@ -241,8 +139,8 @@ Wails v2が3つのプラットフォームでベータ版としてリリース
|
||||
このプロジェクトは以下の方々の協力がなければ、実現しなかったと思います。
|
||||
|
||||
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - 彼のサポートとフィードバックはとても大きいものでした。
|
||||
- [Serge Zaitsev](https://github.com/zserge) - Wailsのウィンドウで使用している[Webview](https://github.com/zserge/webview)の作者です。
|
||||
- [Byron](https://github.com/bh90210) - 時にはByronが一人でこのプロジェクトを存続させてくれたこともありました。彼の素晴らしいインプットがなければv1に到達することはなかったでしょう。
|
||||
- [Serge Zaitsev](https://github.com/zserge) - Wails のウィンドウで使用している[Webview](https://github.com/zserge/webview)の作者です。
|
||||
- [Byron](https://github.com/bh90210) - 時には Byron が一人でこのプロジェクトを存続させてくれたこともありました。彼の素晴らしいインプットがなければ v1 に到達することはなかったでしょう。
|
||||
|
||||
プロジェクトを進める際に、以下のアルバムたちも支えてくれています。
|
||||
|
||||
|
||||
@@ -3,18 +3,17 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
Build desktop applications using Go & Web Technologies.<br/><br/>
|
||||
Build desktop applications using Go & Web Technologies.
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/badge/License-MIT-blue.svg" />
|
||||
<img alt="GitHub" src="https://img.shields.io/github/license/wailsapp/wails"/>
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails">
|
||||
<img src="https://goreportcard.com/badge/github.com/wailsapp/wails" />
|
||||
</a>
|
||||
<a href="http://godoc.org/github.com/wailsapp/wails">
|
||||
<img src="https://img.shields.io/badge/godoc-reference-blue.svg" />
|
||||
</a>
|
||||
<a href="https://www.codefactor.io/repository/github/wailsapp/wails">
|
||||
<img src="https://www.codefactor.io/repository/github/wailsapp/wails/badge" alt="CodeFactor" />
|
||||
<a href="https://pkg.go.dev/github.com/wailsapp/wails">
|
||||
<img src="https://pkg.go.dev/badge/github.com/wailsapp/wails.svg" alt="Go Reference"/>
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/issues">
|
||||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" />
|
||||
@@ -25,43 +24,40 @@
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow">
|
||||
<img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" rel="nofollow">
|
||||
<img src="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" alt="Release Pipelines" />
|
||||
<a href="https://app.slack.com/client/T029RQSE6/CJ4P9F7MZ">
|
||||
<img alt="Slack" src="https://img.shields.io/badge/slack-gophers%2Fwails%20-blue?logo=slack"/>
|
||||
</a>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/actions/workflows/build.yml" rel="nofollow">
|
||||
<img src="https://img.shields.io/github/workflow/status/wailsapp/wails/Build?logo=github" alt="Build" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/tags" rel="nofollow">
|
||||
<img alt="GitHub tag (latest SemVer pre-release)" src="https://img.shields.io/github/v/tag/wailsapp/wails?include_prereleases&label=version"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<hr/>
|
||||
<h3 align="center">
|
||||
<div align="center">
|
||||
<strong>
|
||||
PLEASE NOTE: As we are approaching the v2 release, we are not accepting any new feature requests or bug reports for v1. If you have a critical issue, please open a ticket and state why it is critical.
|
||||
<samp>
|
||||
|
||||
[English](README.md) · [简体中文](README.zh-Hans.md) · [日本語](README.ja.md)
|
||||
|
||||
</samp>
|
||||
</strong>
|
||||
</h3>
|
||||
<hr/>
|
||||
|
||||
## Internationalization
|
||||
|
||||
[English](README.md) | [简体中文](README.zh-Hans.md) | [日本語](README.ja.md)
|
||||
</div>
|
||||
|
||||
## Table of Contents
|
||||
|
||||
<details>
|
||||
<summary>Click me to Open/Close the directory listing</summary>
|
||||
|
||||
- [1. Internationalization](#internationalization)
|
||||
- [2. Table of Contents](#table-of-contents)
|
||||
- [3. Introduction](#introduction)
|
||||
- [3.1 Official Website](#official-website)
|
||||
- [3.2 Roadmap](#roadmap)
|
||||
- [4. Features](#features)
|
||||
- [5. Sponsors](#sponsors)
|
||||
- [6. Getting Started](#getting-started)
|
||||
- [7. FAQ](#faq)
|
||||
- [8. Contributors](#contributors)
|
||||
- [9. Special Mentions](#special-mentions)
|
||||
- [10. Special Thanks](#special-thanks)
|
||||
- [11. License](#license)
|
||||
|
||||
</details>
|
||||
- [Table of Contents](#table-of-contents)
|
||||
- [Introduction](#introduction)
|
||||
- [Features](#features)
|
||||
- [Roadmap](#roadmap)
|
||||
- [Getting Started](#getting-started)
|
||||
- [Sponsors](#sponsors)
|
||||
- [FAQ](#faq)
|
||||
- [Contributors](#contributors)
|
||||
- [License](#license)
|
||||
- [Inspiration](#inspiration)
|
||||
|
||||
## Introduction
|
||||
|
||||
@@ -77,145 +73,34 @@ make this easy for you by handling project creation, compilation and bundling. A
|
||||
- Easily call Go methods from Javascript
|
||||
- Auto-generated Typescript definitions for your Go structs and methods
|
||||
- Native Dialogs & Menus
|
||||
- Native Dark / Light mode support
|
||||
- Supports modern translucency and "frosted window" effects
|
||||
- Unified eventing system between Go and Javascript
|
||||
- Powerful cli tool to quickly generate and build your projects
|
||||
- Multiplatform
|
||||
- Uses native rendering engines - _no embedded browser_!
|
||||
|
||||
### Official Website
|
||||
|
||||
Version 2:
|
||||
|
||||
Wails v2 has been released in Beta for all 3 platforms. Check out the [new website](https://wails.io) if you are
|
||||
interested in trying it out.
|
||||
|
||||
Legacy v1 Website:
|
||||
|
||||
The legacy v1 docs can be found at [https://wails.app](https://wails.app).
|
||||
|
||||
### Roadmap
|
||||
|
||||
The project roadmap may be found [here](https://github.com/wailsapp/wails/discussions/1484). Please consult
|
||||
this before open up an enhancement request.
|
||||
|
||||
## Sponsors
|
||||
|
||||
This project is supported by these kind people / companies:
|
||||
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="/assets/images/sponsors/silver-sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/selvindev" style="width:100px;">
|
||||
<img src="https://github.com/selvindev.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="/assets/images/sponsors/bronze-sponsor.png" width="100"/>
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/codydbentley" style="width:100px">
|
||||
<img src="https://github.com/codydbentley.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://www.easywebadv.it/" style="width:100px">
|
||||
<img src="website/static/img/easyweb.png" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/matryer" style="width:100px">
|
||||
<img src="https://github.com/matryer.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tc-hib" style="width:55px">
|
||||
<img src="https://github.com/tc-hib.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/akhudek" style="width:50px">
|
||||
<img src="https://github.com/akhudek.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/trea" style="width:50px">
|
||||
<img src="https://github.com/trea.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/LanguageAgnostic" style="width:55px">
|
||||
<img src="https://github.com/LanguageAgnostic.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/fcjr" style="width:55px">
|
||||
<img src="https://github.com/fcjr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/nickarellano" style="width:60px">
|
||||
<img src="https://github.com/nickarellano.png?size=60" width="60"/>
|
||||
</a>
|
||||
<a href="https://github.com/bglw" style="width:65px">
|
||||
<img src="https://github.com/bglw.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/marcus-crane" style="width:65px">
|
||||
<img src="https://github.com/marcus-crane.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/bbergshaven" style="width:45px">
|
||||
<img src="https://github.com/bbergshaven.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/Gilgames000" style="width:45px">
|
||||
<img src="https://github.com/Gilgames000.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/ilgityildirim" style="width:50px">
|
||||
<img src="https://github.com/ilgityildirim.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/questrail" style="width:50px">
|
||||
<img src="https://github.com/questrail.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/DonTomato" style="width:45px">
|
||||
<img src="https://github.com/DonTomato.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/taigrr" style="width:55px">
|
||||
<img src="https://github.com/taigrr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/charlie-dee" style="width:55px">
|
||||
<img src="https://github.com/charlie-dee.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/michaelolson1996" style="width:55px">
|
||||
<img src="https://github.com/michaelolson1996.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/GargantuaX" style="width:45px">
|
||||
<img src="https://github.com/GargantuaX.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/CharlieGo88" style="width:55px">
|
||||
<img src="https://github.com/CharlieGo88.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Bironou" style="width:55px">
|
||||
<img src="https://github.com/Bironou.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Shackelford-Arden" style="width:55px">
|
||||
<img src="https://github.com/Shackelford-Arden.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/boostchicken" style="width:65px">
|
||||
<img src="https://github.com/boostchicken.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/iansinnott" style="width:55px">
|
||||
<img src="https://github.com/iansinnott.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Ilshidur" style="width:50px">
|
||||
<img src="https://github.com/Ilshidur.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/KiddoV" style="width:45px">
|
||||
<img src="https://github.com/KiddoV.png?size=45" width="45"/>
|
||||
</a>
|
||||
|
||||
## Getting Started
|
||||
|
||||
The installation instructions are on the [official website](https://wails.io/docs/gettingstarted/installation).
|
||||
|
||||
## Sponsors
|
||||
|
||||
This project is supported by these kind people / companies:
|
||||
<img src="website/static/img/sponsors.svg" style="width:100%;max-width:800px;"/>
|
||||
|
||||
## FAQ
|
||||
|
||||
- Is this an alternative to Electron?
|
||||
|
||||
Depends on your requirements. It's designed to make it easy for Go programmers to make lightweight desktop
|
||||
applications or add a frontend to their existing applications. Wails v2 does offer native elements such as menus
|
||||
and dialogs, so it is becoming a lightweight electron alternative.
|
||||
applications or add a frontend to their existing applications. Wails does offer native elements such as menus
|
||||
and dialogs, so it could be considered a lightweight electron alternative.
|
||||
|
||||
- Who is this project aimed at?
|
||||
|
||||
@@ -237,16 +122,11 @@ The installation instructions are on the [official website](https://wails.io/doc
|
||||
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
|
||||
## License
|
||||
|
||||
Without the following people, this project would never have existed:
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_large)
|
||||
|
||||
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - His support and feedback has been immense. More patience than
|
||||
you can throw a stick at (Not long now Dustin!).
|
||||
- [Serge Zaitsev](https://github.com/zserge) - Creator of [Webview](https://github.com/zserge/webview) which Wails uses
|
||||
for the windowing.
|
||||
- [Byron](https://github.com/bh90210) - At times, Byron has single handedly kept this project alive. Without his
|
||||
incredible input, we never would have got to v1.
|
||||
## Inspiration
|
||||
|
||||
This project was mainly coded to the following albums:
|
||||
|
||||
@@ -263,21 +143,3 @@ This project was mainly coded to the following albums:
|
||||
- [Bloc Party - Silent Alarm](https://open.spotify.com/album/6SsIdN05HQg2GwYLfXuzLB)
|
||||
- [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
|
||||
- [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
|
||||
|
||||
## Special Thanks
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
<a href="https://pace.dev"><img src="/assets/images/pace.jpeg"/></a><br/>
|
||||
A <i>huge</i> thanks to <a href="https://pace.dev">Pace</a> for sponsoring the project and helping the efforts to get Wails ported to Apple Silicon!<br/><br/>
|
||||
If you are looking for a Project Management tool that's powerful but quick and easy to use, check them out!<br/><br/>
|
||||
</p>
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
A special thank you to JetBrains for donating licenses to us!<br/><br/>
|
||||
Please click the logo to let them know your appreciation!<br/><br/>
|
||||
<a href="https://www.jetbrains.com?from=Wails"><img src="/assets/images/jetbrains-grayscale.png" width="30%"></a>
|
||||
</p>
|
||||
|
||||
## License
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_large)
|
||||
|
||||
+51
-183
@@ -1,20 +1,21 @@
|
||||
<h1 align="center">Wails</h1>
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
<img src="./assets/images/logo-universal.png" width="55%"><br/>
|
||||
<img src="./assets/images/logo-universal.png" width="55%"><br/>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
使用 Go 和 Web 技术构建桌面应用程序。<br/><br/>
|
||||
使用 Go 和 Web 技术构建桌面应用程序。
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/badge/License-MIT-blue.svg" />
|
||||
<img alt="GitHub" src="https://img.shields.io/github/license/wailsapp/wails"/>
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails">
|
||||
<img src="https://goreportcard.com/badge/github.com/wailsapp/wails" />
|
||||
</a>
|
||||
<a href="http://godoc.org/github.com/wailsapp/wails">
|
||||
<img src="https://img.shields.io/badge/godoc-reference-blue.svg" />
|
||||
</a>
|
||||
<a href="https://www.codefactor.io/repository/github/wailsapp/wails">
|
||||
<img src="https://www.codefactor.io/repository/github/wailsapp/wails/badge" alt="CodeFactor" />
|
||||
<a href="https://pkg.go.dev/github.com/wailsapp/wails">
|
||||
<img src="https://pkg.go.dev/badge/github.com/wailsapp/wails.svg" alt="Go Reference"/>
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/issues">
|
||||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" />
|
||||
@@ -25,63 +26,46 @@
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow">
|
||||
<img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" rel="nofollow">
|
||||
<img src="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" alt="Release Pipelines" />
|
||||
<a href="https://app.slack.com/client/T029RQSE6/CJ4P9F7MZ">
|
||||
<img alt="Slack" src="https://img.shields.io/badge/slack-gophers%2Fwails%20-blue?logo=slack"/>
|
||||
</a>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/actions/workflows/build.yml" rel="nofollow">
|
||||
<img src="https://img.shields.io/github/workflow/status/wailsapp/wails/Build?logo=github" alt="Build" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/tags" rel="nofollow">
|
||||
<img alt="GitHub tag (latest SemVer pre-release)" src="https://img.shields.io/github/v/tag/wailsapp/wails?include_prereleases&label=version"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<hr/>
|
||||
<h3 align="center">
|
||||
<div align="center">
|
||||
<strong>
|
||||
请注意:随着我们接近 v2 版本,我们不接受 v1 的任何新功能请求或错误报告。如果您有一个关键问题,请开一个Issue并说明为什么它很关键。
|
||||
<samp>
|
||||
|
||||
[English](README.md) · [简体中文](README.zh-Hans.md) · [日本語](README.ja.md)
|
||||
|
||||
</samp>
|
||||
</strong>
|
||||
</h3>
|
||||
<hr/>
|
||||
|
||||
## 国际化
|
||||
|
||||
[English](README.md) | [简体中文](README.zh-Hans.md) | [日本語](README.ja.md)
|
||||
</div>
|
||||
|
||||
## 内容目录
|
||||
|
||||
<details>
|
||||
<summary>点我 打开/关闭 目录列表</summary>
|
||||
|
||||
- [1. 国际化](#国际化)
|
||||
- [2. 内容目录](#内容目录)
|
||||
- [3. 项目介绍](#项目介绍)
|
||||
- [3.1 官方网站](#官方网站)
|
||||
- [3.2 路线图](#路线图)
|
||||
- [4. 功能](#功能)
|
||||
- [5. 赞助商](#赞助商)
|
||||
- [6. 快速入门](#快速入门)
|
||||
- [7. 常见问题](#常见问题)
|
||||
- [8. 贡献者](#贡献者)
|
||||
- [9. 特别提及](#特别提及)
|
||||
- [10. 特别感谢](#特别感谢)
|
||||
- [11. 许可证](#许可证)
|
||||
|
||||
</details>
|
||||
- [内容目录](#内容目录)
|
||||
- [项目介绍](#项目介绍)
|
||||
- [功能](#功能)
|
||||
- [路线图](#路线图)
|
||||
- [快速入门](#快速入门)
|
||||
- [赞助商](#赞助商)
|
||||
- [常见问题](#常见问题)
|
||||
- [贡献者](#贡献者)
|
||||
- [许可证](#许可证)
|
||||
- [灵感](#灵感)
|
||||
|
||||
## 项目介绍
|
||||
|
||||
为 Go 程序提供 Web 界面的传统方法是通过内置 Web 服务器。Wails 提供了一种不同的方法:它提供了将 Go 代码和 Web
|
||||
前端一起打包成单个二进制文件的能力。通过提供的工具,可以很轻松的完成项目的创建、编译和打包。你所要做的就是发挥创造力!
|
||||
|
||||
### 官方网站
|
||||
|
||||
V2:
|
||||
|
||||
Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝试一下,请查看[新网站](https://wails.io)。
|
||||
|
||||
旧版 V1:
|
||||
|
||||
旧版 v1 文档可以在[https://wails.app](https://wails.app)找到。
|
||||
|
||||
### 路线图
|
||||
|
||||
项目路线图可在[此处](https://github.com/wailsapp/wails/discussions/1484)找到。在提出增强请求之前请查阅此内容。
|
||||
|
||||
## 功能
|
||||
|
||||
- 后端使用标准 Go
|
||||
@@ -91,120 +75,24 @@ Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝
|
||||
- 为您的 Go 结构体和方法自动生成 Typescript 声明
|
||||
- 原生对话框和菜单
|
||||
- 支持现代半透明和“磨砂窗”效果
|
||||
- Go 和 Javascript 之间的统一事件系统
|
||||
- 强大的 CLI 工具,可快速生成和构建您的项目
|
||||
- Go 和 Javascript 之间统一的事件系统
|
||||
- 强大的命令行工具,可快速生成和构建您的项目
|
||||
- 跨平台
|
||||
- 使用原生渲染引擎 - _没有嵌入式浏览器_!
|
||||
- 使用原生渲染引擎 - _没有嵌入浏览器_!
|
||||
|
||||
### 路线图
|
||||
|
||||
项目路线图可在 [此处](https://github.com/wailsapp/wails/discussions/1484) 找到。在提出增强请求之前请查阅此内容。
|
||||
|
||||
## 快速入门
|
||||
|
||||
使用说明在 [官网](https://wails.io/docs/gettingstarted/installation)。
|
||||
|
||||
## 赞助商
|
||||
|
||||
这个项目由以下这些人或者公司支持:
|
||||
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="/assets/images/sponsors/silver-sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/selvindev" style="width:100px;">
|
||||
<img src="https://github.com/selvindev.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="/assets/images/sponsors/bronze-sponsor.png" width="100"/>
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/codydbentley" style="width:100px">
|
||||
<img src="https://github.com/codydbentley.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://www.easywebadv.it/" style="width:100px">
|
||||
<img src="website/static/img/easyweb.png" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/matryer" style="width:100px">
|
||||
<img src="https://github.com/matryer.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tc-hib" style="width:55px">
|
||||
<img src="https://github.com/tc-hib.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/akhudek" style="width:50px">
|
||||
<img src="https://github.com/akhudek.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/trea" style="width:50px">
|
||||
<img src="https://github.com/trea.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/LanguageAgnostic" style="width:55px">
|
||||
<img src="https://github.com/LanguageAgnostic.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/fcjr" style="width:55px">
|
||||
<img src="https://github.com/fcjr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/nickarellano" style="width:60px">
|
||||
<img src="https://github.com/nickarellano.png?size=60" width="60"/>
|
||||
</a>
|
||||
<a href="https://github.com/bglw" style="width:65px">
|
||||
<img src="https://github.com/bglw.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/marcus-crane" style="width:65px">
|
||||
<img src="https://github.com/marcus-crane.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/bbergshaven" style="width:45px">
|
||||
<img src="https://github.com/bbergshaven.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/Gilgames000" style="width:45px">
|
||||
<img src="https://github.com/Gilgames000.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/ilgityildirim" style="width:50px">
|
||||
<img src="https://github.com/ilgityildirim.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/questrail" style="width:50px">
|
||||
<img src="https://github.com/questrail.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/DonTomato" style="width:45px">
|
||||
<img src="https://github.com/DonTomato.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/taigrr" style="width:55px">
|
||||
<img src="https://github.com/taigrr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/charlie-dee" style="width:55px">
|
||||
<img src="https://github.com/charlie-dee.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/michaelolson1996" style="width:55px">
|
||||
<img src="https://github.com/michaelolson1996.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/GargantuaX" style="width:45px">
|
||||
<img src="https://github.com/GargantuaX.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/CharlieGo88" style="width:55px">
|
||||
<img src="https://github.com/CharlieGo88.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Bironou" style="width:55px">
|
||||
<img src="https://github.com/Bironou.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Shackelford-Arden" style="width:55px">
|
||||
<img src="https://github.com/Shackelford-Arden.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/boostchicken" style="width:65px">
|
||||
<img src="https://github.com/boostchicken.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/iansinnott" style="width:55px">
|
||||
<img src="https://github.com/iansinnott.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Ilshidur" style="width:50px">
|
||||
<img src="https://github.com/Ilshidur.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/KiddoV" style="width:45px">
|
||||
<img src="https://github.com/KiddoV.png?size=45" width="45"/>
|
||||
</a>
|
||||
|
||||
## 快速入门
|
||||
|
||||
使用说明在[官网](https://wails.io/docs/gettingstarted/installation)。
|
||||
<img src="website/static/img/sponsors.svg" style="width:100%;max-width:800px;"/>
|
||||
|
||||
## 常见问题
|
||||
|
||||
@@ -229,15 +117,13 @@ Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝
|
||||
|
||||
贡献者列表对于 README 文件来说太大了!所有为这个项目做出贡献的了不起的人在[这里](https://wails.io/credits#contributors)都有自己的页面。
|
||||
|
||||
## 特别提及
|
||||
## 许可证
|
||||
|
||||
如果没有以下人员,此项目或许永远不会存在:
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_large)
|
||||
|
||||
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - 他的支持和反馈是巨大的。
|
||||
- [Serge Zaitsev](https://github.com/zserge) - Wails 窗口所使用的 [Webview](https://github.com/zserge/webview) 的作者。
|
||||
- [Byron](https://github.com/bh90210) - 有时,Byron 一个人保持这个项目活跃着。没有他令人难以置信的投入,我们永远不会得到 v1 。
|
||||
## 灵感
|
||||
|
||||
编写项目代码时伴随着以下专辑:
|
||||
项目灵感主要来自以下专辑:
|
||||
|
||||
- [Manic Street Preachers - Resistance Is Futile](https://open.spotify.com/album/1R2rsEUqXjIvAbzM0yHrxA)
|
||||
- [Manic Street Preachers - This Is My Truth, Tell Me Yours](https://open.spotify.com/album/4VzCL9kjhgGQeKCiojK1YN)
|
||||
@@ -252,21 +138,3 @@ Wails v2 已针对所有 3 个平台发布了 Beta 版。如果您有兴趣尝
|
||||
- [Bloc Party - Silent Alarm](https://open.spotify.com/album/6SsIdN05HQg2GwYLfXuzLB)
|
||||
- [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
|
||||
- [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
|
||||
|
||||
## 特别感谢
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
<a href="https://pace.dev"><img src="/assets/images/pace.jpeg"/></a><br/>
|
||||
<i>非常</i> 感谢<a href="https://pace.dev">Pace</a>对项目的赞助,并帮助将 Wails 移植到 Apple Silicon !<br/><br/>
|
||||
如果您正在寻找一个强大并且快速和易于使用的项目管理工具,可以看看他们!<br/><br/>
|
||||
</p>
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
特别感谢 JetBrains 向我们捐赠许可!<br/><br/>
|
||||
请点击 logo 让他们知道你的感激之情!<br/><br/>
|
||||
<a href="https://www.jetbrains.com?from=Wails"><img src="/assets/images/jetbrains-grayscale.png" width="30%"></a>
|
||||
</p>
|
||||
|
||||
## 许可证
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_large)
|
||||
|
||||
-16
@@ -1,16 +0,0 @@
|
||||
project_id: 531392
|
||||
api_token_env: CROWDIN_PERSONAL_TOKEN
|
||||
preserve_hierarchy: true
|
||||
commit_message: '[ci skip]'
|
||||
files:
|
||||
- source: /website/docs/**/*
|
||||
translation: /website/i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
|
||||
- source: /website/blog/**/*
|
||||
translation: /website/i18n/%two_letters_code%/docusaurus-plugin-content-blog/**/%original_file_name%
|
||||
- source: /website/src/pages/**/*
|
||||
ignore:
|
||||
- '*.js'
|
||||
- '*.css'
|
||||
translation: /website/i18n/%two_letters_code%/docusaurus-plugin-content-pages/**/%original_file_name%
|
||||
- source: /website/i18n/en/**/*.json
|
||||
translation: /website/i18n/%two_letters_code%/**/%original_file_name%
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
npm install
|
||||
npx sponsorkit -o ../../website/static/img/
|
||||
Generated
+3606
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "scripts",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"sponsorkit": "^0.5.2"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,206 @@
|
||||
import {defineConfig} from 'sponsorkit';
|
||||
|
||||
const helpers = {
|
||||
avatar: {
|
||||
size: 45
|
||||
},
|
||||
boxWidth: 55,
|
||||
boxHeight: 55,
|
||||
container: {
|
||||
sidePadding: 30
|
||||
},
|
||||
};
|
||||
|
||||
const coffee = {
|
||||
avatar: {
|
||||
size: 50
|
||||
},
|
||||
boxWidth: 65,
|
||||
boxHeight: 65,
|
||||
container: {
|
||||
sidePadding: 30
|
||||
},
|
||||
};
|
||||
|
||||
const breakfast = {
|
||||
avatar: {
|
||||
size: 55
|
||||
},
|
||||
boxWidth: 75,
|
||||
boxHeight: 75,
|
||||
container: {
|
||||
sidePadding: 20
|
||||
},
|
||||
name: {
|
||||
maxLength: 10
|
||||
}
|
||||
};
|
||||
|
||||
const costs = {
|
||||
avatar: {
|
||||
size: 65
|
||||
},
|
||||
boxWidth: 90,
|
||||
boxHeight: 80,
|
||||
container: {
|
||||
sidePadding: 30
|
||||
},
|
||||
name: {
|
||||
maxLength: 10
|
||||
}
|
||||
};
|
||||
|
||||
const bronze = {
|
||||
avatar: {
|
||||
size: 85
|
||||
},
|
||||
boxWidth: 110,
|
||||
boxHeight: 100,
|
||||
container: {
|
||||
sidePadding: 30
|
||||
},
|
||||
name: {
|
||||
maxLength: 20
|
||||
}
|
||||
};
|
||||
|
||||
const silver = {
|
||||
avatar: {
|
||||
size: 100
|
||||
},
|
||||
boxWidth: 110,
|
||||
boxHeight: 110,
|
||||
container: {
|
||||
sidePadding: 20
|
||||
},
|
||||
name: {
|
||||
maxLength: 20
|
||||
}
|
||||
};
|
||||
|
||||
const gold = {
|
||||
avatar: {
|
||||
size: 150
|
||||
},
|
||||
boxWidth: 175,
|
||||
boxHeight: 175,
|
||||
container: {
|
||||
sidePadding: 25
|
||||
},
|
||||
name: {
|
||||
maxLength: 25
|
||||
}
|
||||
};
|
||||
|
||||
const champion = {
|
||||
avatar: {
|
||||
size: 175
|
||||
},
|
||||
boxWidth: 200,
|
||||
boxHeight: 200,
|
||||
container: {
|
||||
sidePadding: 30
|
||||
},
|
||||
name: {
|
||||
maxLength: 30
|
||||
}
|
||||
};
|
||||
|
||||
const partner = {
|
||||
avatar: {
|
||||
size: 200
|
||||
},
|
||||
boxWidth: 225,
|
||||
boxHeight: 225,
|
||||
container: {
|
||||
sidePadding: 40
|
||||
},
|
||||
name: {
|
||||
maxLength: 40
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
export default defineConfig({
|
||||
github: {
|
||||
login: 'leaanthony',
|
||||
type: 'user',
|
||||
},
|
||||
|
||||
// Rendering configs
|
||||
width: 800,
|
||||
formats: ['svg'],
|
||||
tiers: [
|
||||
{
|
||||
title: 'Helpers',
|
||||
preset: helpers,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Buying Coffee',
|
||||
monthlyDollars: 5,
|
||||
preset: coffee,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Buying Breakfast',
|
||||
monthlyDollars: 10,
|
||||
preset: breakfast,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Covering Costs',
|
||||
monthlyDollars: 20,
|
||||
preset: costs,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Bronze Sponsors',
|
||||
monthlyDollars: 50,
|
||||
preset: bronze,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Silver Sponsors',
|
||||
monthlyDollars: 100,
|
||||
preset: silver,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Gold Sponsors',
|
||||
monthlyDollars: 200,
|
||||
preset: gold,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Champion',
|
||||
monthlyDollars: 500,
|
||||
preset: champion,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'Partner',
|
||||
monthlyDollars: 1000,
|
||||
preset: partner,
|
||||
composeAfter: function (composer, tierSponsors, config) {
|
||||
composer.addSpan(20);
|
||||
}
|
||||
},
|
||||
],
|
||||
});
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
|
||||
# Packing linux
|
||||
|
||||
* create app, app.desktop, app.png (512x512)
|
||||
* chmod +x app!
|
||||
* ./linuxdeploy-x86_64.AppImage --appdir AppDir -i react.png -d react.desktop -e react --output appimage
|
||||
|
||||
|
||||
# Wails Doctor
|
||||
|
||||
Tested on:
|
||||
|
||||
* Debian 8
|
||||
* Ubuntu 20.04
|
||||
* Ubuntu 19.10
|
||||
* Solus 4.1
|
||||
* Centos 8
|
||||
* Gentoo
|
||||
* OpenSUSE/leap
|
||||
* Fedora 31
|
||||
|
||||
### Development
|
||||
|
||||
Add a new package manager processor here: `v2/internal/system/packagemanager/`. IsAvailable should work even if the package is installed.
|
||||
Add your new package manager to the list of package managers in `v2/internal/system/packagemanager/packagemanager.go`:
|
||||
|
||||
```
|
||||
var db = map[string]PackageManager{
|
||||
"eopkg": NewEopkg(),
|
||||
"apt": NewApt(),
|
||||
"yum": NewYum(),
|
||||
"pacman": NewPacman(),
|
||||
"emerge": NewEmerge(),
|
||||
"zypper": NewZypper(),
|
||||
}
|
||||
```
|
||||
|
||||
## Gentoo
|
||||
|
||||
* Setup docker image using: emerge-webrsync -x -v
|
||||
+235
-3
@@ -1,6 +1,238 @@
|
||||
# Wails v2 ALPHA
|
||||
<p align="center" style="text-align: center">
|
||||
<img src="../assets/images/logo-universal.png" width="55%"><br/>
|
||||
</p>
|
||||
|
||||
This branch contains WORK IN PROGRESS! There are no guarantees. Use at your peril!
|
||||
<p align="center">
|
||||
Build desktop applications using Go & Web Technologies.
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE">
|
||||
<img alt="GitHub" src="https://img.shields.io/github/license/wailsapp/wails"/>
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails">
|
||||
<img src="https://goreportcard.com/badge/github.com/wailsapp/wails" />
|
||||
</a>
|
||||
<a href="https://pkg.go.dev/github.com/wailsapp/wails">
|
||||
<img src="https://pkg.go.dev/badge/github.com/wailsapp/wails.svg" alt="Go Reference"/>
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/issues">
|
||||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" />
|
||||
</a>
|
||||
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_shield" alt="FOSSA Status">
|
||||
<img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fwailsapp%2Fwails.svg?type=shield" />
|
||||
</a>
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow">
|
||||
<img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome" />
|
||||
</a>
|
||||
<br/>
|
||||
<a href="https://github.com/wailsapp/wails/actions/workflows/build.yml" rel="nofollow">
|
||||
<img src="https://img.shields.io/github/workflow/status/wailsapp/wails/Build?logo=github" alt="Build" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/tags" rel="nofollow">
|
||||
<img alt="GitHub tag (latest SemVer pre-release)" src="https://img.shields.io/github/v/tag/wailsapp/wails?include_prereleases&label=version"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
This document will be updated as progress is made.
|
||||
<div align="center">
|
||||
<strong>
|
||||
<samp>
|
||||
|
||||
[English](README.md) · [简体中文](README.zh-Hans.md) · [日本語](README.ja.md)
|
||||
|
||||
</samp>
|
||||
</strong>
|
||||
</div>
|
||||
|
||||
## Table of Contents
|
||||
|
||||
<details>
|
||||
<summary>Click me to Open/Close the directory listing</summary>
|
||||
|
||||
- [Table of Contents](#table-of-contents)
|
||||
- [Introduction](#introduction)
|
||||
- [Roadmap](#roadmap)
|
||||
- [Features](#features)
|
||||
- [Sponsors](#sponsors)
|
||||
- [Getting Started](#getting-started)
|
||||
- [FAQ](#faq)
|
||||
- [Contributors](#contributors)
|
||||
- [License](#license)
|
||||
|
||||
</details>
|
||||
|
||||
## Introduction
|
||||
|
||||
The traditional method of providing web interfaces to Go programs is via a built-in web server. Wails offers a different
|
||||
approach: it provides the ability to wrap both Go code and a web frontend into a single binary. Tools are provided to
|
||||
make this easy for you by handling project creation, compilation and bundling. All you have to do is get creative!
|
||||
|
||||
## Features
|
||||
|
||||
- Use standard Go for the backend
|
||||
- Use any frontend technology you are already familiar with to build your UI
|
||||
- Quickly create rich frontends for your Go programs using pre-built templates
|
||||
- Easily call Go methods from Javascript
|
||||
- Auto-generated Typescript definitions for your Go structs and methods
|
||||
- Native Dialogs & Menus
|
||||
- Native Dark / Light mode support
|
||||
- Supports modern translucency and "frosted window" effects
|
||||
- Unified eventing system between Go and Javascript
|
||||
- Powerful cli tool to quickly generate and build your projects
|
||||
- Multiplatform
|
||||
- Uses native rendering engines - _no embedded browser_!
|
||||
|
||||
### Roadmap
|
||||
|
||||
The project roadmap may be found [here](https://github.com/wailsapp/wails/discussions/1484). Please consult
|
||||
this before open up an enhancement request.
|
||||
|
||||
## Sponsors
|
||||
|
||||
This project is supported by these kind people / companies:
|
||||
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="../website/static/img/silver%20sponsor.webp" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/selvindev" style="width:100px;">
|
||||
<img src="https://github.com/selvindev.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="../website/static/img/bronze%20sponsor.webp" width="100"/>
|
||||
</a>
|
||||
|
||||
<a href="https://github.com/codydbentley" style="width:100px">
|
||||
<img src="https://github.com/codydbentley.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://www.easywebadv.it/" style="width:100px">
|
||||
<img src="../website/static/img/easyweb.png" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/matryer" style="width:100px">
|
||||
<img src="https://github.com/matryer.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tc-hib" style="width:55px">
|
||||
<img src="https://github.com/tc-hib.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/akhudek" style="width:50px">
|
||||
<img src="https://github.com/akhudek.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/trea" style="width:50px">
|
||||
<img src="https://github.com/trea.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/fcjr" style="width:55px">
|
||||
<img src="https://github.com/fcjr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/nickarellano" style="width:60px">
|
||||
<img src="https://github.com/nickarellano.png?size=60" width="60"/>
|
||||
</a>
|
||||
<a href="https://github.com/bglw" style="width:65px">
|
||||
<img src="https://github.com/bglw.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/marcus-crane" style="width:65px">
|
||||
<img src="https://github.com/marcus-crane.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/bbergshaven" style="width:45px">
|
||||
<img src="https://github.com/bbergshaven.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/ilgityildirim" style="width:50px">
|
||||
<img src="https://github.com/ilgityildirim.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/questrail" style="width:50px">
|
||||
<img src="https://github.com/questrail.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/DonTomato" style="width:45px">
|
||||
<img src="https://github.com/DonTomato.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/taigrr" style="width:55px">
|
||||
<img src="https://github.com/taigrr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/charlie-dee" style="width:55px">
|
||||
<img src="https://github.com/charlie-dee.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/michaelolson1996" style="width:55px">
|
||||
<img src="https://github.com/michaelolson1996.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/GargantuaX" style="width:45px">
|
||||
<img src="https://github.com/GargantuaX.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/CharlieGo88" style="width:55px">
|
||||
<img src="https://github.com/CharlieGo88.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Shackelford-Arden" style="width:55px">
|
||||
<img src="https://github.com/Shackelford-Arden.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/boostchicken" style="width:65px">
|
||||
<img src="https://github.com/boostchicken.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/iansinnott" style="width:55px">
|
||||
<img src="https://github.com/iansinnott.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/Ilshidur" style="width:50px">
|
||||
<img src="https://github.com/Ilshidur.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/KiddoV" style="width:45px">
|
||||
<img src="https://github.com/KiddoV.png?size=45" width="45"/>
|
||||
</a>
|
||||
|
||||
## Getting Started
|
||||
|
||||
The installation instructions are on the [official website](https://wails.io/docs/gettingstarted/installation).
|
||||
|
||||
## FAQ
|
||||
|
||||
- Is this an alternative to Electron?
|
||||
|
||||
Depends on your requirements. It's designed to make it easy for Go programmers to make lightweight desktop
|
||||
applications or add a frontend to their existing applications. Wails does offer native elements such as menus
|
||||
and dialogs, so it could be considered a lightweight electron alternative.
|
||||
|
||||
- Who is this project aimed at?
|
||||
|
||||
Go programmers who want to bundle an HTML/JS/CSS frontend with their applications, without resorting to creating a
|
||||
server and opening a browser to view it.
|
||||
|
||||
- What's with the name?
|
||||
|
||||
When I saw WebView, I thought "What I really want is tooling around building a WebView app, a bit like Rails is to
|
||||
Ruby". So initially it was a play on words (Webview on Rails). It just so happened to also be a homophone of the
|
||||
English name for the [Country](https://en.wikipedia.org/wiki/Wales) I am from. So it stuck.
|
||||
|
||||
## Stargazers over time
|
||||
|
||||
[](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).
|
||||
|
||||
## License
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_large)
|
||||
|
||||
## Inspiration
|
||||
|
||||
This project was mainly coded to the following albums:
|
||||
|
||||
- [Manic Street Preachers - Resistance Is Futile](https://open.spotify.com/album/1R2rsEUqXjIvAbzM0yHrxA)
|
||||
- [Manic Street Preachers - This Is My Truth, Tell Me Yours](https://open.spotify.com/album/4VzCL9kjhgGQeKCiojK1YN)
|
||||
- [The Midnight - Endless Summer](https://open.spotify.com/album/4Krg8zvprquh7TVn9OxZn8)
|
||||
- [Gary Newman - Savage (Songs from a Broken World)](https://open.spotify.com/album/3kMfsD07Q32HRWKRrpcexr)
|
||||
- [Steve Vai - Passion & Warfare](https://open.spotify.com/album/0oL0OhrE2rYVns4IGj8h2m)
|
||||
- [Ben Howard - Every Kingdom](https://open.spotify.com/album/1nJsbWm3Yy2DW1KIc1OKle)
|
||||
- [Ben Howard - Noonday Dream](https://open.spotify.com/album/6astw05cTiXEc2OvyByaPs)
|
||||
- [Adwaith - Melyn](https://open.spotify.com/album/2vBE40Rp60tl7rNqIZjaXM)
|
||||
- [Gwidaith Hen Fran - Cedors Hen Wrach](https://open.spotify.com/album/3v2hrfNGINPLuDP0YDTOjm)
|
||||
- [Metallica - Metallica](https://open.spotify.com/album/2Kh43m04B1UkVcpcRa1Zug)
|
||||
- [Bloc Party - Silent Alarm](https://open.spotify.com/album/6SsIdN05HQg2GwYLfXuzLB)
|
||||
- [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
|
||||
- [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user