diff --git a/.github/workflows/ISSUE_TEMPLATE/bug_report.md b/.github/workflows/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000..cf33db73
--- /dev/null
+++ b/.github/workflows/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,31 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Desktop (please complete the following information):**
+ - OS: [e.g. Windows 11]
+ - Version [e.g. 22]
+
+**Additional context**
+Add any other context about the problem here.
diff --git a/.github/workflows/ISSUE_TEMPLATE/feature_request.md b/.github/workflows/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 00000000..bbcbbe7d
--- /dev/null
+++ b/.github/workflows/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,20 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..d50e15b4
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,43 @@
+name: Build ACAT
+
+on:
+ push:
+ branches: [ "master" ]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+jobs:
+
+ build:
+
+ strategy:
+ matrix:
+ configuration: [Release, Debug]
+
+ runs-on: windows-latest # For a list of available runner types, refer to
+ # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ lfs: true # Enable Git LFS
+
+ # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
+ - name: Setup MSBuild.exe
+ uses: microsoft/setup-msbuild@v2
+
+ # Build the full application
+ - name: Build the Solution
+ run: |
+ msbuild acat.sln /t:Build /p:Configuration=${{ matrix.configuration }}
+ working-directory: src/
+
+ - name: Upload release build artifacts
+ uses: actions/upload-artifact@v4.6.2
+ with:
+ name: acat_${{ matrix.configuration }}
+ path: src/Applications/ACATApp/bin/${{ matrix.configuration }}
+
diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/debug-installer.yml
similarity index 56%
rename from .github/workflows/dotnet-desktop.yml
rename to .github/workflows/debug-installer.yml
index ae98cac9..2e02a37b 100644
--- a/.github/workflows/dotnet-desktop.yml
+++ b/.github/workflows/debug-installer.yml
@@ -1,12 +1,11 @@
-name: Build ACAT - DEBUG ONLY
+name: Build ACAT Installer - DEBUG ONLY
on:
- push:
- branches: [ "master" ]
- pull_request:
- branches: [ "master" ]
workflow_dispatch:
+permissions:
+ contents: read
+
jobs:
build:
@@ -17,22 +16,12 @@ jobs:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
-
- env:
- Solution_Name: acat.sln # Replace with your solution name, i.e. MyWpfApp.sln.
- Installer_Dir: src/Setup/
-
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
- # # Install the .NET Core workload
- # - name: Install .NET Framework
- # uses: actions/setup-dotnet@v4
- # with:
- # dotnet-version: '4.8.x'
+ lfs: true # Enable Git LFS
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
@@ -41,27 +30,29 @@ jobs:
- name: Install NSIS
# You may pin to the exact commit or the version.
# uses: repolevedavaj/install-nsis@d414d91c2460758f0a2ef2b865ad7b9c8f541534
- uses: repolevedavaj/install-nsis@v1.0.2
- with:
- # The version of NSIS to install
- nsis-version: 3.10
+ # uses: repolevedavaj/install-nsis@v1.0.2
+ # with:
+ # # The version of NSIS to install
+ # nsis-version: "3.11"
+ run: |
+ Invoke-WebRequest https://cfhcable.dl.sourceforge.net/project/nsis/NSIS%203/3.11/nsis-3.11-setup.exe?viasf=1 -OutFile C:\WINDOWS\Temp\nsis-3.11-setup.exe
+ Invoke-Expression "& C:\WINDOWS\Temp\nsis-3.11-setup.exe \S"
+ shell: pwsh
# Build the full application
- name: Build the Solution
- run: msbuild $env:Solution_Name /t:Build /p:Configuration=$env:Configuration
- env:
- shell: powershell
- working-dir: ./src
- Configuration: ${{ matrix.configuration }}
+ run: |
+ msbuild acat.sln /t:Build /p:Configuration=${{ matrix.configuration }}
+ working-directory: src/
# Create the app package by building and packaging the Windows Application Packaging project
- name: Create the app package
run: |
- python installGenerator.py ../Applications/AcatApp/$env:Configuration/
- makensis.exe ./NSIS_InstallerScript.nsi
+ python installGenerator.py "D:\a\acat\acat\src\Applications\ACATApp\bin\Debug"
+ makensis.exe /V4 ./NSIS_InstallerScript.nsi
+ working-directory: src/Setup
env:
shell: powershell
- working-dir: ./src/Setup/
Configuration: ${{ matrix.configuration }}
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
@@ -69,4 +60,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ACATSetup
- path: ${{ env.Installer_Dir }}\ACATSetup.exe
+ path: src/Setup/ACATSetup.exe
diff --git a/src/ACATResources/ACATResources.csproj b/src/ACATResources/ACATResources.csproj
index fe2031ae..05319205 100644
--- a/src/ACATResources/ACATResources.csproj
+++ b/src/ACATResources/ACATResources.csproj
@@ -35,7 +35,7 @@
TRACE;ENABLE_DIGITAL_VERIFICATION
true
bin\Release\
- prompt
+ prompt
4
@@ -66,95 +66,95 @@
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
Designer
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
- PreserveNewest
+
@@ -167,7 +167,7 @@
- call "$(SolutionDir)deployRedist.bat" "$(TargetDir)\$(TargetFileName)" "$(SolutionDir)"
+ call $(SolutionDir)deployRedist.bat $(TargetDir)\$(TargetFileName) $(SolutionDir)