mirror of
https://github.com/project-gauntlet/gauntlet.git
synced 2025-12-23 10:35:53 +00:00
Try to fix macos release
This commit is contained in:
parent
a0b4dbe8e9
commit
b9f4d98408
2 changed files with 5 additions and 7 deletions
|
|
@ -19,11 +19,7 @@ For changes in `@project-gauntlet/tools` see [separate CHANGELOG.md](https://git
|
|||
- Global shortcut is now executed on key press, instead of key release
|
||||
- It is now possible to run commands and open views using CLI command
|
||||
- Format: `gauntlet run <plugin-id> <entrypoint-id> <action-id>`
|
||||
- Plugin ID can be found in Settings UI
|
||||
- Entrypoint ID can be found in:
|
||||
- For entrypoint types `command` and `view` - in Plugin Manifest or in Settings UI TODO
|
||||
- For entrypoint type `entrypoint-generator` - in Settings UI TODO
|
||||
- Action ID can also be found in Plugin Manifest
|
||||
- Action ID can be found in Plugin Manifest
|
||||
- Action ID option also accepts special values
|
||||
- `:primary` - to run primary action of the entrypoint
|
||||
- `:secondary` - to run secondary action of the entrypoint
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { Octokit } from 'octokit';
|
|||
import { sync as spawnSync } from "cross-spawn";
|
||||
import path from "node:path";
|
||||
import { mkdirSync, readFileSync } from "fs";
|
||||
import { copyFileSync, writeFileSync } from "node:fs";
|
||||
import { copyFileSync, rmdirSync, writeFileSync } from "node:fs";
|
||||
import * as core from '@actions/core';
|
||||
import { SpawnSyncOptions } from "child_process";
|
||||
|
||||
|
|
@ -365,6 +365,8 @@ async function packageForMacos(projectRoot: string, arch: string[], profile: str
|
|||
|
||||
const version = await readVersion(projectRoot)
|
||||
|
||||
rmdirSync(outDirPath)
|
||||
|
||||
mkdirSync(outDirPath)
|
||||
mkdirSync(bundleDir)
|
||||
mkdirSync(contentsDir)
|
||||
|
|
@ -428,7 +430,7 @@ async function packageForMacos(projectRoot: string, arch: string[], profile: str
|
|||
outFileName,
|
||||
bundleDir
|
||||
], {
|
||||
cwd: outDirPath
|
||||
cwd: targetDirPath
|
||||
})
|
||||
|
||||
if (sign) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue