mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Added possibility to specify platform for dev command (#3117)
* Added possibility to specify platform for dev command --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Lea Anthony
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent
5c1d62bb6a
commit
4b4fcdd47c
@@ -71,6 +71,10 @@ type Options struct {
|
||||
SkipBindings bool // Skip binding generation
|
||||
}
|
||||
|
||||
func (o *Options) IsWindowsTargetPlatform() bool {
|
||||
return strings.Contains(strings.ToLower(o.Platform), "windows")
|
||||
}
|
||||
|
||||
// Build the project!
|
||||
func Build(options *Options) (string, error) {
|
||||
// Extract logger
|
||||
|
||||
Reference in New Issue
Block a user