From a466f04d2055c9c228cc9c08eb66b66bbb7b0d8d Mon Sep 17 00:00:00 2001 From: Michael Babienco Date: Wed, 18 Feb 2026 09:33:17 +0900 Subject: [PATCH] Rename project files and fix installer w.r.t. new paths --- .vscode/launch.json | 2 +- .vscode/tasks.json | 6 +++--- installers/WindowsInstallerScript.iss | 16 ++++++++-------- ...eiptPDFBuilder-icon.ico => MayShow-icon.ico} | Bin ...{ReceiptPDFBuilder.csproj => MayShow.csproj} | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) rename src/{ReceiptPDFBuilder-icon.ico => MayShow-icon.ico} (100%) rename src/{ReceiptPDFBuilder.csproj => MayShow.csproj} (95%) diff --git a/.vscode/launch.json b/.vscode/launch.json index 0ada0e4..3fae0ef 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/src/bin/Debug/net10.0/osx-arm64/ReceiptPDFBuilder.dll", + "program": "${workspaceFolder}/src/bin/Debug/net10.0/osx-arm64/MayShow.dll", "args": [], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a73185f..2c31a5a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -7,7 +7,7 @@ "type": "process", "args": [ "build", - "${workspaceFolder}/src/ReceiptPDFBuilder.csproj", + "${workspaceFolder}/src/MayShow.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary;ForceNoAlign" ], @@ -19,7 +19,7 @@ "type": "process", "args": [ "publish", - "${workspaceFolder}/src/ReceiptPDFBuilder.csproj", + "${workspaceFolder}/src/MayShow.csproj", "/property:GenerateFullPaths=true", "/consoleloggerparameters:NoSummary;ForceNoAlign" ], @@ -33,7 +33,7 @@ "watch", "run", "--project", - "${workspaceFolder}/src/ReceiptPDFBuilder.csproj" + "${workspaceFolder}/src/MayShow.csproj" ], "problemMatcher": "$msCompile" } diff --git a/installers/WindowsInstallerScript.iss b/installers/WindowsInstallerScript.iss index 4a0b84c..cf7c1bb 100644 --- a/installers/WindowsInstallerScript.iss +++ b/installers/WindowsInstallerScript.iss @@ -31,8 +31,8 @@ DisableProgramGroupPage=yes OutputBaseFilename=Install {#MyAppName} {#MyAppVersion} SolidCompression=yes WizardStyle=modern dynamic -SetupIconFile=ReceiptPDFBuilder-icon.ico -OutputDir=bin +SetupIconFile=../src/MayShow-icon.ico +OutputDir=..\src\bin [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" @@ -41,12 +41,12 @@ Name: "english"; MessagesFile: "compiler:Default.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -Source: "bin\Release\net10.0\win-x64\publish\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -Source: "bin\Release\net10.0\win-x64\publish\av_libglesv2.dll"; DestDir: "{app}"; Flags: ignoreversion -Source: "bin\Release\net10.0\win-x64\publish\libHarfBuzzSharp.dll"; DestDir: "{app}"; Flags: ignoreversion -Source: "bin\Release\net10.0\win-x64\publish\libSkiaSharp.dll"; DestDir: "{app}"; Flags: ignoreversion -Source: "bin\Release\net10.0\win-x64\publish\Magick.Native-Q16-x64.dll"; DestDir: "{app}"; Flags: ignoreversion -Source: "bin\Release\net10.0\win-x64\publish\Assets\*"; DestDir: "{app}\Assets"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "..\src\bin\Release\net10.0\win-x64\publish\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\src\bin\Release\net10.0\win-x64\publish\av_libglesv2.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\src\bin\Release\net10.0\win-x64\publish\libHarfBuzzSharp.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\src\bin\Release\net10.0\win-x64\publish\libSkiaSharp.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\src\bin\Release\net10.0\win-x64\publish\Magick.Native-Q16-x64.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\src\bin\Release\net10.0\win-x64\publish\Assets\*"; DestDir: "{app}\Assets"; Flags: ignoreversion recursesubdirs createallsubdirs ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] diff --git a/src/ReceiptPDFBuilder-icon.ico b/src/MayShow-icon.ico similarity index 100% rename from src/ReceiptPDFBuilder-icon.ico rename to src/MayShow-icon.ico diff --git a/src/ReceiptPDFBuilder.csproj b/src/MayShow.csproj similarity index 95% rename from src/ReceiptPDFBuilder.csproj rename to src/MayShow.csproj index d587f27..d3a510b 100644 --- a/src/ReceiptPDFBuilder.csproj +++ b/src/MayShow.csproj @@ -13,7 +13,7 @@ true MayShow 1.1.0 - ReceiptPDFBuilder-icon.ico + MayShow-icon.ico