forked from sin365/AxibugEmuOnline
PC平台打包目录多一层
This commit is contained in:
parent
ac83c236ef
commit
9bed2f1597
@ -88,8 +88,17 @@ public static class AxiAutoBuild
|
||||
_ => "",
|
||||
};
|
||||
|
||||
string targetplatformDir = target.ToString();
|
||||
|
||||
string _locationPathName = $"Output/{target}/{targetName}";
|
||||
|
||||
targetplatformDir += target switch
|
||||
{
|
||||
//PC 平台目录追加一层时间
|
||||
BuildTarget.StandaloneWindows => "/"+ DateTime.Now.ToString("yyyyMMddHHmmss"),
|
||||
_ => "",
|
||||
};
|
||||
|
||||
string _locationPathName = $"Output/{targetplatformDir}/{targetName}";
|
||||
string FullPath = Path.GetFullPath(Path.Combine(Application.dataPath, "..", _locationPathName));
|
||||
string dirPath = Path.GetDirectoryName(FullPath);
|
||||
if (!Directory.Exists(dirPath))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user