File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ if (-not (Test-Path -Path $build_version_path)) {
9
9
New-Item - Path $build_version_path - ItemType Directory | Out-Null
10
10
}
11
11
12
- gox - osarch " windows/amd64 darwin/amd64" `
12
+ gox - osarch " windows/amd64 linux/amd64 darwin/amd64" `
13
13
- ldflags " -s -w -X github.com/leijux/rscript/internal/pkg/version.Version=$env: VERSION " `
14
- - output " ./build/$env: VERSION /{{.Dir}}_ {{.OS}}_{{.Arch}}_$env: VERSION "
14
+ - output " ./build/$env: VERSION /{{.Dir}}_tui_ {{.OS}}_{{.Arch}}_$env: VERSION "
15
15
16
16
if (-not $? ) {
17
17
Write-Warning " gox build fail"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $configPath = "./wails.json"
3
3
$config = Get-Content $configPath | ConvertFrom-Json
4
4
5
5
$config.info.productVersion = " $env: VERSION "
6
- $config.outputfilename = " $ ( $config.name ) _ $env: VERSION "
6
+ $config.outputfilename = " $ ( $config.name ) _gui_ $env: VERSION "
7
7
8
8
$config | ConvertTo-Json | Set-Content $configPath
9
9
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://wails.io/schemas/config.v2.json" ,
3
3
"name" : " rscript" ,
4
- "outputfilename" : " rscript_v0 .0.1" ,
4
+ "outputfilename" : " rscript_gui_v0 .0.1" ,
5
5
"frontend:install" : " npm install" ,
6
6
"frontend:build" : " npm run build" ,
7
7
"frontend:dev:watcher" : " npm run dev" ,
You can’t perform that action at this time.
0 commit comments