fix: build cleanups
This commit is contained in:
@@ -34,9 +34,22 @@
|
||||
27A21B532F0F69DD0018C4F3 /* GazeUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GazeUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
|
||||
270D22E92F1474F1008BCE42 /* Exceptions for "Gaze" folder in "Gaze" target */ = {
|
||||
isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
|
||||
membershipExceptions = (
|
||||
Info.plist,
|
||||
);
|
||||
target = 27A21B3B2F0F69DC0018C4F3 /* Gaze */;
|
||||
};
|
||||
/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
|
||||
|
||||
/* Begin PBXFileSystemSynchronizedRootGroup section */
|
||||
27A21B3E2F0F69DC0018C4F3 /* Gaze */ = {
|
||||
isa = PBXFileSystemSynchronizedRootGroup;
|
||||
exceptions = (
|
||||
270D22E92F1474F1008BCE42 /* Exceptions for "Gaze" folder in "Gaze" target */,
|
||||
);
|
||||
path = Gaze;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
@@ -418,7 +431,7 @@
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = Gaze/Info.plist;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.healthcare-fitness";
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
@@ -454,7 +467,7 @@
|
||||
ENABLE_PREVIEWS = YES;
|
||||
GENERATE_INFOPLIST_FILE = NO;
|
||||
INFOPLIST_FILE = Gaze/Info.plist;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.healthcare-fitness";
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.productivity";
|
||||
INFOPLIST_KEY_NSHumanReadableCopyright = "";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
|
||||
@@ -227,10 +227,10 @@ class AppDelegate: NSObject, NSApplicationDelegate, ObservableObject {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { [weak self] in
|
||||
guard let self = self, let settingsManager = self.settingsManager else { return }
|
||||
|
||||
// Check if onboarding window already exists from the WindowGroup
|
||||
// Check if onboarding window already exists from the WindowGroup
|
||||
let existingWindow = NSApplication.shared.windows.first { window in
|
||||
// Check if window contains OnboardingContainerView by examining its content view
|
||||
if let hostingView = window.contentView as? NSHostingView<OnboardingContainerView> {
|
||||
if window.contentView is NSHostingView<OnboardingContainerView> {
|
||||
return true
|
||||
}
|
||||
// Also check for windows with our expected size (onboarding window dimensions)
|
||||
|
||||
@@ -241,13 +241,13 @@
|
||||
{
|
||||
"value" : {
|
||||
"linear-gradient" : [
|
||||
"srgb:0.00000,0.99144,1.00000,1.00000",
|
||||
"display-p3:0.38402,0.64824,1.04682,1.00000",
|
||||
"display-p3:0.23132,0.52490,0.96777,1.00000"
|
||||
],
|
||||
"orientation" : {
|
||||
"start" : {
|
||||
"x" : 0.06353251664956905,
|
||||
"y" : 0.04636742178812686
|
||||
"x" : 0.0848494935047852,
|
||||
"y" : 0.06691774417449506
|
||||
},
|
||||
"stop" : {
|
||||
"x" : 0.5,
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
<dict>
|
||||
<key>LSUIElement</key>
|
||||
<true/>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.productivity</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Gaze</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
|
||||
@@ -115,7 +115,7 @@ struct SettingsWindowView: View {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.frame(minWidth: 750, minHeight: 800)
|
||||
.frame(minWidth: 750, minHeight: 850)
|
||||
.onReceive(
|
||||
NotificationCenter.default.publisher(for: Notification.Name("SwitchToSettingsTab"))
|
||||
) { notification in
|
||||
|
||||
@@ -14,7 +14,7 @@ BUILD_NUMBER=$(grep -A 1 "CURRENT_PROJECT_VERSION" "$PROJECT_FILE" | grep -o '[0
|
||||
# Fallback to manual values if extraction fails
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "⚠️ Could not extract MARKETING_VERSION from project, using fallback"
|
||||
VERSION="0.1.1"
|
||||
VERSION="0.2.0"
|
||||
fi
|
||||
|
||||
if [ -z "$BUILD_NUMBER" ]; then
|
||||
@@ -22,7 +22,7 @@ if [ -z "$BUILD_NUMBER" ]; then
|
||||
BUILD_NUMBER="1"
|
||||
fi
|
||||
|
||||
echo "📦 Building Gaze v${VERSION} (build ${BUILD_NUMBER})"
|
||||
echo "📦 Building Gaze DMG for v${VERSION} (build ${BUILD_NUMBER})"
|
||||
|
||||
RELEASES_DIR="./releases"
|
||||
APPCAST_OUTPUT="${RELEASES_DIR}/appcast.xml"
|
||||
@@ -57,8 +57,8 @@ create-dmg \
|
||||
"./Gaze.app"
|
||||
|
||||
# Copy DMG to releases directory
|
||||
echo "Copying DMG to releases directory..."
|
||||
cp "$DMG_NAME" "$RELEASES_DIR/"
|
||||
echo "Moving DMG to releases directory..."
|
||||
mv "$DMG_NAME" "$RELEASES_DIR/"
|
||||
|
||||
# Generate appcast if Sparkle tools are available
|
||||
if [ -n "$SPARKLE_BIN" ] && [ -d "$SPARKLE_BIN" ]; then
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<title>0.1.1</title>
|
||||
<pubDate>Sun, 11 Jan 2026 18:07:02 -0500</pubDate>
|
||||
<sparkle:version>1</sparkle:version>
|
||||
<sparkle:shortVersionString>0.1.1</sparkle:shortVersionString>
|
||||
<sparkle:shortVersionString>0.2.0</sparkle:shortVersionString>
|
||||
<sparkle:minimumSystemVersion>14.6</sparkle:minimumSystemVersion>
|
||||
<enclosure url="https://freno.me/downloads/Gaze-0.2.0.dmg" sparkle:edSignature="NPOTlM5ZPwiz/IhVyoZBkpyXgJlw7DQ9iOfwkpAuogVCjQGzqQToqQY9ROthDviEMQO5A+zmhd/nA3+8rCVfBg==" length="4000089" type="application/octet-stream"/>
|
||||
<enclosure url="https://freno.me/downloads/Gaze-0.2.0.dmg" length="4831161" type="application/octet-stream" sparkle:edSignature="zCEmiiO4Q7HV7uGbI/CQcfJElm1uqrYorznE6uCWaKm/Zg1bUrWaeTRf9+Uv9f9+0iptyiS2FNdglLQB8RKkCA=="/>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in New Issue
Block a user