Skip to content

Commit e78204a

Browse files
authored
Merge pull request #5 from clearfeld/main
v0.5.0
2 parents d9fb6ce + 4452579 commit e78204a

File tree

15 files changed

+683
-344
lines changed

15 files changed

+683
-344
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<H1 align="center">Construct</H1>
33
</div>
44

5-
![image](https://github.com/user-attachments/assets/a0984944-4d89-442e-8b39-f869001ddf86)
5+
[![image](https://private-user-images.githubusercontent.com/49600278/400570317-dcb26a03-7361-4f67-977a-93b17baf8470.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzYyMDI4MDQsIm5iZiI6MTczNjIwMjUwNCwicGF0aCI6Ii80OTYwMDI3OC80MDA1NzAzMTctZGNiMjZhMDMtNzM2MS00ZjY3LTk3N2EtOTNiMTdiYWY4NDcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTA2VDIyMjgyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzOGRlNjQwODBhNzJmNTI1MWZhMDk3YjFmMWUxYjhjNDJkZjViZjRkZWI4ZDQxOTE3OGFlMTJjZjY5YTIzNTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bMpH5FotMIbuH3FkFW9Ch2DWo353OBDdHt3aQObwPPE)
66

77
# Tauri + React + Typescript
88

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@monaco-editor/react": "^4.6.0",
1616
"@stylexjs/stylex": "^0.9.3",
1717
"@tauri-apps/api": "^2",
18+
"@tauri-apps/plugin-fs": "~2",
1819
"@tauri-apps/plugin-global-shortcut": "~2",
1920
"@tauri-apps/plugin-opener": "^2",
2021
"@tauri-apps/plugin-os": "~2",

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.lock

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "construct"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
description = "A GUI API Client"
55
authors = ["clearfeld"]
66
edition = "2021"
@@ -27,6 +27,7 @@ curl = "0.4.47"
2727
url = "2.5.4"
2828
uuid = { version = "1.11.0", features = ["v4", "fast-rng"] }
2929
tauri-plugin-process = "2"
30+
tauri-plugin-fs = "2"
3031

3132
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
3233
tauri-plugin-global-shortcut = "2"

src-tauri/capabilities/desktop.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
],
1111
"permissions": [
1212
"updater:default",
13-
"updater:default"
13+
"updater:default",
14+
{
15+
"identifier": "fs:allow-exists",
16+
"allow": [{ "path": "$APPDATA/*" }]
17+
},
18+
"fs:allow-appdata-read",
19+
"fs:allow-appdata-read-recursive",
20+
"fs:allow-appdata-write",
21+
"fs:allow-appdata-write-recursive"
1422
]
1523
}

0 commit comments

Comments
 (0)