diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index ddc3e50..ffbfbfd 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -45,53 +45,8 @@ jobs: else echo "Creating fallback dist directory and index.html" mkdir -p dist - 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.

-
-
- - -\`; - fs.writeFileSync('dist/index.html', html); - console.log('✓ Fallback index.html created'); - " + cp templates/fallback-index.html dist/index.html + echo "✓ Fallback index.html created from template" fi - name: Install sharp for icon generation diff --git a/templates/fallback-index.html b/templates/fallback-index.html new file mode 100644 index 0000000..d73d4b5 --- /dev/null +++ b/templates/fallback-index.html @@ -0,0 +1,42 @@ + + + + + + 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.

+
+
+ + + \ No newline at end of file