Skip to content

Commit 7f16d9d

Browse files
committed
update output name
1 parent 005f9e7 commit 7f16d9d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

script/build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ if (-not (Test-Path -Path $build_version_path)) {
99
New-Item -Path $build_version_path -ItemType Directory | Out-Null
1010
}
1111

12-
gox -osarch "windows/amd64 darwin/amd64" `
12+
gox -osarch "windows/amd64 linux/amd64 darwin/amd64" `
1313
-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"
1515

1616
if (-not $?) {
1717
Write-Warning "gox build fail"

script/wailsBuild.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $configPath = "./wails.json"
33
$config = Get-Content $configPath | ConvertFrom-Json
44

55
$config.info.productVersion = "$env:VERSION"
6-
$config.outputfilename = "$($config.name)_$env:VERSION"
6+
$config.outputfilename = "$($config.name)_gui_$env:VERSION"
77

88
$config | ConvertTo-Json | Set-Content $configPath
99

wails.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://wails.io/schemas/config.v2.json",
33
"name": "rscript",
4-
"outputfilename": "rscript_v0.0.1",
4+
"outputfilename": "rscript_gui_v0.0.1",
55
"frontend:install": "npm install",
66
"frontend:build": "npm run build",
77
"frontend:dev:watcher": "npm run dev",

0 commit comments

Comments
 (0)