Skip to content

Commit 2c7c59d

Browse files
committed
fix: try 5 re-enabling windows ui build automation
Signed-off-by: Nick Mitchell <[email protected]>
1 parent a64795e commit 2c7c59d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/release-ui.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,22 @@ jobs:
6161
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev
6262
rustup target add aarch64-unknown-linux-gnu
6363
rustup target add x86_64-unknown-linux-gnu
64+
ls /usr/lib/*-linux-gnu/pkgconfig/gdk*
6465
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
6566
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.
6667

6768
- name: install frontend dependencies
6869
run: npm ci # change this to npm, pnpm or bun depending on which one you use.
6970

7071
- name: prep interpreter
71-
if: matrix.os != 'windows-latest'
72+
if: matrix.platform != 'windows-latest'
7273
run: npm run prep-interpreter-from-scratch
7374
- name: prep interpreter for windows
74-
if: matrix.os == 'windows-latest'
75+
if: matrix.platform == 'windows-latest'
7576
run: npm run prep-interpreter-from-scratch-windows
7677

7778
- name: Install wget for Windows
78-
if: matrix.os == 'windows-latest'
79+
if: matrix.platform == 'windows-latest'
7980
run: choco install wget --no-progress
8081

8182
- name: download tauri-action

pdl-live-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"prep-interpreter-from-scratch": "python3.12 -mvenv .venv && npm run reprep-interpreter",
2626
"prep-interpreter-from-scratch-windows": "python -mvenv .venv && npm run reprep-interpreter-windows",
2727
"reprep-interpreter": ". .venv/bin/activate && pip install -e .. && pip freeze > .venv/requirements.txt",
28-
"reprep-interpreter-windows": ".venv/bin/Activate.ps1 && pip install -e .. && pip freeze > .venv/requirements.txt",
28+
"reprep-interpreter-windows": ".\\.venv\\Scripts\\Activate.ps1 ; pip install -e .. ; pip freeze > .venv\\requirements.txt",
2929
"start": "npm run prep-interpreter && npm run tauri dev"
3030
},
3131
"dependencies": {

pdl-live-react/src-tauri/src/gui.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
use tauri::WebviewWindowBuilder;
22

33
pub fn setup(app: tauri::AppHandle, path: String) -> Result<(), tauri::Error> {
4-
#[cfg(all(not(debug_assertions), windows))]
5-
remove_windows_console();
64
WebviewWindowBuilder::new(&app, "main", tauri::WebviewUrl::App(path.into()))
75
.title("Prompt Declaration Language")
86
.zoom_hotkeys_enabled(true)

0 commit comments

Comments
 (0)