← Back to Dashboard

IronKey Markets Launcher

Manage and update your desktop application

🚀

Desktop App Status

Check for updates and manage your installation

Checking...
Latest Version
--
Release Date
--
Your Version
--
Checking for updates... 0%

Auto-Update Launcher

Instead of manually downloading each update, use a launcher script that automatically checks for and installs updates when you start the app. Save the appropriate script for your platform and use it to launch IronKey Markets Desktop.

#!/bin/bash # IronKey Markets Desktop - Auto-Update Launcher # Save as: launch-ironkey.sh # Usage: chmod +x launch-ironkey.sh && ./launch-ironkey.sh APP_NAME="IronKey Markets Desktop" API_URL="https://app.tradeunafraid.net/api/desktop/version" INSTALL_DIR="$HOME/.ironkey-markets" VERSION_FILE="$INSTALL_DIR/.version" MAC_APP="$INSTALL_DIR/TradeUnafraid.app" mkdir -p "$INSTALL_DIR" echo "🚀 $APP_NAME Launcher" echo "================================" # Get current installed version CURRENT_VERSION="none" if [ -f "$VERSION_FILE" ]; then CURRENT_VERSION=$(cat "$VERSION_FILE") fi echo "📦 Installed version: $CURRENT_VERSION" # Check for updates echo "🔍 Checking for updates..." LATEST=$(curl -sf "$API_URL") if [ $? -ne 0 ]; then echo "⚠️ Could not reach update server. Launching current version..." else LATEST_VERSION=$(echo "$LATEST" | python3 -c "import sys,json; print(json.load(sys.stdin)['latest_version'])" 2>/dev/null) DOWNLOAD_URL=$(echo "$LATEST" | python3 -c "import sys,json; print(json.load(sys.stdin)['platforms']['mac']['url'])" 2>/dev/null) if [ -n "$LATEST_VERSION" ] && [ "$LATEST_VERSION" != "$CURRENT_VERSION" ]; then echo "🆕 Update available: $LATEST_VERSION (you have: $CURRENT_VERSION)" echo "⬇️ Downloading update..." FULL_URL="https://app.tradeunafraid.net${DOWNLOAD_URL}" curl -fL "$FULL_URL" -o "$INSTALL_DIR/update.zip" if [ $? -eq 0 ]; then echo "📦 Installing update..." unzip -qo "$INSTALL_DIR/update.zip" -d "$INSTALL_DIR/" rm -f "$INSTALL_DIR/update.zip" echo "$LATEST_VERSION" > "$VERSION_FILE" echo "✅ Updated to $LATEST_VERSION!" else echo "⚠️ Download failed. Launching current version..." fi else echo "✅ Already up to date ($CURRENT_VERSION)" fi fi # Launch the app if [ -d "$MAC_APP" ]; then echo "🚀 Launching $APP_NAME..." open "$MAC_APP" elif [ -f "$INSTALL_DIR/main.py" ]; then echo "🚀 Launching $APP_NAME..." cd "$INSTALL_DIR" && python3 main.py else echo "❌ App not found. Please download from:" echo " https://app.tradeunafraid.net/downloads" fi
  1. 1 Copy the script above or download it
  2. 2 Save as launch-ironkey.sh in your preferred location
  3. 3 Make it executable: chmod +x launch-ironkey.sh
  4. 4 Run it: ./launch-ironkey.sh — it will auto-update and launch
@echo off REM IronKey Markets Desktop - Auto-Update Launcher REM Save as: launch-ironkey.bat REM Double-click to run setlocal EnableDelayedExpansion set APP_NAME=IronKey Markets Desktop set API_URL=https://app.tradeunafraid.net/api/desktop/version set INSTALL_DIR=%LOCALAPPDATA%\IronKeyMarkets set VERSION_FILE=%INSTALL_DIR%\.version if not exist "%INSTALL_DIR%" mkdir "%INSTALL_DIR%" echo. echo === %APP_NAME% Launcher === echo. REM Get current installed version set CURRENT_VERSION=none if exist "%VERSION_FILE%" set /p CURRENT_VERSION=<"%VERSION_FILE%" echo Installed version: %CURRENT_VERSION% REM Check for updates using PowerShell echo Checking for updates... for /f "delims=" %%V in ('powershell -NoProfile -Command ^ "try { $r = Invoke-RestMethod '%API_URL%'; $r.latest_version } catch { 'error' }"') do set LATEST_VERSION=%%V if "%LATEST_VERSION%"=="error" ( echo Could not reach update server. Launching current version... goto :launch ) if "%LATEST_VERSION%"=="%CURRENT_VERSION%" ( echo Already up to date ^(%CURRENT_VERSION%^) goto :launch ) echo Update available: %LATEST_VERSION% ^(you have: %CURRENT_VERSION%^) echo Downloading update... powershell -NoProfile -Command ^ "try { $r = Invoke-RestMethod '%API_URL%'; $url = 'https://app.tradeunafraid.net' + $r.platforms.windows.url; Invoke-WebRequest $url -OutFile '%INSTALL_DIR%\update.exe'; Write-Host 'OK' } catch { Write-Host 'FAIL' }" if exist "%INSTALL_DIR%\update.exe" ( echo Installing update... copy /y "%INSTALL_DIR%\update.exe" "%INSTALL_DIR%\TradeUnafraid.exe" >nul 2>&1 del "%INSTALL_DIR%\update.exe" >nul 2>&1 echo %LATEST_VERSION%> "%VERSION_FILE%" echo Updated to %LATEST_VERSION%! ) else ( echo Download failed. Launching current version... ) :launch if exist "%INSTALL_DIR%\TradeUnafraid.exe" ( echo Launching %APP_NAME%... start "" "%INSTALL_DIR%\TradeUnafraid.exe" ) else ( echo App not found. Please download from: echo https://app.tradeunafraid.net/downloads pause ) endlocal
  1. 1 Copy the script above or download it
  2. 2 Save as launch-ironkey.bat on your Desktop
  3. 3 Double-click launch-ironkey.bat to run
  4. 4 It will automatically check for updates, download them, and launch the app

📋 Release History

Loading changelog...