Skip to content

Commit a7439bb

Browse files
committed
added TODO
changed INNO script output name
1 parent 5c5c2a5 commit a7439bb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

app/lib/commands/BackupCommandExecutor.scala

+9
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@ class BackupCommandExecutor @Inject()(bsDao: BackupSetsDao,
130130
}
131131
}
132132

133+
// TODO: corner case - what to do with files from other platforms??
134+
// private def isOtherPlatformFile(f: FileTreeNode): Boolean = {
135+
// if (SystemUtils.IS_OS_WINDOWS) {
136+
// f.path.headOption.contains('/')
137+
// } else if (SystemUtils.IS_OS_UNIX) {
138+
// f.path.headOption.exists(_ != '/')
139+
// } else sys.error("Unsupported platform")
140+
// }
141+
133142
private def updateBackupSetFilesList(bsId: Long, paths: Seq[String]): Result[Unit] = {
134143
val normalized = normalizePaths(paths)
135144

windeploy/rbackup-client.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ AppPublisher={#MyAppPublisher}
1818
DefaultDirName={pf}\RBackupClient
1919
DefaultGroupName={#MyAppName}
2020
DisableProgramGroupPage=yes
21-
OutputBaseFilename=rbackup-client-setup
21+
OutputBaseFilename=rbackup-client-setup-{#MyAppVersion}
2222
Compression=lzma
2323
SolidCompression=yes
2424
MinVersion=0,5.01sp3

0 commit comments

Comments
 (0)