mirror of
https://github.com/ckaczor/SmartHDD.git
synced 2026-02-02 09:35:44 -05:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cad7150b9b | ||
|
|
6dbf1845ec | ||
|
|
a88c91f046 | ||
|
|
7b3ca4fb85 | ||
|
|
f1c98e8a4a |
@@ -1,7 +1,7 @@
|
|||||||
#define use_dotnetfx46
|
#define use_dotnetfx46
|
||||||
|
|
||||||
#define MyAppName "SmartHDD"
|
#define MyAppName "SmartHDD"
|
||||||
#define MyAppVersion "1.0.0.0"
|
#define MyAppVersion "1.0.0.1"
|
||||||
#define MyAppPublisher "DoogeJ"
|
#define MyAppPublisher "DoogeJ"
|
||||||
#define MyAppURL "https://github.com/DoogeJ/SmartHDD"
|
#define MyAppURL "https://github.com/DoogeJ/SmartHDD"
|
||||||
#define MyAppExeName "SmartHDD.exe"
|
#define MyAppExeName "SmartHDD.exe"
|
||||||
@@ -24,6 +24,8 @@ OutputBaseFilename=Install_{#MyAppName}_{#MyAppVersion}
|
|||||||
SetupIconFile=..\Visualpharm-Hardware-Hard-disk.ico
|
SetupIconFile=..\Visualpharm-Hardware-Hard-disk.ico
|
||||||
Compression=lzma
|
Compression=lzma
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
|
UsePreviousGroup=no
|
||||||
|
UsePreviousAppDir=no
|
||||||
|
|
||||||
; we will need administrator privileges to copy to program files and / or install prerequirements
|
; we will need administrator privileges to copy to program files and / or install prerequirements
|
||||||
PrivilegesRequired=admin
|
PrivilegesRequired=admin
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -14,6 +14,12 @@ Modifications by me:
|
|||||||
## License / Copyright:
|
## License / Copyright:
|
||||||
Please see the '**LICENSE**' file.
|
Please see the '**LICENSE**' file.
|
||||||
|
|
||||||
|
# Installing
|
||||||
|
Get the latest release here: [https://github.com/DoogeJ/SmartHDD/releases](https://github.com/DoogeJ/SmartHDD/releases).
|
||||||
|
|
||||||
|
## Reporting bugs or feature requests
|
||||||
|
Please use the GitHub issue-system for bugs or feature requests: [https://github.com/DoogeJ/SmartHDD/issues](https://github.com/DoogeJ/SmartHDD/issues).
|
||||||
|
|
||||||
## Note by the original author:
|
## Note by the original author:
|
||||||
> Tested against Crystal Disk Info 5.3.1 and HD Tune Pro 3.5 on 15 Feb 2013.
|
> Tested against Crystal Disk Info 5.3.1 and HD Tune Pro 3.5 on 15 Feb 2013.
|
||||||
> Findings; I do not trust the individual smart register "OK" status reported back frm the drives.
|
> Findings; I do not trust the individual smart register "OK" status reported back frm the drives.
|
||||||
@@ -29,8 +35,10 @@ This application was written using Visual Studio 2015 and .NET Framework 4.5.2 o
|
|||||||
It will most likely build fine on different configurations, but might require some modifications.
|
It will most likely build fine on different configurations, but might require some modifications.
|
||||||
|
|
||||||
## Updating the version number
|
## Updating the version number
|
||||||
The version number is stored in two locations:
|
The version number is stored in four locations:
|
||||||
* In the projects assembly info file: **'SmartHDD\Properties\AssemblyInfo.cs'**
|
* In the projects assembly info file: **'SmartHDD\Properties\AssemblyInfo.cs'**
|
||||||
|
* In the program header: **'SmartHDD\Program.cs'**
|
||||||
|
* In the projects C# project file: **'SmartHDD\SmartHDD.csproj'**
|
||||||
* In the installer setup.iss file (only used for the installer): **'Installer\setup.iss'**
|
* In the installer setup.iss file (only used for the installer): **'Installer\setup.iss'**
|
||||||
|
|
||||||
## Building the installer
|
## Building the installer
|
||||||
@@ -45,4 +53,4 @@ To build the installer:
|
|||||||
* Make sure the project is compiled and there is a working executable named **'SmartHDD.exe'** in the **'SmartHDD\bin\Release'**-folder
|
* Make sure the project is compiled and there is a working executable named **'SmartHDD.exe'** in the **'SmartHDD\bin\Release'**-folder
|
||||||
* Open **'Installer\setup.iss'** in the [Inno Setup Compiler](http://www.jrsoftware.org/isinfo.php)
|
* Open **'Installer\setup.iss'** in the [Inno Setup Compiler](http://www.jrsoftware.org/isinfo.php)
|
||||||
* Hit *Build* -> *Compile* (Ctrl+F9)
|
* Hit *Build* -> *Compile* (Ctrl+F9)
|
||||||
* Done, the installer should be in the **'Installer\bin'**-folder
|
* Done, the installer should be in the **'Installer\bin'**-folder
|
||||||
|
|||||||
1
SmartHDD/.gitignore
vendored
Normal file
1
SmartHDD/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.csproj.user
|
||||||
@@ -330,7 +330,7 @@ namespace SmartHDD
|
|||||||
}
|
}
|
||||||
|
|
||||||
WriteFullLine("┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐");
|
WriteFullLine("┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐");
|
||||||
WriteFullLine("│ SmartHDD by DoogeJ - https://github.com/DoogeJ/SmartHDD - (c) 2016 Jaap-Willem Dooge, 2013 Llewellyn Kruger version 1.0.0.0 │");
|
WriteFullLine("│ SmartHDD by DoogeJ - https://github.com/DoogeJ/SmartHDD - (c) 2016 Jaap-Willem Dooge, 2013 Llewellyn Kruger version 1.0.0.1 │");
|
||||||
WriteFullLine("└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘");
|
WriteFullLine("└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
|
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.1")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("1.0.0.1")]
|
||||||
|
|||||||
@@ -12,6 +12,21 @@
|
|||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>1</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
@@ -63,6 +78,18 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Visualpharm-Hardware-Hard-disk.ico" />
|
<Content Include="Visualpharm-Hardware-Hard-disk.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
Reference in New Issue
Block a user