From eaec8c632b9aeaf8c043afa87bd7f14a404445fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20B=C3=B6rchers?= Date: Sun, 15 Jul 2018 22:00:40 +0200 Subject: [PATCH] The application will written appdata\programs, PhysicalFile is now a struct. should be enough --- Creator/PhysicalFile.cs | 6 +++--- Creator/SetupTmpl.tt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Creator/PhysicalFile.cs b/Creator/PhysicalFile.cs index 2d6b43e..8ab55f2 100644 --- a/Creator/PhysicalFile.cs +++ b/Creator/PhysicalFile.cs @@ -1,6 +1,6 @@ namespace KattekerCreator { - public class PhysicalFile + public struct PhysicalFile { public PhysicalFile(string source, string target) { @@ -8,7 +8,7 @@ Target = target; } - public string Source { get; } - public string Target { get; } + public readonly string Source; + public readonly string Target; } } \ No newline at end of file diff --git a/Creator/SetupTmpl.tt b/Creator/SetupTmpl.tt index 9a9dce7..729482e 100644 --- a/Creator/SetupTmpl.tt +++ b/Creator/SetupTmpl.tt @@ -18,7 +18,7 @@ ManifestDPIAware true Name "${APPNAME}" OutFile "<#= OutFile #>" -InstallDir "$LOCALAPPDATA\${APPNAME}" +InstallDir "$LOCALAPPDATA\Programs\${APPNAME}" RequestExecutionLevel user SetCompressor /SOLID lzma SilentUnInstall silent