🐛 update for cli actions
This commit is contained in:
3
.github/workflows/pake-cli.yaml
vendored
3
.github/workflows/pake-cli.yaml
vendored
@@ -38,13 +38,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
if: inputs.platform == 'macos-latest'
|
|
||||||
multi_arch:
|
multi_arch:
|
||||||
description: "MultiArch, MacOS only, Optional"
|
description: "MultiArch, MacOS only, Optional"
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
if: inputs.platform == 'macos-latest'
|
|
||||||
targets:
|
targets:
|
||||||
description: "Targets, Linux only, Optional"
|
description: "Targets, Linux only, Optional"
|
||||||
required: false
|
required: false
|
||||||
@@ -54,7 +52,6 @@ on:
|
|||||||
- "deb"
|
- "deb"
|
||||||
- "appimage"
|
- "appimage"
|
||||||
- "rpm"
|
- "rpm"
|
||||||
if: inputs.platform == 'ubuntu-24.04'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
6
script/build_with_pake_cli.js
vendored
6
script/build_with_pake_cli.js
vendored
@@ -34,7 +34,7 @@ const buildParameters = () => {
|
|||||||
process.env.WIDTH,
|
process.env.WIDTH,
|
||||||
];
|
];
|
||||||
|
|
||||||
if (process.env.HIDE_TITLE_BAR === "true") {
|
if (process.env.HIDE_TITLE_BAR === "true" && process.platform === "darwin") {
|
||||||
params.push("--hide-title-bar");
|
params.push("--hide-title-bar");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -42,12 +42,12 @@ const buildParameters = () => {
|
|||||||
params.push("--fullscreen");
|
params.push("--fullscreen");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.MULTI_ARCH === "true") {
|
if (process.env.MULTI_ARCH === "true" && process.platform === "darwin") {
|
||||||
// We'll handle rustup separately since it's a different command
|
// We'll handle rustup separately since it's a different command
|
||||||
params.push("--multi-arch");
|
params.push("--multi-arch");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.TARGETS) {
|
if (process.env.TARGETS && process.platform === "linux") {
|
||||||
params.push("--targets", process.env.TARGETS);
|
params.push("--targets", process.env.TARGETS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user