Skip to content

Commit

Permalink
Move Entitlements out of assets folder
Browse files Browse the repository at this point in the history
entitlements should not be packaged into built app
  • Loading branch information
KenCorma committed Sep 8, 2024
1 parent 7446c7d commit 75c4b67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/macos/signwheel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
shell: sh
run: |
cd ./assets/python/wheels
find . -name "*so" -o -name "*.dylib" -print0 | while read -d $'\0' file; do codesign --sign 6698D856280DC1662A8E01E5B63428CB6D6651BB --force --timestamp --options runtime --entitlements ../../entitlements.mac.plist "$file"; done
find . -name "*so" -o -name "*.dylib" -print0 | while read -d $'\0' file; do codesign --sign 6698D856280DC1662A8E01E5B63428CB6D6651BB --force --timestamp --options runtime --entitlements ../../../scripts/entitlements.mac.plist "$file"; done
- name: Repack
shell: sh
run: |
Expand Down
4 changes: 2 additions & 2 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const config: ForgeConfig = {
osxSign: {
identity: process.env.SIGN_ID,
optionsForFile: (filepath) => {
return { entitlements: './assets/entitlements.mac.plist' };
return { entitlements: './scripts/entitlements.mac.plist' };
}
},
osxNotarize: {
Expand All @@ -32,7 +32,7 @@ const config: ForgeConfig = {
teamId: process.env.APPLE_TEAM_ID
},
},
extraResource: ['./assets/UI', './assets/ComfyUI', './assets/python.tgz'],
extraResource: ['./assets'],

icon: process.platform === 'linux' ? 'assets/UI/Comfy_Logo_x128.png' : 'assets/UI/Comfy_Logo',
},
Expand Down
File renamed without changes.

0 comments on commit 75c4b67

Please sign in to comment.