Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 59090bb

Browse files
louis-janhiento09
andauthored
fix: binary file lookup (#1001)
Co-authored-by: Hien To <tominhhien97@gmail.com>
1 parent 5fee4a2 commit 59090bb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/cortex-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ jobs:
233233
include:
234234
- os: "linux"
235235
name: "amd64"
236-
runs-on: "ubuntu-latest"
236+
runs-on: "ubuntu-20-04"
237237

238238
- os: "windows"
239239
name: "amd64"
@@ -322,14 +322,14 @@ jobs:
322322
which cp
323323
which mv
324324
npm install -g cpx
325-
npx cpx ./dist/cortexso-macos ./
326-
mv cortexso-macos cortex
325+
npx cpx ./dist/cortexso ./
326+
mv cortexso cortex
327327
328328
- name: Code Signing macOS
329329
if: runner.os == 'macOS'
330330
run: |
331331
cd cortex-js
332-
./dist/cortexso-macos --help
332+
./dist/cortexso --help
333333
echo "--------"
334334
./cortex --help
335335
make codesign-binary CODE_SIGN=true DEVELOPER_ID="${{ secrets.DEVELOPER_ID }}"

cortex-js/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ AZURE_TENANT_ID ?= xxxx
55
AZURE_CLIENT_SECRET ?= xxxx
66
AZURE_CERT_NAME ?= xxxx
77
DEVELOPER_ID ?= xxxx
8-
CORTEX_EXE_IN ?= "dist/cortexso-win.exe"
8+
CORTEX_EXE_IN ?= "dist/cortexso.exe"
99
CORTEX_EXE_OUT ?= "cortex.exe"
1010
CORTEX_VERSION ?= "0.0.0.1"
1111

1212
update-app-info:
1313
ifeq ($(OS),Windows_NT)
1414
@powershell -Command 'npx resedit --in $(CORTEX_EXE_IN) --out $(CORTEX_EXE_OUT) --icon "1,cortex.ico" --no-grow --company-name "Homebrew Computer Pte Ltd" --file-description "cortex cli" --file-version "$(CORTEX_VERSION)" --internal-name "cortex" --product-name "cortex" --product-version "$(CORTEX_VERSION)"'
1515
else ifeq ($(shell uname -s),Linux)
16-
@cp ./dist/cortexso-linux ./cortex
16+
@cp ./dist/cortexso ./cortex
1717
endif
1818

1919
codesign-binary:

0 commit comments

Comments
 (0)