trying to prepare for an appimage as well as prevent issues with compositing_mode stuff
This commit is contained in:
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-22.04, windows-latest]
|
platform: [ubuntu-22.04, windows-latest, ]
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
@@ -33,13 +33,14 @@ jobs:
|
|||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
|
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libfuse2
|
||||||
- name: install pnpm packages
|
- name: install pnpm packages
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
- name: build Oxyde
|
- name: build Oxyde
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
NO_STRIP: true
|
||||||
SURREAL_URL: ${{ secrets.SURREAL_URL }}
|
SURREAL_URL: ${{ secrets.SURREAL_URL }}
|
||||||
SURREAL_NS: ${{ secrets.SURREAL_NS }}
|
SURREAL_NS: ${{ secrets.SURREAL_NS }}
|
||||||
SURREAL_DB: ${{ secrets.SURREAL_DB }}
|
SURREAL_DB: ${{ secrets.SURREAL_DB }}
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
WEBKIT_DISABLE_DMABUF_RENDERER=1 pnpm tauri dev
|
|
||||||
@@ -2,5 +2,8 @@
|
|||||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
|
std::env::set_var("WEBKIT_DISABLE_COMPOSITING_MODE", "1");
|
||||||
|
|
||||||
oxyde_lib::run()
|
oxyde_lib::run()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": ["deb", "nsis"],
|
"targets": ["deb", "nsis", "appimage"],
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
"icons/128x128.png",
|
"icons/128x128.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user