diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index d9be4af..ddc3e50 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -45,12 +45,13 @@ jobs: else echo "Creating fallback dist directory and index.html" mkdir -p dist - cat > dist/index.html << 'EOF' - - + node -e " + const fs = require('fs'); + const html = \` + - - + + GitHub Stars Manager -
+

GitHub Stars Manager

Welcome to GitHub Stars Manager Desktop Application!

-
+

This is a fallback page. The main application should load here.

Application built successfully with GitHub Actions.

@@ -87,9 +88,10 @@ jobs: }); - -EOF - echo "✓ Fallback index.html created" +\`; + fs.writeFileSync('dist/index.html', html); + console.log('✓ Fallback index.html created'); + " fi - name: Install sharp for icon generation