How to refer to arch or the app name in *flight_steps
#7055
Unanswered
muzimuzhi
asked this question in
Tap maintenance and Homebrew development
Replies: 1 comment 1 reply
|
Currently I'm duplicating on_arm do
postflight_steps do
run "xattr",
args: ["-dr", "com.apple.quarantine", "{{appdir}}/texstudio-{{version}}-osx-m1.app"]
end
end
on_intel do
postflight_steps do
run "xattr",
args: ["-dr", "com.apple.quarantine", "{{appdir}}/texstudio-{{version}}-osx.app"]
end
end |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm migrating deprecated
postflightstanza topostflight_stepsfor casks intexstudio-org/texstudiotap.The old
postflightstanza looks like the following. Note that the app name contains both version andarch.I tried to change
postflightto the followingpostflight_steps, but inargs:{{arch}}then it's left verbatim#{arch}then errorundefined local variable or method 'arch'is reportedHow to refer to the
arch, or the app name composed inappstanza in*flight_steps?All reactions