Skip to content

Commit

Permalink
Remove the checksum from INFO file when opening a Package.
Browse files Browse the repository at this point in the history
Remove support to compute the checksum (moved into a dedicated module).
Add support to edit stat-stop-status.sh and installer.sh (quite usual in old packages).
Display the list of errors preventing to open a package folder, if any.
Upgrade to .NET 4.6.1.
  • Loading branch information
vletroye committed Jan 16, 2021
1 parent 93e0d5a commit 3e1ed98
Show file tree
Hide file tree
Showing 7 changed files with 219 additions and 171 deletions.
40 changes: 40 additions & 0 deletions Mods.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,50 +12,90 @@ Project("{6141683F-8A12-4E36-9623-2EB02B2C2303}") = "Installer", "Installer\Inst
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4} = {DB8082FE-EDDD-406D-B6D7-19C26EC778A4}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hash", "Hash\Hash.csproj", "{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
SingleImage|Any CPU = SingleImage|Any CPU
SingleImage|x64 = SingleImage|x64
SingleImage|x86 = SingleImage|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Debug|x64.ActiveCfg = Debug|x64
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Debug|x64.Build.0 = Debug|x64
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Debug|x86.ActiveCfg = Debug|x86
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Debug|x86.Build.0 = Debug|x86
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Release|Any CPU.Build.0 = Release|Any CPU
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Release|x64.ActiveCfg = Release|x64
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Release|x64.Build.0 = Release|x64
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Release|x86.ActiveCfg = Release|x86
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.Release|x86.Build.0 = Release|x86
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.SingleImage|Any CPU.ActiveCfg = Release|Any CPU
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.SingleImage|Any CPU.Build.0 = Release|Any CPU
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.SingleImage|x64.ActiveCfg = Release|x64
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.SingleImage|x64.Build.0 = Release|x64
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.SingleImage|x86.ActiveCfg = Release|x86
{DB8082FE-EDDD-406D-B6D7-19C26EC778A4}.SingleImage|x86.Build.0 = Release|x86
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Debug|x64.ActiveCfg = Debug|x64
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Debug|x64.Build.0 = Debug|x64
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Debug|x86.ActiveCfg = Debug|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Debug|x86.Build.0 = Debug|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Release|Any CPU.Build.0 = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Release|x64.ActiveCfg = Release|x64
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Release|x64.Build.0 = Release|x64
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Release|x86.ActiveCfg = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.Release|x86.Build.0 = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.SingleImage|Any CPU.ActiveCfg = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.SingleImage|Any CPU.Build.0 = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.SingleImage|x64.ActiveCfg = Release|x64
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.SingleImage|x64.Build.0 = Release|x64
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.SingleImage|x86.ActiveCfg = Release|Any CPU
{C0BE5E35-87CC-40E0-92D8-1D42C60F016D}.SingleImage|x86.Build.0 = Release|Any CPU
{1196CE31-52D1-451B-B592-642F1B8A530A}.Debug|Any CPU.ActiveCfg = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.Debug|x64.ActiveCfg = DVD-5
{1196CE31-52D1-451B-B592-642F1B8A530A}.Debug|x64.Build.0 = DVD-5
{1196CE31-52D1-451B-B592-642F1B8A530A}.Debug|x86.ActiveCfg = DVD-5
{1196CE31-52D1-451B-B592-642F1B8A530A}.Debug|x86.Build.0 = DVD-5
{1196CE31-52D1-451B-B592-642F1B8A530A}.Release|Any CPU.ActiveCfg = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.Release|x64.ActiveCfg = CD_ROM
{1196CE31-52D1-451B-B592-642F1B8A530A}.Release|x86.ActiveCfg = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.Release|x86.Build.0 = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.SingleImage|Any CPU.ActiveCfg = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.SingleImage|Any CPU.Build.0 = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.SingleImage|x64.ActiveCfg = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.SingleImage|x64.Build.0 = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.SingleImage|x86.ActiveCfg = SingleImage
{1196CE31-52D1-451B-B592-642F1B8A530A}.SingleImage|x86.Build.0 = SingleImage
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Debug|x64.ActiveCfg = Debug|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Debug|x64.Build.0 = Debug|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Debug|x86.ActiveCfg = Debug|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Debug|x86.Build.0 = Debug|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Release|Any CPU.Build.0 = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Release|x64.ActiveCfg = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Release|x64.Build.0 = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Release|x86.ActiveCfg = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.Release|x86.Build.0 = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.SingleImage|Any CPU.ActiveCfg = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.SingleImage|Any CPU.Build.0 = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.SingleImage|x64.ActiveCfg = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.SingleImage|x64.Build.0 = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.SingleImage|x86.ActiveCfg = Release|Any CPU
{A88C4996-406E-4F26-BEE2-1D7ACB2BAB21}.SingleImage|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
24 changes: 12 additions & 12 deletions Mods/App.config
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="BeatificaBytes.Synology.Mods.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="BeatificaBytes.Synology.Mods.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="BeatificaBytes.Synology.Mods.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="BeatificaBytes.Synology.Mods.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<applicationSettings>
<BeatificaBytes.Synology.Mods.Properties.Settings>
Expand All @@ -21,19 +21,19 @@
<userSettings>
<BeatificaBytes.Synology.Mods.Properties.Settings>
<setting name="Packages" serializeAs="String">
<value />
<value/>
</setting>
<setting name="PackageRoot" serializeAs="String">
<value />
<value/>
</setting>
<setting name="SourceImages" serializeAs="String">
<value />
<value/>
</setting>
<setting name="UpgradeRequired" serializeAs="String">
<value>True</value>
</setting>
<setting name="PackageRepo" serializeAs="String">
<value />
<value/>
</setting>
<setting name="AdvancedEditor" serializeAs="String">
<value>False</value>
Expand All @@ -48,7 +48,7 @@
<value>False</value>
</setting>
<setting name="LastPackage" serializeAs="String">
<value />
<value/>
</setting>
<setting name="License" serializeAs="String">
<value>This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT. There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.</value>
Expand Down Expand Up @@ -300,4 +300,4 @@ ln -s $SYNOPKG_PKGDEST/ui/dsm.cgi.conf /usr/syno/share/nginx/conf.d/dsm.$SYNOPKG
</setting>
</BeatificaBytes.Synology.Mods.Properties.Settings>
</userSettings>
</configuration>
</configuration>
Loading

0 comments on commit 3e1ed98

Please sign in to comment.