Skip to content

Commit

Permalink
Merge pull request RustedLessPass#28 from RustedLessPass/tauri-security
Browse files Browse the repository at this point in the history
build(tauri): 👷 better tauri config
  • Loading branch information
M1n-74316D65 authored Apr 4, 2024
2 parents 162c5c6 + b0cf13c commit 149ecb9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ jobs:
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
tauriScript: cargo tauri
releaseId: ${{ needs.create-release.outputs.release_id }}
Expand Down
10 changes: 7 additions & 3 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@
"windows": [
{
"title": "RustedLessPass",
"width": 800,
"height": 650
"width": 501.302,
"height": 638.628,
"minWidth": 501.302,
"minHeight": 638.628,
"resizable": true
}
],
"security": {
"csp": null
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; font-src 'self' data:"
}
},
"bundle": {
"active": true,
"category": "Utility",
"targets": "all",
"icon": [
"../assets/favicon.png",
Expand Down

0 comments on commit 149ecb9

Please sign in to comment.