The application will written appdata\programs, PhysicalFile is now a struct. should be enough

This commit is contained in:
Holger Börchers 2018-07-15 22:00:40 +02:00
parent 7009fb1690
commit eaec8c632b
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
namespace KattekerCreator namespace KattekerCreator
{ {
public class PhysicalFile public struct PhysicalFile
{ {
public PhysicalFile(string source, string target) public PhysicalFile(string source, string target)
{ {
@ -8,7 +8,7 @@
Target = target; Target = target;
} }
public string Source { get; } public readonly string Source;
public string Target { get; } public readonly string Target;
} }
} }

View File

@ -18,7 +18,7 @@ ManifestDPIAware true
Name "${APPNAME}" Name "${APPNAME}"
OutFile "<#= OutFile #>" OutFile "<#= OutFile #>"
InstallDir "$LOCALAPPDATA\${APPNAME}" InstallDir "$LOCALAPPDATA\Programs\${APPNAME}"
RequestExecutionLevel user RequestExecutionLevel user
SetCompressor /SOLID lzma SetCompressor /SOLID lzma
SilentUnInstall silent SilentUnInstall silent