-
Repository Cloned: Successfully cloned
https://github.com/21st-dev/1codeto/root/github-repos/1code -
Dependencies Installed:
- Installed Bun runtime (v1.3.6)
- Installed all project dependencies via
bun install - Python 3.12.3 already available
-
Source Code Built:
- TypeScript compiled successfully to
/root/github-repos/1code/out/ - All build artifacts ready
- TypeScript compiled successfully to
-
Windows Icon Created:
- Converted
build/icon.pngtobuild/icon.icoformat required for Windows builds
- Converted
-
GitHub Actions Workflow Created:
- Created
.github/workflows/build-windows.yml - Configured to build Windows packages automatically on push
- Will create both NSIS installer and portable ZIP
- Created
-
Build Configuration Updated:
- Updated
package.jsonto disable code signing (for local builds) - Created placeholder resources directory structure
- Updated
The workflow has been set up and will automatically build Windows packages when:
- You push to the
mainbranch - You manually trigger it via GitHub Actions UI
To trigger manually:
- Go to: https://github.com/21st-dev/1code/actions
- Click "Build Windows" workflow
- Click "Run workflow" button
- Download artifacts from the completed run
Artifacts will include:
1Code Setup 0.0.14.exe(NSIS installer)1Code-0.0.14-win.zip(Portable version)
If you have access to a Windows machine:
cd C:\path\to\1code
bun install
bun run build
bun run package:winOutput will be in release/ directory.
All files are in: /root/github-repos/1code/
- ✅ Source code: Built and ready
- ✅ Dependencies: Installed
- ✅ Windows icon: Created
- ✅ GitHub Actions: Configured
⚠️ Local Windows build: Blocked by Wine compatibility (needs native Windows)
-
Push the workflow to GitHub (if not already pushed):
cd /root/github-repos/1code git add .github/workflows/build-windows.yml build/icon.ico git commit -m "Add Windows build workflow and icon" git push origin main
-
Trigger GitHub Actions build:
- Visit: https://github.com/21st-dev/1code/actions
- Run the "Build Windows" workflow
- Download the artifacts
-
Or build on Windows machine:
- Copy the project to Windows
- Run
bun run package:win
.github/workflows/build-windows.yml- GitHub Actions workflowbuild/icon.ico- Windows icon filepackage.json- Updated Windows build configresources/bin/- Created directory structureBUILD_WINDOWS.md- Build instructions
Note: The GitHub Actions workflow will handle all Windows-specific build requirements automatically, including native module compilation, which cannot be done from Linux/WSL.