Skip to content

Commit dee4746

Browse files
committed
Fix folder creation for windows, update the version
1 parent e7e728d commit dee4746

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

app.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"encoding/json"
77
"rm-exporter/backend"
88
"slices"
9+
"strings"
910
"time"
1011

1112
"github.com/wailsapp/wails/v2/pkg/runtime"
@@ -81,7 +82,8 @@ func (a *App) GetExportOptions() backend.RmExport {
8182
func (a *App) Export() {
8283
files := a.GetCheckedFiles()
8384
if a.export_from == -1 {
84-
a.rm_export.WrappingFolderName = "rM Export (" + time.Now().Format(time.DateTime) + ")"
85+
t := strings.ReplaceAll(time.Now().Format(time.DateTime), ":", "-")
86+
a.rm_export.WrappingFolderName = "rM Export (" + t + ")"
8587
}
8688
a.export_from = a.rm_export.ExportMultiple(a.ctx, a.tablet_addr, files, a.export_from)
8789
}

frontend/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "frontend",
33
"private": true,
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

frontend/package.json.md5

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9eb8833ac8cf20917d1b6079bf98b5ff
1+
3a66c963ba291a5d7edae5b7a1065d05

wails.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"name": "Igor Chovpan"
1111
},
1212
"info": {
13-
"productVersion": "0.1.0"
13+
"productVersion": "0.1.1"
1414
}
1515
}

0 commit comments

Comments
 (0)