diff --git a/PlayCover.xcodeproj/project.pbxproj b/PlayCover.xcodeproj/project.pbxproj
index 79867b2d8..d6fec3509 100644
--- a/PlayCover.xcodeproj/project.pbxproj
+++ b/PlayCover.xcodeproj/project.pbxproj
@@ -787,7 +787,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 233;
+ CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "PlayCover/Preview\\ Content";
@@ -802,7 +802,7 @@
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
MACOSX_DEPLOYMENT_TARGET = 12.0;
- MARKETING_VERSION = 3.0.0;
+ MARKETING_VERSION = 3.0.0.maa.1;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = io.playcover.PlayCover;
@@ -890,7 +890,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
- CURRENT_PROJECT_VERSION = 233;
+ CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "PlayCover/Preview\\ Content";
@@ -905,7 +905,7 @@
);
LIBRARY_SEARCH_PATHS = "$(inherited)";
MACOSX_DEPLOYMENT_TARGET = 12.0;
- MARKETING_VERSION = 3.0.0;
+ MARKETING_VERSION = 3.0.0.maa.1;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = "-ObjC";
PRODUCT_BUNDLE_IDENTIFIER = io.playcover.PlayCover;
diff --git a/PlayCover/Info.plist b/PlayCover/Info.plist
index 1ab52087f..6a7a39cf4 100644
--- a/PlayCover/Info.plist
+++ b/PlayCover/Info.plist
@@ -81,9 +81,9 @@
NSSystemAdministrationUsageDescription
PlayCover needs to read files to save apps
SUFeedURL
- https://raw.githubusercontent.com/PlayCover/PlayCover/update/appcast.xml
+ https://raw.githubusercontent.com/hguandl/PlayCover/update/appcast.xml
SUPublicEDKey
- YzgQIwegeMGJxhosWRn/1IyEeEe385xcKE3cXeewlK0=
+ M7+pTisnfp6xtF7c6MK5ggzCD/5m0Xxvh0IGRVa/0TM=
UTExportedTypeDeclarations
diff --git a/PlayCover/Views/Sparkle.swift b/PlayCover/Views/Sparkle.swift
index f6ec2cd88..ab5910033 100644
--- a/PlayCover/Views/Sparkle.swift
+++ b/PlayCover/Views/Sparkle.swift
@@ -17,13 +17,10 @@ final class UpdaterViewModel: ObservableObject {
var automaticallyCheckForUpdates: Bool {
get {
-// updaterController.updater.automaticallyChecksForUpdates
- false
+ updaterController.updater.automaticallyChecksForUpdates
}
set(newValue) {
-// updaterController.updater.automaticallyChecksForUpdates = newValue
- _ = newValue
- updaterController.updater.automaticallyChecksForUpdates = false
+ updaterController.updater.automaticallyChecksForUpdates = newValue
}
}
@@ -44,7 +41,7 @@ final class UpdaterViewModel: ObservableObject {
}
func checkForUpdates() {
-// updaterController.checkForUpdates(nil)
+ updaterController.checkForUpdates(nil)
}
}
diff --git a/release.sh b/release.sh
index b3fc53f9f..0d4547dac 100755
--- a/release.sh
+++ b/release.sh
@@ -1,6 +1,8 @@
#!/bin/sh
set -eu -o pipefail
+rm -rf build
+
xcodebuild clean archive -scheme PlayCover -configuration Release -archivePath build/PlayCover.xcarchive
APP_BUNDLE="build/PlayCover.xcarchive/Products/Applications/PlayCover.app"