From d93f0d6969340b54590b3203d0be137e31436630 Mon Sep 17 00:00:00 2001 From: S3bTheGuy Date: Tue, 13 Aug 2024 19:58:45 +0200 Subject: [PATCH] Added proper names in conf, for github action --- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 6 +++--- src-tauri/src/calculations.rs | 2 +- src-tauri/tauri.conf.json | 36 ++++++++++++++++++++++++++++++++++- 4 files changed, 40 insertions(+), 6 deletions(-) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c75e969..04476bf 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -800,7 +800,7 @@ dependencies = [ [[package]] name = "dtime" -version = "1.0.0" +version = "1.0.1" dependencies = [ "cfspeedtest", "chrono", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index f9dbe70..a8bdba6 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "dtime" -version = "1.0.0" -description = "A Tauri App" -authors = ["you"] +version = "1.0.1" +description = "DTime" +authors = ["Sebastian Steffensen"] edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src-tauri/src/calculations.rs b/src-tauri/src/calculations.rs index 345ee16..d25002c 100644 --- a/src-tauri/src/calculations.rs +++ b/src-tauri/src/calculations.rs @@ -1,6 +1,6 @@ use cfspeedtest::speedtest::test_download; use cfspeedtest::OutputFormat; -use chrono::{DateTime, Duration as ChronoDuration, Local, Timelike, Utc}; +use chrono::{DateTime, Duration as ChronoDuration, Utc}; use serde::{Deserialize, Serialize}; use std::time::Duration as StdDuration; use tauri::async_runtime::spawn_blocking; diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 7dcbb75..65fb0a2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -29,6 +29,40 @@ "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" - ] + ], + "identifier": "sfsteffensen.dev", + "resources": [], + "externalBin": [], + "macOS": { + "frameworks": [], + "minimumSystemVersion": "10.13", + "exceptionDomain": "", + "signingIdentity": null, + "entitlements": null, + "bundleIdentifier": "sfsteffensen.dev.DTime", + "category": "public.app-category.utilities", + "shortcuts": [ + { + "name": "DTime", + "path": "/Applications/DTime.app", + "ascension": "APPLICATIONS" + } + ] + }, + "windows": { + "certificateThumbprint": null, + "timestampUrl": null, + "signingAlgorithm": null + }, + "linux": { + "category": "Utility" + }, + "outputFormat": { + "dmg": "DTime_${version}_MacOS_${arch}.dmg", + "appImage": "DTime_${version}_Linux_${arch}.AppImage", + "deb": "DTime_${version}_Linux_${arch}.deb", + "msi": "DTime_${version}_Windows_${arch}.msi", + "nsis": "DTime_${version}_Windows_${arch}.exe" + } } }