adds new download buttons for windows and linux

This commit is contained in:
Abdenasser 2024-11-07 23:11:42 +01:00
parent 747ff31518
commit 29651e2b9b
5 changed files with 4 additions and 42 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
{ {
"name": "macos-task-manager", "name": "macos-task-manager",
"version": "1.0.6", "version": "1.0.7",
"description": "", "description": "",
"type": "module", "type": "module",
"scripts": { "scripts": {

2
src-tauri/Cargo.lock generated
View File

@ -1608,7 +1608,7 @@ checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
[[package]] [[package]]
name = "macos-task-manager" name = "macos-task-manager"
version = "1.0.6" version = "1.0.7"
dependencies = [ dependencies = [
"serde", "serde",
"serde_json", "serde_json",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "macos-task-manager" name = "macos-task-manager"
version = "1.0.6" version = "1.0.7"
description = "A Tauri App" description = "A Tauri App"
authors = ["you"] authors = ["you"]
edition = "2021" edition = "2021"

View File

@ -28,7 +28,7 @@
}, },
"productName": "NeoHtop", "productName": "NeoHtop",
"mainBinaryName": "NeoHtop", "mainBinaryName": "NeoHtop",
"version": "1.0.6", "version": "1.0.7",
"identifier": "com.neohtop.dev", "identifier": "com.neohtop.dev",
"plugins": {}, "plugins": {},
"app": { "app": {