Skip to content

Commit 838667f

Browse files
committed
Uses Sparkle staging URL for STAGING builds
1 parent 071b1dd commit 838667f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

AltServer/AltServerApp.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,12 @@ void AltServerApp::Start(HWND windowHandle, HINSTANCE instanceHandle)
376376
_windowHandle = windowHandle;
377377
_instanceHandle = instanceHandle;
378378

379+
#if STAGING
380+
win_sparkle_set_appcast_url("https://altstore.io/altserver/sparkle-windows-staging.xml");
381+
#else
379382
win_sparkle_set_appcast_url("https://altstore.io/altserver/sparkle-windows.xml");
383+
#endif
384+
380385
win_sparkle_init();
381386

382387
bool didLaunch = GetRegistryBoolValue(DID_LAUNCH_KEY);

0 commit comments

Comments
 (0)