Skip to content

Commit a610818

Browse files
committed
Other: Shrinker.Avalonia - Update INNO installer for Windows builds.
1 parent 8b96265 commit a610818

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

ShaderShrinker/InnoSetupProject/InstallScript.iss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define MyAppName "GLSL Shader Shrinker"
2-
#define MyAppExeName "Shrinker.WpfApp.exe"
2+
#define MyAppExeName "Shrinker.Avalonia.exe"
33

44
[Setup]
55
AppId={{996B4B28-98DA-451F-ED15-8777E28DBDE4}
@@ -12,16 +12,16 @@ DefaultGroupName={#MyAppName}
1212
UninstallDisplayIcon={app}\Inno_Setup_Project.exe
1313
Compression=lzma2
1414
SolidCompression=yes
15-
SourceDir=..\Shrinker.WpfApp\
15+
SourceDir=..\Shrinker.Avalonia\
1616
OutputDir=..\InnoSetupProject\
1717
OutputBaseFilename={#MyAppName} Installer
1818

1919
[Tasks]
2020
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
2121

2222
[Files]
23-
Source: "bin\Release\net5.0-windows\publish\win-x64\*.*"; DestDir: "{app}"; Excludes: "*.pdb"; Flags: ignoreversion
24-
Source: "bin\Release\net5.0-windows\publish\win-x64\Presets\*.*"; DestDir: "{app}\Presets"; Flags: ignoreversion
23+
Source: "bin\Release\net7.0\publish\win-x64\*.*"; DestDir: "{app}"; Excludes: "*.pdb"; Flags: ignoreversion
24+
Source: "bin\Release\net7.0\publish\win-x64\Presets\*.*"; DestDir: "{app}\Presets"; Flags: ignoreversion
2525

2626
[Icons]
2727
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Release\net7.0\publish\win-x64\</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net7.0</TargetFramework>
13+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
14+
<SelfContained>true</SelfContained>
15+
<PublishSingleFile>false</PublishSingleFile>
16+
<PublishReadyToRun>false</PublishReadyToRun>
17+
<PublishTrimmed>false</PublishTrimmed>
18+
</PropertyGroup>
19+
</Project>

0 commit comments

Comments
 (0)