small fixes

refactor
Niko PLP 3 days ago
parent 390a49e7f4
commit 5dec5b0a19
  1. 2
      app/nextgraph/package.json
  2. 2
      app/nextgraph/src-tauri/src/lib.rs

@ -12,7 +12,7 @@
"check": "svelte-check --tsconfig ./tsconfig.json", "check": "svelte-check --tsconfig ./tsconfig.json",
"webdev": "cross-env NG_ENV_WEB=1 TAURI_DEBUG=1 NG_PUBLIC_DEV=1 vite", "webdev": "cross-env NG_ENV_WEB=1 TAURI_DEBUG=1 NG_PUBLIC_DEV=1 vite",
"webbuild": "cross-env NG_ENV_WEB=1 NG_ENV_ONEFILE=1 vite build && node prepare-web-file.cjs", "webbuild": "cross-env NG_ENV_WEB=1 NG_ENV_ONEFILE=1 vite build && node prepare-web-file.cjs",
"libwasm": "cd ../.. && cargo install cargo-run-script && cargo run-script libwasm && cd app/nextgraph", "libwasm": "cd ../.. && cargo install cargo-run-script && cargo run-script libwasm",
"buildfrontdev": "pnpm -C ../../infra/ngnet/bootstrap builddev && pnpm -C ../../infra/ngnet/auth builddev && pnpm -C ../../infra/ngnet/redir builddev" "buildfrontdev": "pnpm -C ../../infra/ngnet/bootstrap builddev && pnpm -C ../../infra/ngnet/auth builddev && pnpm -C ../../infra/ngnet/redir builddev"
}, },
"dependencies": { "dependencies": {

@ -349,7 +349,7 @@ async fn open_window(
config.label = label; config.label = label;
config.url = tauri::WebviewUrl::External(url.parse().unwrap()); config.url = tauri::WebviewUrl::External(url.parse().unwrap());
config.title = title; config.title = title;
let _register_window = tauri::WindowBuilder::from_config(&app, &config) let _register_window = tauri::WebviewWindowBuilder::from_config(&app, &config)
.unwrap() .unwrap()
.build() .build()
.unwrap(); .unwrap();

Loading…
Cancel
Save