CI: Linux runner builds Linux app and Windows portable zip
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
40bb5808ed
commit
2e36b189cf
8 files changed
+169
-132
No files matched your search
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
title Scribd PDF Downloader - Setup
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo Installing Scribd PDF Downloader...
|
||||
echo.
|
||||
|
||||
if not exist ".venv\Scripts\python.exe" (
|
||||
echo Creating virtual environment...
|
||||
python -m venv .venv
|
||||
if errorlevel 1 (
|
||||
echo Python not found. Install Python 3.10+ from https://python.org
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
call .venv\Scripts\pip install -r requirements.txt
|
||||
call .venv\Scripts\playwright install chromium
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Starting GUI...
|
||||
call .venv\Scripts\python.exe gui.py
|
||||
pause
|
||||
@@ -0,0 +1,16 @@
|
||||
Scribd PDF Downloader - Windows Portable
|
||||
========================================
|
||||
|
||||
This package was built on Linux CI. It is NOT a single .exe file.
|
||||
|
||||
To run on Windows:
|
||||
1. Extract this entire folder anywhere (e.g. Desktop\Scribd)
|
||||
2. Double-click: Install Scribd Downloader.bat
|
||||
3. First run installs Python dependencies and Chromium (needs internet)
|
||||
4. The GUI opens automatically
|
||||
|
||||
For a standalone .exe (no Python install on the PC):
|
||||
- Build on a Windows machine: build\windows\build.ps1
|
||||
- Or add a windows-latest Gitea runner to CI
|
||||
|
||||
Legal: Use only for content you have lawful access to.
|
||||
Reference in new issue
Block a user