From 29651e2b9bc17b2740fe799749a7245c44e56d8a Mon Sep 17 00:00:00 2001 From: Abdenasser Date: Thu, 7 Nov 2024 23:11:42 +0100 Subject: [PATCH] adds new download buttons for windows and linux --- build-universal.sh | 38 -------------------------------------- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- 5 files changed, 4 insertions(+), 42 deletions(-) delete mode 100755 build-universal.sh diff --git a/build-universal.sh b/build-universal.sh deleted file mode 100755 index 9e9f73d..0000000 --- a/build-universal.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# source .env for notarization credentials -echo "Sourcing .env..." -if [ -f .env ]; then - source .env - # Verify that required environment variables are set - if [ -z "$APPLE_ID" ] || [ -z "$APPLE_PASSWORD" ] || [ -z "$APPLE_TEAM_ID" ]; then - echo "Error: Required environment variables are not set" - echo "Please ensure your .env file contains:" - echo "APPLE_ID=your.email@example.com" - echo "APPLE_PASSWORD=your-app-specific-password" - echo "APPLE_TEAM_ID=your-team-id" - exit 1 - fi - # Export the variables so they are available to child processes - export APPLE_ID - export APPLE_PASSWORD - export APPLE_TEAM_ID -else - echo "Error: .env file not found" - echo "Please create a .env file with the following variables:" - echo "APPLE_ID=your.email@example.com" - echo "APPLE_PASSWORD=your-app-specific-password" - echo "APPLE_TEAM_ID=your-team-id" - exit 1 -fi - -# Build frontend -npm run build - -# Build for Intel -echo "Building for x86_64..." -npm run tauri build -- --target x86_64-apple-darwin --bundles dmg - -# Build for Apple Silicon -echo "Building for aarch64..." -npm run tauri build -- --target aarch64-apple-darwin --bundles dmg - diff --git a/package.json b/package.json index 8e77e60..30cda44 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "macos-task-manager", - "version": "1.0.6", + "version": "1.0.7", "description": "", "type": "module", "scripts": { diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index fcb010b..9ee4e93 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1608,7 +1608,7 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] name = "macos-task-manager" -version = "1.0.6" +version = "1.0.7" dependencies = [ "serde", "serde_json", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index d418e3a..db2b202 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "macos-task-manager" -version = "1.0.6" +version = "1.0.7" description = "A Tauri App" authors = ["you"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 46b9a85..3c38462 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -28,7 +28,7 @@ }, "productName": "NeoHtop", "mainBinaryName": "NeoHtop", - "version": "1.0.6", + "version": "1.0.7", "identifier": "com.neohtop.dev", "plugins": {}, "app": {