Skip to content

Commit

Permalink
chore: sync-downloaded-files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 9, 2023
1 parent 407790a commit b6e8d3b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/7z_release_installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ echo $version

# rename
$folder_path = Split-Path "$exe_file" -Parent
7z a $env:userprofile\desktop\${project_name}-$($version[0]).$($version[1]).$($version[2])-win64.7z $exe_file -aoa
$new_base_name = "${project_name}-$($version[0]).$($version[1]).$($version[2])-win64";
Rename-Item -Path "$exe_file" -NewName "$new_base_name.exe"

# package
7z a $env:userprofile\desktop\$new_base_name.7z $folder_path\$new_base_name.exe -aoa



0 comments on commit b6e8d3b

Please sign in to comment.