From c7ce936057b5bad14f560fc354c6a86ede700e2d Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:20:52 -0500 Subject: [PATCH 01/14] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 93025bb..b806885 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ ## CreamInstaller: CreamAPI Downloader & Installer You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). +You can find past releases and a complete changelog [here](https://github.com/pointfeev/CreamInstaller/releases). + You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 60895228f3a9691741051a177d8b7acbbcb7224b Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:21:59 -0500 Subject: [PATCH 02/14] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b806885..053b545 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ -## CreamInstaller: CreamAPI Downloader & Installer +# CreamInstaller: CreamAPI Downloader & Installer +## Latest Release You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). +## Past Releases You can find past releases and a complete changelog [here](https://github.com/pointfeev/CreamInstaller/releases). +## Supported Games You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 6956eb46575913f031f04fb76bd2fb68cb80aaea Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:23:46 -0500 Subject: [PATCH 03/14] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 053b545..ddad782 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# CreamInstaller: CreamAPI Downloader & Installer -## Latest Release +## CreamInstaller: CreamAPI Downloader & Installer +### Latest Release You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -## Past Releases +### Past Releases You can find past releases and a complete changelog [here](https://github.com/pointfeev/CreamInstaller/releases). -## Supported Games +### Supported Games You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From b0e881987c10cdb36e825807ea4f80e4a91a93c6 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:24:12 -0500 Subject: [PATCH 04/14] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ddad782..5ad7376 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ ## CreamInstaller: CreamAPI Downloader & Installer -### Latest Release +#### Latest Release You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -### Past Releases +#### Past Releases You can find past releases and a complete changelog [here](https://github.com/pointfeev/CreamInstaller/releases). -### Supported Games +#### Supported Games You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 40098b9b334420bf2f11a52385bae8d1f9acf176 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:26:46 -0500 Subject: [PATCH 05/14] Update README.md --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 5ad7376..d6b0209 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,4 @@ ## CreamInstaller: CreamAPI Downloader & Installer -#### Latest Release You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). - -#### Past Releases -You can find past releases and a complete changelog [here](https://github.com/pointfeev/CreamInstaller/releases). - -#### Supported Games +You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 22a49260f6db3912e58123244bde4e01f77e54a0 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:26:55 -0500 Subject: [PATCH 06/14] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6b0209..841c61a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ ## CreamInstaller: CreamAPI Downloader & Installer You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). +You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases).\n You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 4923750f421e40d8b31ab0c542e3e9df8b2c1df5 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:27:11 -0500 Subject: [PATCH 07/14] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 841c61a..c5d83cd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ ## CreamInstaller: CreamAPI Downloader & Installer -You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases).\n -You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). +#### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). +#### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). +#### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 9254d254af6ca314d37f4fcef2487036dd21432c Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:27:19 -0500 Subject: [PATCH 08/14] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c5d83cd..0836c41 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ ## CreamInstaller: CreamAPI Downloader & Installer -#### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -#### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). -#### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). +##### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). +##### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). +##### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From f8c08b8af1533aaaaa2253fe563f18f3129bb361 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:28:04 -0500 Subject: [PATCH 09/14] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0836c41..c5d83cd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ ## CreamInstaller: CreamAPI Downloader & Installer -##### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -##### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). -##### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). +#### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). +#### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). +#### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From df93ccd6adfcaf9dbb582ac3766e26af6ac9e2f7 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:28:13 -0500 Subject: [PATCH 10/14] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c5d83cd..0836c41 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ ## CreamInstaller: CreamAPI Downloader & Installer -#### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). -#### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). -#### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). +##### You can download the latest release by clicking [here](https://github.com/pointfeev/CreamInstaller/releases/latest/download/CreamInstaller.zip). +##### You can find all releases and their individual changes [here](https://github.com/pointfeev/CreamInstaller/releases). +##### You can find a list of supported games and their files [here](https://mega.nz/folder/45YBwIxZ#fsZNZZu9twY2PVLgrB86fA). From 10602dd613c8d7c3939a3f8e919864a2abe12921 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:50:22 -0500 Subject: [PATCH 11/14] Create dotnet.yml --- .github/workflows/dotnet.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..659168f --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,25 @@ +name: .NET + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal From 663c6bf9becf6362cbf64ae2694e165f42025bd6 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 03:51:51 -0500 Subject: [PATCH 12/14] Update dotnet.yml --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 659168f..fcdd8ae 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -9,7 +9,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v2 From 1530ae50471fd48e39bcf2c400187d2507e012b1 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 04:45:52 -0500 Subject: [PATCH 13/14] Create dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 115 +++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 0000000..66de7d1 --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -0,0 +1,115 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow will build, test, sign and package a WPF or Windows Forms desktop application +# built on .NET Core. +# To learn how to migrate your existing application to .NET Core, +# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework +# +# To configure this workflow: +# +# 1. Configure environment variables +# GitHub sets default environment variables for every workflow run. +# Replace the variables relative to your project in the "env" section below. +# +# 2. Signing +# Generate a signing certificate in the Windows Application +# Packaging Project or add an existing signing certificate to the project. +# Next, use PowerShell to encode the .pfx file using Base64 encoding +# by running the following Powershell script to generate the output string: +# +# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte +# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt' +# +# Open the output file, SigningCertificate_Encoded.txt, and copy the +# string inside. Then, add the string to the repo as a GitHub secret +# and name it "Base64_Encoded_Pfx." +# For more information on how to configure your signing certificate for +# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing +# +# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key". +# See "Build the Windows Application Packaging project" below to see how the secret is used. +# +# For more information on GitHub Actions, refer to https://github.com/features/actions +# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications, +# refer to https://github.com/microsoft/github-actions-for-desktop-apps + +name: .NET Core Desktop + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + + strategy: + matrix: + configuration: [Debug, Release] + + 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: CreamInstaller.sln # Replace with your solution name, i.e. MyWpfApp.sln. + Test_Project_Path: CreamInstaller\CreamInstaller.csproj # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. + Wap_Project_Directory: CreamInstallerPackagingProject # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package. + Wap_Project_Path: CreamInstallerPackagingProject\CreamInstallerPackagingProject.wapproj # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj. + + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + # Install the .NET Core workload + - name: Install .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@v1.0.2 + + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test + + # Restore the application to populate the obj folder with RuntimeIdentifiers + - name: Restore the application + run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration + env: + Configuration: ${{ matrix.configuration }} + + # Decode the base 64 encoded pfx and save the Signing_Certificate + - name: Decode the pfx + run: | + $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}") + $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx + [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte) + + # Create the app package by building and packaging the Windows Application Packaging project + - name: Create the app package + run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }} + env: + Appx_Bundle: Always + Appx_Bundle_Platforms: x86|x64 + Appx_Package_Build_Mode: StoreUpload + Configuration: ${{ matrix.configuration }} + + # Remove the pfx + - name: Remove the pfx + run: Remove-Item -path $env:Wap_Project_Directory\$env:Signing_Certificate + + # Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact + - name: Upload build artifacts + uses: actions/upload-artifact@v2 + with: + name: MSIX Package + path: ${{ env.Wap_Project_Directory }}\AppPackages From b3d4d5e6dfde624beca1dd6e54f4043d83b8b2d8 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Mon, 9 Aug 2021 04:46:01 -0500 Subject: [PATCH 14/14] Delete dotnet.yml --- .github/workflows/dotnet.yml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml deleted file mode 100644 index fcdd8ae..0000000 --- a/.github/workflows/dotnet.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: .NET - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 5.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal