From 79aa420845ade874ced20752205008aa1e575518 Mon Sep 17 00:00:00 2001 From: Siklos Date: Tue, 9 Aug 2022 22:34:42 +0200 Subject: [PATCH] Fix path and identifier + add tauri api --- package.json | 1 + pnpm-lock.yaml | 7 +++++++ src-tauri/tauri.conf.json | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bfb4cb0..6deb679 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ }, "dependencies": { "@heroicons/react": "^1.0.6", + "@tauri-apps/api": "^1.0.2", "framer-motion": "^6.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0be36fa..cabedd8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,6 +2,7 @@ lockfileVersion: 5.4 specifiers: '@heroicons/react': ^1.0.6 + '@tauri-apps/api': ^1.0.2 '@tauri-apps/cli': ^1.0.5 '@testing-library/dom': ^8.16.1 '@testing-library/jest-dom': ^5.16.4 @@ -36,6 +37,7 @@ specifiers: dependencies: '@heroicons/react': 1.0.6_react@18.2.0 + '@tauri-apps/api': 1.0.2 framer-motion: 6.5.1_biqbaboplfbrettd7655fr4n2y react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -537,6 +539,11 @@ packages: resolution: {integrity: sha512-K7C7IlQ3zLePEZleUN21ceBA2aLcMnLHTLph8QWk1JK37L90obdpY+QGY8bXMKxf1ht1Z0MNewvXxWv0oGDYFg==} dev: true + /@tauri-apps/api/1.0.2: + resolution: {integrity: sha512-yuNW0oeJ1/ZA7wNF1KgxhHrSu5viPVzY/UgUczzN5ptLM8dH15Juy5rEGkoHfeXGju90Y/l22hi3BtIrp/za+w==} + engines: {node: '>= 12.22.0', npm: '>= 6.6.0', yarn: '>= 1.19.1'} + dev: false + /@tauri-apps/cli-darwin-arm64/1.0.5: resolution: {integrity: sha512-oxpFb9ZeMiC3xPUJ9NsXWCnnwFSVkPbJUvDKpc9IaoDIUpsMTV72W4P0Nh0uQRbyhx4modPpstt7+ONypNVYNg==} engines: {node: '>= 10'} diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 3a987e8..b59f7d0 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -4,7 +4,7 @@ "beforeBuildCommand": "", "beforeDevCommand": "", "devPath": "http://localhost:4000", - "distDir": "../build" + "distDir": "../dist" }, "package": { "productName": "svg-layout-designer-react", @@ -29,7 +29,7 @@ "icons/icon.icns", "icons/icon.ico" ], - "identifier": "com.tauri.dev", + "identifier": "com.siklos.dev", "longDescription": "", "macOS": { "entitlements": null,