diff --git a/README.md b/README.md new file mode 100644 index 0000000..46edced --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# Suzu Magnifier + +> A utility to show a magnified view of what you're working on. + +![Icon](icon/icon_64.png) + +--- + +## Features + +- Magnifies the area around your cursor +- Supports fullscreen (turn a whole monitor into a magnified viewer) +- Ad free and free-as-in-beards + +## Screenshots + +[![screenshot](wiki/screenshot-1-h240.png)](wiki/screenshot-1.png) [![screenshot](wiki/screenshot-2-h240.png)](wiki/screenshot-2.png) + +--- + +## Background + +I wanted a magnifying utility to run fullscreen on one of my monitors. +After some searching, I wasn't able to find one that I was happy with. +Some looked very outdated, others didn't support borderless fullscreen. +It seemed that the worse they were, the higher their prices. +With little choice, I decided to spend a weekend and build my own. +I hope someone finds this useful. + +--- + +## Releases & Builds + +See [Releases](/Ray/SuzuMagnifier/releases) + +## Acknowledgements + +This software uses a number of dependencies and assets from third-parties. +These developers and artists deserve due credit for their work and for their commitment to sharing their work freely. +Each product is released under their own particular license, for more information please visit their websites. + +- [Lucide](https://lucide.dev/icons/) + +## License + +This project is licensed under the least restrictive terms of its dependencies, viz. MIT License. \ No newline at end of file diff --git a/build-installer.iss b/build-installer.iss new file mode 100644 index 0000000..133f370 --- /dev/null +++ b/build-installer.iss @@ -0,0 +1,52 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "SuzuMagnifier" +#define MyAppVersion "0.1.0.227" +#define MyAppPublisher "Hi, I'm Ray" +#define MyAppURL "https://git.hiimray.co.uk/Ray/SuzuMagnifier" +#define MyAppExeName "suzumagnifier.exe" + +#define AppSourcePath "L:\gitea-hiimray\suzumagnifier\bin" +#define AppReleasePath "L:\gitea-hiimray\suzumagnifier\bin" +#define AppReleaseName "suzumagnifier-installer" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{472ED37C-C4FC-4B72-8BC3-C281A6E0D2F9} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +DefaultGroupName={#MyAppName} +DisableProgramGroupPage=yes +; Remove the following line to run in administrative install mode (install for all users.) +PrivilegesRequired=lowest +OutputDir={#AppReleasePath} +OutputBaseFilename={#AppReleaseName} +Compression=lzma +SolidCompression=yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "{#AppSourcePath}\cursorguardrail.exe"; DestDir: "{app}"; Flags: ignoreversion +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent + diff --git a/build.bat b/build.bat index 40e522a..9fceaf0 100644 --- a/build.bat +++ b/build.bat @@ -5,6 +5,10 @@ rmdir /s /q "source\obj\" dotnet restore SuzuMagnifier.slnx dotnet publish SuzuMagnifier.slnx -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="..\bin\" +"C:\B\Portable Files (dev)\Inno Setup\v6.0.4-2\app\ISCC.exe" "build-installer.iss" + +"C:\B\Portable Files\7-Zip (Portable)\26.02\App\7-Zip64\7z.exe" a -t7z "bin\suzumagnifier.7z" ".\bin\suzumagnifier.exe" -mx9 + rmdir /s /q "source\bin\" rmdir /s /q "source\obj\" diff --git a/icon/icon-1.svg b/icon/icon.svg similarity index 100% rename from icon/icon-1.svg rename to icon/icon.svg diff --git a/icon/icon-128.png b/icon/icon_128.png similarity index 100% rename from icon/icon-128.png rename to icon/icon_128.png diff --git a/icon/icon-16.png b/icon/icon_16.png similarity index 100% rename from icon/icon-16.png rename to icon/icon_16.png diff --git a/icon/icon-24.png b/icon/icon_24.png similarity index 100% rename from icon/icon-24.png rename to icon/icon_24.png diff --git a/icon/icon-32.png b/icon/icon_32.png similarity index 100% rename from icon/icon-32.png rename to icon/icon_32.png diff --git a/icon/icon-48.png b/icon/icon_48.png similarity index 100% rename from icon/icon-48.png rename to icon/icon_48.png diff --git a/icon/icon-64.png b/icon/icon_64.png similarity index 100% rename from icon/icon-64.png rename to icon/icon_64.png diff --git a/source/Form1.cs b/source/Form1.cs index 199bb4f..903f0b8 100644 --- a/source/Form1.cs +++ b/source/Form1.cs @@ -3,7 +3,6 @@ using System.Diagnostics; using System.Drawing.Drawing2D; using System.Runtime.InteropServices; using SuzuMagnifier.Dtos; -using static System.Windows.Forms.Design.AxImporter; namespace SuzuMagnifier { diff --git a/source/SuzuMagnifier.csproj b/source/SuzuMagnifier.csproj index a6a3092..3a399a7 100644 --- a/source/SuzuMagnifier.csproj +++ b/source/SuzuMagnifier.csproj @@ -6,7 +6,7 @@ true enable Suzu Magnifier - 0.1.0.214 + 0.1.0.227 Suzu Magnifier Hi, I'm Ray Ray Lam diff --git a/wiki/screenshot-1-h240.png b/wiki/screenshot-1-h240.png new file mode 100644 index 0000000..f0285b5 Binary files /dev/null and b/wiki/screenshot-1-h240.png differ diff --git a/wiki/screenshot-1.png b/wiki/screenshot-1.png new file mode 100644 index 0000000..d4bb475 Binary files /dev/null and b/wiki/screenshot-1.png differ diff --git a/wiki/screenshot-2-h240.png b/wiki/screenshot-2-h240.png new file mode 100644 index 0000000..a58cf93 Binary files /dev/null and b/wiki/screenshot-2-h240.png differ diff --git a/wiki/screenshot-2.png b/wiki/screenshot-2.png new file mode 100644 index 0000000..94cf2d6 Binary files /dev/null and b/wiki/screenshot-2.png differ