mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix darwin builds on gog
This commit is contained in:
parent
b0c9894bf6
commit
c77e428ffb
@ -215,24 +215,27 @@ function gulptasksStandalone($, gulp) {
|
|||||||
() => {
|
() => {
|
||||||
const appFile = path.join(tempDestDir, "shapez-darwin-x64");
|
const appFile = path.join(tempDestDir, "shapez-darwin-x64");
|
||||||
const appFileInner = path.join(appFile, "shapez.app");
|
const appFileInner = path.join(appFile, "shapez.app");
|
||||||
const appIdDest = path.join(
|
|
||||||
path.join(appFileInner, "Contents", "MacOS"),
|
|
||||||
"steam_appid.txt"
|
|
||||||
);
|
|
||||||
// console.warn("++ Preparing ++");
|
|
||||||
// fse.copySync(path.join(tempDestBuildDir, "steam_appid.txt"), appIdDest);
|
|
||||||
|
|
||||||
console.warn("++ Signing ++");
|
console.warn("++ Signing ++");
|
||||||
console.warn("Signing steam_appid.txt");
|
|
||||||
|
|
||||||
execSync(
|
if (variantData.steamAppId) {
|
||||||
`codesign --force --verbose --options runtime --timestamp --no-strict --sign "${
|
const appIdDest = path.join(
|
||||||
process.env.SHAPEZ_CLI_APPLE_CERT_NAME
|
path.join(appFileInner, "Contents", "MacOS"),
|
||||||
}" --entitlements "${path.join(__dirname, "entitlements.plist")}" ${appIdDest}`,
|
"steam_appid.txt"
|
||||||
{
|
);
|
||||||
cwd: appFile,
|
// console.warn("++ Preparing ++");
|
||||||
}
|
// fse.copySync(path.join(tempDestBuildDir, "steam_appid.txt"), appIdDest);
|
||||||
);
|
|
||||||
|
console.warn("Signing steam_appid.txt");
|
||||||
|
|
||||||
|
execSync(
|
||||||
|
`codesign --force --verbose --options runtime --timestamp --no-strict --sign "${
|
||||||
|
process.env.SHAPEZ_CLI_APPLE_CERT_NAME
|
||||||
|
}" --entitlements "${path.join(__dirname, "entitlements.plist")}" ${appIdDest}`,
|
||||||
|
{
|
||||||
|
cwd: appFile,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
console.warn("Base dir:", appFile);
|
console.warn("Base dir:", appFile);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user