mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-11 17:29:45 +00:00
adds new download buttons for windows and linux
This commit is contained in:
parent
747ff31518
commit
29651e2b9b
@ -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
|
|
||||||
|
|
@ -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
2
src-tauri/Cargo.lock
generated
@ -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",
|
||||||
|
@ -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"
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user