Skip to content

Commit

Permalink
timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Aug 9, 2024
1 parent e6223ad commit d450f42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions macos/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@
subprocess.check_call([
"find", APPDIR + "/Contents/Resources",
"-name", "*.dylib",
"-exec", "codesign", "--force", "--timestamp", "--verbose", "--sign", args.sign, "{}", ";"])
"-exec", "codesign", "--force", "--verbose", "--sign", args.sign, "{}", ";"])
# Sign all .so files in the Resources folder
subprocess.check_call([
"find", APPDIR + "/Contents/Resources",
"-name", "*.so",
"-exec", "codesign", "--force", "--timestamp", "--verbose", "--sign", args.sign, "{}", ";"])
"-exec", "codesign", "--force", "--verbose", "--sign", args.sign, "{}", ";"])
# Sign app bundle (with hardened runtime)
subprocess.check_call(["codesign", "--force", "--timestamp", "--verbose", "--deep", "--options", "runtime", "--sign", args.sign, APPDIR])
subprocess.check_call(["codesign", "--force", "--verbose", "--deep", "--options", "runtime", "--sign", args.sign, APPDIR])

# Build .dmg
if os.path.exists("keyboard-configurator.dmg"):
Expand Down

0 comments on commit d450f42

Please sign in to comment.