Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/tauri-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Desktop App Release
on:
push:
tags:
- 'v*'

jobs:
publish:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest'
- platform: 'ubuntu-22.04'
- platform: 'windows-latest'

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4.1.0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.19.x
cache: 'pnpm'

- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies (Linux only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf

- name: Install JS dependencies
run: pnpm install --frozen-lockfile

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: ${{ github.ref_name }}
releaseName: 'SIMDE ${{ github.ref_name }}'
releaseBody: 'See CHANGELOG.md for details.'
releaseDraft: true
prerelease: false
args: ${{ matrix.platform == 'ubuntu-22.04' && '--target x86_64-unknown-linux-gnu' || '' }}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SIMDE</title>
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
</head>
<body>
Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@
"fmt": "biome format --write ./src",
"lint": "biome lint --apply ./src",
"test": "vitest run --dir ./src",
"test:coverage": "vitest run --coverage"
"test:coverage": "vitest run --coverage",
"tauri": "tauri",
"desktop:dev": "tauri dev",
"desktop:build": "tauri build"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.1",
"@popperjs/core": "^2.11.8",
"@tauri-apps/cli": "^2.10.1",
"bootstrap": "^5.1.3",
"echarts": "^5.4.3",
"echarts-for-react": "^3.0.2",
Expand Down Expand Up @@ -67,6 +71,9 @@
"node": ">=18"
},
"pnpm": {
"onlyBuiltDependencies": ["@biomejs/biome", "esbuild"]
"onlyBuiltDependencies": [
"@biomejs/biome",
"esbuild"
]
}
}
121 changes: 121 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src-tauri/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Generated by Cargo
# will have compiled files and executables
/target/
/gen/schemas
Loading