🐛 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
|
||||
type: boolean
|
||||
default: false
|
||||
if: inputs.platform == 'macos-latest'
|
||||
multi_arch:
|
||||
description: "MultiArch, MacOS only, Optional"
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
if: inputs.platform == 'macos-latest'
|
||||
targets:
|
||||
description: "Targets, Linux only, Optional"
|
||||
required: false
|
||||
@@ -54,7 +52,6 @@ on:
|
||||
- "deb"
|
||||
- "appimage"
|
||||
- "rpm"
|
||||
if: inputs.platform == 'ubuntu-24.04'
|
||||
|
||||
jobs:
|
||||
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,
|
||||
];
|
||||
|
||||
if (process.env.HIDE_TITLE_BAR === "true") {
|
||||
if (process.env.HIDE_TITLE_BAR === "true" && process.platform === "darwin") {
|
||||
params.push("--hide-title-bar");
|
||||
}
|
||||
|
||||
@@ -42,12 +42,12 @@ const buildParameters = () => {
|
||||
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
|
||||
params.push("--multi-arch");
|
||||
}
|
||||
|
||||
if (process.env.TARGETS) {
|
||||
if (process.env.TARGETS && process.platform === "linux") {
|
||||
params.push("--targets", process.env.TARGETS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user