apache / apache/cordova-electron

Build platform option

Open
#187 2 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
135
Forks
60
Avg merge
1d 6h
Merged PRs (30d)
5

Description

# Feature Request

## Motivation Behind Feature

I would like to run the windows build on my windows machine, and linux build on my linux.

## Feature Description

`cordova build electron --platform=windows` or similar should be nice

## Alternatives or Workarounds

Right now I achieve this by deleting parts of the json before running the build.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Electron build command and how platform settings are read from the project JSON. Compare the requested `cordova build electron --platform=windows` behavior with the current manual JSON-editing workaround. Done means Windows and Linux builds can select the requested platform without deleting JSON settings first.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, nodejs
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.