diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 54bc9cb4..5c3eb0bd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -712,11 +712,14 @@ jobs:
id: version
run: |
VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //' | sed 's/+.*//')
+ BUILD_NUMBER=$(grep '^version:' pubspec.yaml | sed 's/.*+//')
echo "version=$VERSION" >> $GITHUB_OUTPUT
+ echo "build_number=$BUILD_NUMBER" >> $GITHUB_OUTPUT
- name: Generate appcast.xml
run: |
VERSION="${{ steps.version.outputs.version }}"
+ BUILD_NUMBER="${{ steps.version.outputs.build_number }}"
# Read macOS signature metadata (may be empty if secrets not configured)
MACOS_ED_SIG=""
@@ -745,7 +748,8 @@ jobs:
Plezy Updates
-
Version ${VERSION}
- ${VERSION}
+ ${BUILD_NUMBER}
+ ${VERSION}
https://gh-html.edde746.dev/edde746/plezy/${VERSION}
XMLEOF
diff --git a/lib/screens/main_screen.dart b/lib/screens/main_screen.dart
index 449150dd..17a45386 100644
--- a/lib/screens/main_screen.dart
+++ b/lib/screens/main_screen.dart
@@ -191,7 +191,7 @@ class _MainScreenState extends State with RouteAware, WindowListener
Future _checkForUpdatesOnStartup() async {
// Delay slightly to allow UI to settle
- await Future.delayed(const Duration(milliseconds: 500));
+ await Future.delayed(const Duration(seconds: 3));
if (!mounted) return;
diff --git a/pubspec.lock b/pubspec.lock
index 74448f61..3904ed09 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -67,12 +67,13 @@ packages:
source: git
version: "1.0.0"
auto_updater_macos:
- dependency: transitive
+ dependency: "direct overridden"
description:
- name: auto_updater_macos
- sha256: ef9de0daf38d782d2243fe131503a9404d62df762f5386e5360020e43c01867f
- url: "https://pub.dev"
- source: hosted
+ path: "packages/auto_updater_macos"
+ ref: HEAD
+ resolved-ref: "6a21278549a7b988302ea1a9b2a3210fe0cd177c"
+ url: "https://github.com/edde746/auto_updater"
+ source: git
version: "1.0.0"
auto_updater_platform_interface:
dependency: transitive
diff --git a/pubspec.yaml b/pubspec.yaml
index b95edf08..663dd755 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -73,6 +73,10 @@ dev_dependencies:
drift_dev: ^2.14.0
dependency_overrides:
+ auto_updater_macos:
+ git:
+ url: https://github.com/edde746/auto_updater
+ path: packages/auto_updater_macos
auto_updater_windows:
git:
url: https://github.com/edde746/auto_updater