Makefiles and changes.

This commit is contained in:
2026-01-08 00:57:17 -08:00
parent d04d74c242
commit ee4896b5ae
5 changed files with 62 additions and 6 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
[_versionLabel setTranslatesAutoresizingMaskIntoConstraints:NO];
_copyrightLabel = [[NSTextField labelWithString:
@"Copyright © 2025\nGarikMI. All rights reserved."] retain];
@"Copyright © 2026 Rednera.\nAll rights reserved."] retain];
[_copyrightLabel setFont:_fontSubheadline];
[_copyrightLabel setTextColor:[NSColor systemGrayColor]];
[_copyrightLabel setAlignment:NSTextAlignmentCenter];
+5 -3
View File
@@ -11,7 +11,7 @@
<key>CFBundleIconName</key>
<string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>com.garikme.Caffeine</string>
<string>com.rednera.Caffeine</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
@@ -19,13 +19,13 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.2</string>
<string>0.1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>0.2</string>
<string>0.1.0</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
@@ -40,5 +40,7 @@
<true/>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2026 Rednera. All rights reserved.</string>
</dict>
</plist>
+8 -2
View File
@@ -1,3 +1,6 @@
APPLE_DEVELOPMENT := $(shell cat ../ids/APPLE_DEVELOPMENT)
APPLE_DEVELOPER_ID_APPLICATION := $(shell cat ../ids/APPLE_DEVELOPER_ID_APPLICATION)
CC = clang
FLAGS = -fno-objc-arc -Wall -Wextra -Wunguarded-availability \
-Werror=unguarded-availability -glldb -fno-caret-diagnostics \
@@ -27,7 +30,11 @@ $(EXEC).app: $(EXEC)
mkdir -p $@/Contents/Resources/ && \
cp Info.plist $@/Contents/ && \
cp resources/AppIcon.icns $@/Contents/Resources/ && \
cp $(EXEC) $@/Contents/MacOS/
cp $(EXEC) $@/Contents/MacOS/ && \
$(if $(DEBUG), codesign --entitlements $(EXEC).entitlements \
-s ${APPLE_DEVELOPMENT} -f --timestamp -o runtime $(EXEC).app, \
codesign -s ${APPLE_DEVELOPER_ID_APPLICATION} -f --timestamp \
-o runtime $(EXEC).app)
# Requires universal-ctags for Objective-C.
ctags:
@@ -35,4 +42,3 @@ ctags:
clean:
rm -rf $(EXEC) $(EXEC).dSYM $(EXEC).app