A cross platform Audiobookshelf client for Android and iOS
Dart
Stop the Windows installer running on Windows 7 and 8, and ship the C++ runtime with it
Barnabas7094a1a576ad
diff --git a/windows/installer/absorb.iss b/windows/installer/absorb.issindex a917f019..d58c72de 100644--- a/windows/installer/absorb.iss+++ b/windows/installer/absorb.iss@@ -9,6 +9,11 @@#define OutputBase "absorb-windows-setup"#endif#define SourceDir "..\..\build\windows\x64\runner\Release"+; The Visual C++ runtime the Flutter build links against but does not copy.+; A fresh Windows install can lack it and the app then fails to launch with+; "VCRUNTIME140.dll was not found". CI copies the three DLLs into the Release+; folder before packaging; a local build passes the redistributable folder+; instead, e.g. iscc /DCrtDir="C:\...\VC\Redist\MSVC\<ver>\x64\Microsoft.VC143.CRT"[Setup]; Never change the AppId: it's how an update finds the installed copy.@@ -25,6 +30,9 @@ AppSupportURL=https://github.com/pounat/absorb/issuesDefaultDirName={autopf}\AbsorbDisableProgramGroupPage=yesPrivilegesRequired=lowest+; The Flutter runtime needs Windows 10; without this the installer would+; happily install on 7 or 8 and the app would fail at launch.+MinVersion=10.0ArchitecturesAllowed=x64compatibleArchitecturesInstallIn64BitMode=x64compatibleOutputDir=..\..\build\installer@@ -47,6 +55,11 @@ Type: filesandordirs; Name: "{app}\data"[Files]Source: "{#SourceDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs+#ifdef CrtDir+Source: "{#CrtDir}\msvcp140.dll"; DestDir: "{app}"; Flags: ignoreversion+Source: "{#CrtDir}\vcruntime140.dll"; DestDir: "{app}"; Flags: ignoreversion+Source: "{#CrtDir}\vcruntime140_1.dll"; DestDir: "{app}"; Flags: ignoreversion+#endif[Icons]Name: "{autoprograms}\Absorb"; Filename: "{app}\absorb.exe"