From 8b7495e458134ceea1b9cab375802fac5427621f Mon Sep 17 00:00:00 2001 From: Alexander Binaei Date: Fri, 28 Feb 2025 16:39:28 -0800 Subject: [PATCH] icon; drop windows build --- .github/workflows/build-windows.yml | 91 ----------------------------- Dioxus.toml | 1 + 2 files changed, 1 insertion(+), 91 deletions(-) delete mode 100644 .github/workflows/build-windows.yml diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml deleted file mode 100644 index dbce3acc..00000000 --- a/.github/workflows/build-windows.yml +++ /dev/null @@ -1,91 +0,0 @@ -## name: Build and Release (Windows) -## -## on: -## push: -## tags: -## - '*' -## -## permissions: -## contents: write -## -## jobs: -## build-windows: -## runs-on: windows-latest -## -## env: -## ## build constants -## TARGET: windows -## ARCH: x86_64 -## VERSION: ${{ github.ref_name }} -## ## aws publish constants -## AWS_REGION: us-east-1 -## S3_BUCKET_NAME: ore-app-xyz -## # where dx places the .app -## APP_DIR: target\dx\ore-app\bundle\windows\bundle/nsis/OreApp_${{ github.ref_name }}_x64-setup.exe -## -## steps: -## - name: Check out code -## uses: actions/checkout@v3 -## -## - name: Cache Cargo registry -## uses: actions/cache@v3 -## with: -## path: ~/.cargo/registry -## key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} -## restore-keys: | -## ${{ runner.os }}-cargo-registry- -## -## - name: Cache target directory -## uses: actions/cache@v3 -## with: -## path: target -## key: ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.lock') }} -## restore-keys: | -## ${{ runner.os }}-cargo-target- -## -## - name: Install Rust -## uses: dtolnay/rust-toolchain@stable -## with: -## profile: minimal -## override: true -## -## - name: Install dioxus-cli -## run: | -## cargo install cargo-packager@0.11.3 dioxus-cli@0.6.3 -## -## - name: Build and Package -## run: | -## dx bundle --platform desktop --release -## -## - name: Sign -## env: -## CARGO_PACKAGER_SIGN_PRIVATE_KEY: ${{ secrets.CARGO_PACKAGER_SIGN_PRIVATE_KEY }} -## CARGO_PACKAGER_SIGN_PRIVATE_KEY_PASSWORD: ${{ secrets.CARGO_PACKAGER_SIGN_PRIVATE_KEY_PASSWORD }} -## run: | -## cargo packager signer sign "" -## -## # ------------------------------------------ -## # Configure AWS credentials & upload to S3 -## # ------------------------------------------ -## - name: Configure AWS credentials -## uses: aws-actions/configure-aws-credentials@v3 -## with: -## aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} -## aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} -## aws-region: ${{ env.AWS_REGION }} -## -## - name: Upload EXE to S3 -## run: | -## aws s3 cp ` -## "${{ env.APP_DIR }}" ` -## "s3://${{ env.S3_BUCKET_NAME }}/${{ env.TARGET }}/${{ env.ARCH }}/${{ env.VERSION }}/ore_${{ env.VERSION }}_x64.exe" -## -## - name: Upload Signature to S3 -## run: | -## aws s3 cp ` -## "${{ env.APP_DIR }}.sig" ` -## "s3://${{ env.S3_BUCKET_NAME }}/${{ env.TARGET }}/${{ env.ARCH }}/${{ env.VERSION }}/ore_${{ env.VERSION }}_x64.exe.sig" -## -## - name: Print S3 download link -## run: | -## echo "Download EXE at: https://${{ env.S3_BUCKET_NAME }}.s3.amazonaws.com/${{ env.TARGET }}/${{ env.ARCH }}/${{ env.VERSION }}/ore_${{ env.VERSION }}_x64.exe" diff --git a/Dioxus.toml b/Dioxus.toml index 9a05a112..30faab73 100644 --- a/Dioxus.toml +++ b/Dioxus.toml @@ -31,3 +31,4 @@ index_on_404 = true [bundle] publisher = "regolith labs" identifier = "ore.supply" +icon = ["public/icon.png"]