File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 11use tauri:: WebviewWindowBuilder ;
22
33pub 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 )
You can’t perform that action at this time.
0 commit comments