= ({ onSelect, loading
{t('setup.mode.selfhosted.title', 'Self-Hosted Server')}
- {t('setup.mode.selfhosted.description', 'Connect to your own Stirling PDF server')}
+ {t('setup.mode.selfhosted.description', 'Connect to your own Stirling PDF server with your personal account')}
diff --git a/frontend/src/desktop/services/tauriBackendService.ts b/frontend/src/desktop/services/tauriBackendService.ts
index abd5dd236..7cd5c0942 100644
--- a/frontend/src/desktop/services/tauriBackendService.ts
+++ b/frontend/src/desktop/services/tauriBackendService.ts
@@ -101,8 +101,8 @@ export class TauriBackendService {
return this.startPromise;
}
- private async waitForPort(maxAttempts = 30): Promise {
- for (let i = 0; i < maxAttempts; i++) {
+ private async waitForPort(): Promise {
+ while (true) {
try {
const port = await invoke('get_backend_port');
if (port) {
@@ -114,7 +114,6 @@ export class TauriBackendService {
}
await new Promise(resolve => setTimeout(resolve, 500));
}
- throw new Error('Failed to detect backend port after 15 seconds');
}
/**
@@ -208,16 +207,14 @@ export class TauriBackendService {
}
}
- private async waitForHealthy(maxAttempts = 60): Promise {
- for (let i = 0; i < maxAttempts; i++) {
+ private async waitForHealthy(): Promise {
+ while (true) {
const isHealthy = await this.checkBackendHealth();
if (isHealthy) {
return;
}
await new Promise(resolve => setTimeout(resolve, 1000));
}
- this.setStatus('unhealthy');
- throw new Error('Backend failed to become healthy after 60 seconds');
}
/**
diff --git a/scripts/build-tauri-jlink.bat b/scripts/build-tauri-jlink.bat
index d3a73f058..16d143c10 100644
--- a/scripts/build-tauri-jlink.bat
+++ b/scripts/build-tauri-jlink.bat
@@ -20,6 +20,8 @@ if errorlevel 1 (
echo ✅ Java and jlink detected
echo ▶ Building Stirling-PDF JAR...
+
+set DISABLE_ADDITIONAL_FEATURES=true
call gradlew.bat clean bootJar --no-daemon
if errorlevel 1 (
echo ❌ Failed to build Stirling-PDF JAR
diff --git a/scripts/build-tauri-jlink.sh b/scripts/build-tauri-jlink.sh
index 2b83bb87a..ef39615d1 100755
--- a/scripts/build-tauri-jlink.sh
+++ b/scripts/build-tauri-jlink.sh
@@ -60,6 +60,7 @@ fi
# Clean and build the Stirling-PDF JAR
print_step "Building Stirling-PDF JAR..."
+export DISABLE_ADDITIONAL_FEATURES=true
./gradlew clean bootJar --no-daemon
if [ ! -f compgen -G "app/core/build/libs/stirling-pdf-*.jar" ]; then