mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
🎨 Export the Data compressed package name with the workspace name Fix https://github.com/siyuan-note/siyuan/issues/8560
This commit is contained in:
parent
59169d0479
commit
28ae09d1c7
1 changed files with 2 additions and 1 deletions
|
|
@ -272,7 +272,8 @@ func ExportData() (zipPath string, err error) {
|
|||
util.PushEndlessProgress(Conf.Language(65))
|
||||
defer util.ClearPushProgress(100)
|
||||
|
||||
exportFolder := filepath.Join(util.TempDir, "export", util.CurrentTimeSecondsStr())
|
||||
name := util.FilterFileName(filepath.Base(util.WorkspaceDir)) + "-" + util.CurrentTimeSecondsStr()
|
||||
exportFolder := filepath.Join(util.TempDir, "export", name)
|
||||
zipPath, err = exportData(exportFolder)
|
||||
if nil != err {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue