generated from avior/template-web-astro
chore: add missing lib
This commit is contained in:
parent
ac90cd54ad
commit
174dfe45f3
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -23,6 +23,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
cache: false
|
cache: false
|
||||||
|
|
||||||
|
- name: Install system deps
|
||||||
|
# `libgtk-3-dev` required by crate `gdk-sys`
|
||||||
|
run: sudo apt-get install -y libgtk-3-dev
|
||||||
|
|
||||||
- name: Install Bun dependencies
|
- name: Install Bun dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@ type Platform = 'linux' | 'windows'
|
|||||||
export function getCurrentPlatform(): Platform {
|
export function getCurrentPlatform(): Platform {
|
||||||
// return 'windows'
|
// return 'windows'
|
||||||
const current = import.meta.env.TAURI_ENV_PLATFORM
|
const current = import.meta.env.TAURI_ENV_PLATFORM
|
||||||
console.log(import.meta.env)
|
|
||||||
|
|
||||||
switch (current) {
|
switch (current) {
|
||||||
case 'linux':
|
case 'linux':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user