6 Commits

6 changed files with 11 additions and 6 deletions
+2
View File
@@ -22,3 +22,5 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
wry/
+1 -1
View File
@@ -4,7 +4,7 @@ version = 4
[[package]] [[package]]
name = "WVUMedicine_HelpAlert_WebClient" name = "WVUMedicine_HelpAlert_WebClient"
version = "1.0.0" version = "1.0.1"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "WVUMedicine_HelpAlert_WebClient" name = "WVUMedicine_HelpAlert_WebClient"
version = "1.0.0" version = "1.0.1"
description = "Help Alert Web Client" description = "Help Alert Web Client"
authors = ["James Brotosky <james.brotosky@wvumedicine.org"] authors = ["James Brotosky <james.brotosky@wvumedicine.org"]
edition = "2021" edition = "2021"
+2 -2
View File
@@ -13,7 +13,7 @@ pub fn run() {
let show = MenuItem::with_id(app, "show", "Open", true, None::<&str>)?; let show = MenuItem::with_id(app, "show", "Open", true, None::<&str>)?;
let quit = MenuItem::with_id(app, "quit", "Quit", true, None::<&str>)?; let quit = MenuItem::with_id(app, "quit", "Quit", true, None::<&str>)?;
let menu = Menu::with_items(app, &[&show, &quit])?; let menu = Menu::with_items(app, &[&show, &quit])?;
let url = WebviewUrl::External("https://helpalert.wvumedicine.org".parse().unwrap()); let url = WebviewUrl::External("https://helpalert.wvumedicine.org/ha".parse().unwrap());
let w_handle = app.handle().clone(); let w_handle = app.handle().clone();
WebviewWindowBuilder::new(app, "main", url) WebviewWindowBuilder::new(app, "main", url)
.title("WVU Medicine Help Alert") .title("WVU Medicine Help Alert")
@@ -25,7 +25,7 @@ pub fn run() {
let _ = w.eval( let _ = w.eval(
"document.documentElement.innerHTML = \ "document.documentElement.innerHTML = \
'<head><style>*{margin:0;padding:0}html,body{height:100%;overflow:hidden}iframe{width:100%;height:100%;border:none}</style></head>' + \ '<head><style>*{margin:0;padding:0}html,body{height:100%;overflow:hidden}iframe{width:100%;height:100%;border:none}</style></head>' + \
'<body><iframe src=\"https://helpalert.wvumedicine.org/PinPoint/helpalert.html\"></iframe></body>';" '<body><iframe src=\"https://helpalert.wvumedicine.org/ha\"></iframe></body>';"
); );
} }
return false; return false;
+5 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "WVUMedicine Help Alert Web Client", "productName": "WVUMedicine Help Alert Web Client",
"version": "1.0.0", "version": "1.0.1",
"identifier": "org.wvumedicine.duress", "identifier": "org.wvumedicine.duress",
"build": { "build": {
"frontendDist": "../src" "frontendDist": "../src"
@@ -14,6 +14,10 @@
} }
}, },
"bundle": { "bundle": {
"copyright": "© 2026 James Brotosky <james.brotosky@wvumedicine.org",
"shortDescription": "HelpAlert Duress Alarm Web Client",
"longDescription": "A lightweight desktop wrapper for the WVU Medicine PinPoint HelpAlert duress alarm system",
"publisher": "James Brotosky",
"active": true, "active": true,
"targets": [ "targets": [
"nsis" "nsis"
Submodule wry deleted from 6ef93b3e99