From 623ef867cffd5035a4d20f4a530224f3aef60812 Mon Sep 17 00:00:00 2001 From: Anmol Verma Date: Wed, 14 Aug 2024 21:51:41 +0530 Subject: [PATCH] changes in conf and yml --- .github/workflows/ tauri-build.yml | 2 +- apps/tauri/src-tauri/tauri.conf.json | 63 ++++++++++++++++------------ 2 files changed, 38 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ tauri-build.yml b/.github/workflows/ tauri-build.yml index 730afd5cc..8edb87fd0 100644 --- a/.github/workflows/ tauri-build.yml +++ b/.github/workflows/ tauri-build.yml @@ -66,7 +66,7 @@ jobs: run: yarn install - name: Build and Publish Tauri App - uses: tauri-apps/tauri-action@v2.319.1 + uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/apps/tauri/src-tauri/tauri.conf.json b/apps/tauri/src-tauri/tauri.conf.json index ee7c864f6..bd9ad145e 100644 --- a/apps/tauri/src-tauri/tauri.conf.json +++ b/apps/tauri/src-tauri/tauri.conf.json @@ -1,37 +1,48 @@ { - "productName": "Packrat", - "version": "0.1.0", - "identifier": "com.andrewbierman.packrat", "build": { - "frontendDist": "../dist", - "devUrl": "http://localhost:4200", - "beforeDevCommand": "yarn dev", - "beforeBuildCommand": "yarn run build" + "beforeBuildCommand": "", + "beforeDevCommand": "", + "devPath": "http://localhost:4200", + "distDir": "../dist", + "withGlobalTauri": false }, - "app": { + "package": { + "productName": "PackRat", + "version": "0.1.0" + }, + "tauri": { + "bundle": { + "active": true, + "category": "DeveloperTool", + "identifier": "com.andrewbierman.packrat", + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + "resources": [], + "targets": ["deb", "appimage", "msi", "dmg"], + "windows": { + "certificateThumbprint": "", + "digestAlgorithm": "sha256", + "timestampUrl": "" + } + }, + "updater": { + "active": false + }, "windows": [ { - "title": "Packrat", + "title": "PackRat", "width": 800, "height": 600, "resizable": true, - "fullscreen": false + "fullscreen": false, + "transparent": false, + "decorations": true } - ], - "security": { - "csp": null - } - }, - "bundle": { - "active": true, - "targets": "all", - "icon": [ - "icons/32x32.png", - "icons/128x128.png", - "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" ] - }, - "$schema": "../../../node_modules/@tauri-apps/cli/schema.json" + } }