From 9bbd640e2385642995d5ed20d8fc6202ae147d7a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=99=E5=A8=87?=
Date: Tue, 27 Feb 2024 14:44:54 +0800
Subject: [PATCH] win and mac update
---
.github/workflows/main.yml | 6 ++++--
dmg/config.json | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index dbe7ede..47445ce 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -21,10 +21,12 @@ jobs:
run: flutter config --enable-windows-desktop
- name: Build artifacts
run: flutter build windows --release
+ - name: install npm
+ run: msiexec.exe /a https://nodejs.org/dist/v20.11.1/node-v20.11.1-x64.msi /quiet
- name: install evb
- run: curl.exe -o .\enigmavbconsole.exe "https://drive.usercontent.google.com/download?id=1j6ETwhO0NTn_QF8yrSBbczGpgh5AoMt4&export=download&authuser=0&confirm=t&uuid=ca7c2bc1-0ab1-4456-9cd6-fa79fa9aeedc&at=APZUnTU856nDSXEw3OhFsSMN3Lha%3A1709011511832"
+ run: npm install enigmavirtualbox
- name: build single exe file
- run: .\enigmavbconsole.exe .\evb\renamer_evb.evb
+ run: enigmavirtualbox cli .\evb\renamer_evb.evb
- name: Windows Release
uses: actions/upload-artifact@v4
with:
diff --git a/dmg/config.json b/dmg/config.json
index 0d8fd32..8f457d5 100644
--- a/dmg/config.json
+++ b/dmg/config.json
@@ -3,6 +3,6 @@
"icon": "./assets/desktop.png",
"contents": [
{ "x": 448, "y": 344, "type": "link", "path": "/Applications" },
- { "x": 192, "y": 344, "type": "file", "path": "./build/macos/Build/Products/Release/renamer.app" }
+ { "x": 192, "y": 344, "type": "file", "path": "../../build/macos/Build/Products/Release/renamer.app" }
]
}
\ No newline at end of file