-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ CI Build and Optional Feature Page
- Loading branch information
Showing
18 changed files
with
274 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- lib/** | ||
- .github/workflows/** | ||
- native/** | ||
pull_request: | ||
|
||
jobs: | ||
build-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: "stable" | ||
- name: Install Rust & Prepare Complie | ||
run: | | ||
rustup update stable | ||
cargo install rinf | ||
rinf message | ||
dart fix --apply | ||
- name: Build | ||
run: flutter build windows --release | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: windows-x64 | ||
path: build/windows/x64/runner/Release/* | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
home: Home | ||
install: Install | ||
settings: Settings | ||
install.prepare: Prepare | ||
install.auto_install: Auto Install | ||
install.auto_install: Auto Install (Admin) | ||
open: Open | ||
configure: Configure | ||
optional_features: Optional Features | ||
language: Language | ||
font: Font | ||
need_admin_permission: Need Admin Permission (Exit and right click exe and "Run as administrator") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Mannual Install | ||
|
||
Find and check the features you're missing in "Turn Windows features on or off". | ||
|
||
If you can't find them, you can click the "Optional Features" Button. | ||
|
||
Then scroll to bottom and click "More Windows features". | ||
|
||
After checking, restart to complete the installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
English: en_US.yaml | ||
简体中文: zh_CN.yaml | ||
English: en_US | ||
简体中文: zh_CN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
home: 主页 | ||
install: 安装 | ||
install.prepare: 准备 | ||
install.auto_install: 自动安装 | ||
install.auto_install: 自动安装 (管理员) | ||
open: 打开 | ||
configure: 配置 | ||
optional_features: 可选功能 | ||
settings: 设置 | ||
language: 语言 | ||
font: 字体 | ||
need_admin_permission: 需要管理员权限 (退出并右键程序 "以管理员身份运行") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 手动安装 | ||
|
||
在"启用或关闭 Windows 功能"中找到并勾选你缺少的功能。 | ||
|
||
如果你找不到他们,你可以点击"可选功能"按钮。 | ||
|
||
然后滑到底部点击"更多Windows功能"。 | ||
|
||
勾选后重新启动即可完成安装。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:wslconfigurer/main.dart'; | ||
|
||
GlobalKey<HomePageState> rootKey = GlobalKey(); | ||
GlobalKey<MyAppState> appKey = GlobalKey(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.