File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 "version" : " 2.5.8"
1212 },
1313 "tauri" : {
14+ "security" : {
15+ "csp" : " default-src 'self' tauri: asset: data: blob:; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' asset: data: blob:"
16+ },
1417 "bundle" : {
1518 "active" : true ,
1619 "identifier" : " slf.pinstick" ,
20+ "macOS" : {
21+ "signingIdentity" : " -"
22+ },
1723 "icon" : [
1824 " icons/icon.png" ,
1925 " icons/icon.ico"
Original file line number Diff line number Diff line change 1818 < main >
1919 < textarea id ="note " placeholder ="Type your notes here... " autofocus > </ textarea >
2020 </ main >
21- < script src ="./main.js " type =" module " > </ script >
21+ < script src ="./main.js " defer > </ script >
2222 </ body >
2323</ html >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const statusEl = document.getElementById("status");
33const noteEl = document . getElementById ( "note" ) ;
44
55const TAURI = window . __TAURI__ ;
6- const invoke = TAURI ? .tauri ?. invoke ;
6+ const invoke = TAURI && TAURI . tauri ? TAURI . tauri . invoke : null ;
77
88function setStatus ( message ) {
99 statusEl . textContent = message ;
You can’t perform that action at this time.
0 commit comments