- Rename WarpDockTilePlugin to GalaxyDockTilePlugin - Fix runtime icon switching to load from compiled-in assets - Add NSDockTilePlugIn key to embedded Info.plist - Replace all channel icons with padded Galaxy variants - Update build.rs references for renamed plugin - No longer requires post-bundle steps for icon switching - Bump version to 1.2.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
21 lines
717 B
Makefile
21 lines
717 B
Makefile
BUNDLE_NAME = GalaxyDockTilePlugin.docktileplugin
|
|
OBJC_FILES = GalaxyDockTilePlugin.m
|
|
FRAMEWORKS = -framework Cocoa -framework AppKit -framework Foundation
|
|
# Compile a universal binary for both arm64 and x86_64.
|
|
CFLAGS = -fobjc-arc -bundle -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET) -arch arm64 -arch x86_64
|
|
LDFLAGS = -ObjC
|
|
|
|
.PHONY: all clean
|
|
|
|
all: $(BUNDLE_NAME)
|
|
|
|
$(BUNDLE_NAME): $(OBJC_FILES)
|
|
mkdir -p $(BUNDLE_NAME)/Contents/MacOS
|
|
clang $(CFLAGS) $(LDFLAGS) $(FRAMEWORKS) $(OBJC_FILES) -o $(BUNDLE_NAME)/Contents/MacOS/GalaxyDockTilePlugin
|
|
cp Info.plist $(BUNDLE_NAME)/Contents/
|
|
mkdir -p $(BUNDLE_NAME)/Contents/Resources
|
|
cp Resources/* $(BUNDLE_NAME)/Contents/Resources/
|
|
|
|
clean:
|
|
rm -rf $(BUNDLE_NAME)
|