mirror of
https://github.com/pawelorzech/MacTorn.git
synced 2026-01-29 19:54:27 +00:00
feat: Add Universal Binary support for Intel and Apple Silicon Macs
- Add ARCHS="arm64 x86_64" to Release configuration for universal builds - Update Info.plist to use dynamic version variables (MARKETING_VERSION, CURRENT_PROJECT_VERSION) - Update Makefile release target with proper universal build settings - Add Universal Binary badge to README
This commit is contained in:
parent
7f836a0bbd
commit
273fd31884
5 changed files with 9 additions and 4 deletions
BIN
MacTorn-v1.4.3.zip
Normal file
BIN
MacTorn-v1.4.3.zip
Normal file
Binary file not shown.
|
|
@ -604,6 +604,7 @@
|
|||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = macosx;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
ARCHS = "arm64 x86_64";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.3</string>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.3</string>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
6
Makefile
6
Makefile
|
|
@ -57,13 +57,15 @@ build:
|
|||
CODE_SIGN_IDENTITY="-" \
|
||||
CODE_SIGNING_REQUIRED=NO
|
||||
|
||||
# Build Release
|
||||
# Build Release (Universal Binary for Intel + Apple Silicon)
|
||||
release:
|
||||
xcodebuild build \
|
||||
-project MacTorn/MacTorn.xcodeproj \
|
||||
-scheme MacTorn \
|
||||
-configuration Release \
|
||||
-destination 'platform=macOS' \
|
||||
-destination 'generic/platform=macOS' \
|
||||
ARCHS="arm64 x86_64" \
|
||||
ONLY_ACTIVE_ARCH=NO \
|
||||
CODE_SIGN_IDENTITY="-" \
|
||||
CODE_SIGNING_REQUIRED=NO
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ A native macOS menu bar app for monitoring your **Torn** game status.
|
|||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
<p align="center">
|
||||
|
|
@ -68,6 +69,7 @@ A native macOS menu bar app for monitoring your **Torn** game status.
|
|||
## Requirements
|
||||
|
||||
- macOS 13.0 (Ventura) or later
|
||||
- **Universal Binary**: Supports both Intel (x86_64) and Apple Silicon (arm64) Macs
|
||||
- Torn API Key with access to: basic, bars, cooldowns, travel, profile, events, messages, market
|
||||
|
||||
## API Data Usage
|
||||
|
|
|
|||
Loading…
Reference in a new issue