Skip to content

Commit

Permalink
Update osxcodesign
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jan 3, 2024
1 parent 3385eac commit 759ba39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
dart pub global activate protoc_plugin
- name: Build Flutter app
run: flutter build macos
run: flutter build macos --debug

- uses: actions/setup-node@v4
with:
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,11 @@ $(INSTALLER_NAME).dmg: require-version require-appdmg require-retry require-magi
rm -rf $(DARWIN_APP_NAME) && \
cp -r $$INSTALLER_RESOURCES/$(DARWIN_APP_NAME)_template $(DARWIN_APP_NAME) && \
mkdir $(DARWIN_APP_NAME)/Contents/MacOS && \
cp -a build/macos/Build/Products/Release/Lantern.app/Contents/* $(DARWIN_APP_NAME)/Contents/ && \
ls build/macos/Build/Products/Release/Lantern.app/Contents && \
cp $(DARWIN_BINARY_NAME) build/macos/Build/Products/Release/Lantern.app/Contents/Frameworks && \
$(call osxcodesign,build/macos/Build/Products/Release/Lantern.app/Contents/Frameworks/liblantern.dylib) && \
cp -a build/macos/Build/Products/Debug/Lantern.app/Contents/* $(DARWIN_APP_NAME)/Contents/ && \
ls build/macos/Build/Products/Debug/Lantern.app/Contents && \
cp $(DARWIN_BINARY_NAME) build/macos/Build/Products/Debug/Lantern.app/Contents/Frameworks && \
$(call osxcodesign,build/macos/Build/Products/Debug/Lantern.app/Contents/Frameworks/liblantern.dylib) && \
cp -r $(DARWIN_BINARY_NAME) $(DARWIN_APP_NAME)/Contents/Resources && \
mkdir $(DARWIN_APP_NAME)/Contents/Resources/en.lproj && \
cp $(INSTALLER_RESOURCES)/$(PACKAGED_YAML) $(DARWIN_APP_NAME)/Contents/Resources/en.lproj/$(PACKAGED_YAML) && \
cp $(APP_YAML_PATH) $(DARWIN_APP_NAME)/Contents/Resources/en.lproj/$(APP_YAML) && \
Expand Down
Binary file modified installer-resources-lantern/darwin/dmgbackground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 759ba39

Please sign in to comment.