Skip to content

Commit 7f5098d

Browse files
committed
Tauri app support windows
1 parent 748a028 commit 7f5098d

30 files changed

+298
-381
lines changed

.github/workflows/release.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
publish:
10+
name: Publish for ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
include:
16+
- os: windows-latest
17+
artifact_name: app.exe
18+
asset_name: app-windows.exe
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Build
23+
run: cargo build --release -p app
24+
- name: Upload binaries to release
25+
uses: svenstaro/upload-release-action@v2
26+
with:
27+
repo_token: ${{ secrets.GITHUB_TOKEN }}
28+
file: target/release/${{ matrix.artifact_name }}
29+
asset_name: ${{ matrix.asset_name }}
30+
tag: ${{ github.ref }}
31+
overwrite: true

.prettierrc.js

-6
This file was deleted.

.prettierrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "all",
4+
"singleQuote": true,
5+
"printWidth": 120,
6+
"endOfLine": "crlf"
7+
}

0 commit comments

Comments
 (0)