File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ export def package-plugin [--ue-install-dir: string] {
34
34
let plugin_dir = $env .FILE_PWD | path join ' ..' | path expand ;
35
35
let dist_dir = [$plugin_dir , ' Dist' ] | path join ;
36
36
mkdir $dist_dir ;
37
- let dist_archive = [$plugin_dir , ' Dist' , $" EcsactUnreal-(get-ue-os ).zip" ] | path join ;
38
37
cd $plugin_dir ;
39
38
let plugin_descriptor_filename = (ls *.uplugin ).0.name ;
40
39
let plugin_name = $plugin_descriptor_filename | split row " .uplugin" | get 0 ;
40
+ let dist_archive = [$plugin_dir , ' Dist' , $" ($plugin_name )Unreal-(get-ue-os ).zip" ] | path join ;
41
41
let plugin_descriptor = [$plugin_dir , $plugin_descriptor_filename ] | path join ;
42
- let temp_package_dir = mktemp - d -- suffix ' EcsactUnrealPluginPackage ' ;
42
+ let temp_package_dir = mktemp - d -- suffix $" ( $plugin_name )UnrealPluginPackage " ;
43
43
44
44
if ($install_dirs | length ) == 0 {
45
45
print " Could not find Unreal Engine installation on your system" ;
You can’t perform that action at this time.
0 commit comments