chore(ci): flatpak included in artifacts (#685)
@@ -7,6 +7,7 @@ env:
|
||||
BUNDLE_NAME: ''
|
||||
DEB_BUNDLE_NAME: ''
|
||||
RPM_BUNDLE_NAME: ''
|
||||
FLATPAK_BUNDLE_NAME: ''
|
||||
PRODUCT_NAME: 'AIRI'
|
||||
VERSION: ''
|
||||
|
||||
@@ -134,6 +135,15 @@ jobs:
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
|
||||
run: pnpm run -F @proj-airi/stage-tamagotchi build && pnpm -F @proj-airi/stage-tamagotchi exec electron-builder build ${{ matrix.builder-args }}
|
||||
|
||||
- name: Build Flatpak (Linux Only) # Flatpak
|
||||
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' }}
|
||||
working-directory: ./apps/stage-tamagotchi
|
||||
run: |
|
||||
flatpak-builder ./flatpak ai.moeru.airi.flatpak.yml --force-clean
|
||||
flatpak build-export ./flatpak-repo ./flatpak
|
||||
flatpak build-bundle ./flatpak-repo bundle/ai.moeru.airi-${{ matrix.arch }}.flatpak ai.moeru.airi
|
||||
echo "FLATPAK_BUNDLE_NAME=ai.moeru.airi-${{ matrix.arch }}.flatpak" >> $GITHUB_ENV
|
||||
|
||||
# ---------
|
||||
# Nightly (schedule) builds only
|
||||
# ---------
|
||||
@@ -190,6 +200,13 @@ jobs:
|
||||
name: ${{ env.RPM_BUNDLE_NAME }}
|
||||
path: apps/stage-tamagotchi/bundle/${{ env.RPM_BUNDLE_NAME }}
|
||||
|
||||
- name: Upload Flatpak Artifact (Nightly + Linux Only)
|
||||
if: ${{ github.event_name == 'schedule' && (matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm') }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.FLATPAK_BUNDLE_NAME }}
|
||||
path: apps/stage-tamagotchi/bundle/${{ env.FLATPAK_BUNDLE_NAME }}
|
||||
|
||||
# ---------
|
||||
# Workflow Dispatch only
|
||||
# ---------
|
||||
@@ -246,6 +263,13 @@ jobs:
|
||||
name: ${{ env.RPM_BUNDLE_NAME }}
|
||||
path: apps/stage-tamagotchi/bundle/${{ env.RPM_BUNDLE_NAME }}
|
||||
|
||||
- name: Upload Flatpak Artifact (Manual + Non-Release + Linux)
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && !inputs.build_only && inputs.artifacts_only && (matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm') }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.FLATPAK_BUNDLE_NAME }}
|
||||
path: apps/stage-tamagotchi/bundle/${{ env.FLATPAK_BUNDLE_NAME }}
|
||||
|
||||
- name: Upload To GitHub Releases (Manual + Overwrite Release)
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && !inputs.build_only && !inputs.artifacts_only }}
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
||||
@@ -44,6 +44,8 @@ coverage/
|
||||
out/
|
||||
bundle/
|
||||
.flatpak-builder/
|
||||
.flatpak-repo/
|
||||
*.flatpak
|
||||
# WXT specified this too
|
||||
*.output
|
||||
|
||||
|
||||
@@ -31,11 +31,9 @@ modules:
|
||||
- mkdir -p /app/bin
|
||||
- mkdir -p /app/bin/airi
|
||||
- cp -r ./* /app/bin/airi/
|
||||
- chmod +x /app/bin/airi/airi
|
||||
- install airi.sh /app/bin/airi.sh
|
||||
- chmod +x /app/bin/airi/airi.sh
|
||||
- ls -la /app/bin/airi/
|
||||
- ls -la /app/bin/airi/airi
|
||||
- chmod +x /app/bin/airi/AIRI
|
||||
sources:
|
||||
- type: dir
|
||||
only-arches: [x86_64]
|
||||
@@ -75,4 +73,4 @@ modules:
|
||||
commands:
|
||||
- ulimit -c 0
|
||||
- export TMPDIR="$XDG_RUNTIME_DIR/app/$FLATPAK_ID"
|
||||
- exec zypak-wrapper /app/bin/airi/airi "$@"
|
||||
- exec zypak-wrapper /app/bin/airi/AIRI "$@"
|
||||
|
||||
|
After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 451 KiB |
|
Before Width: | Height: | Size: 6.1 MiB |
@@ -5,7 +5,7 @@ import { useLocalStorage } from '@vueuse/core'
|
||||
import { createAnimatable } from 'animejs'
|
||||
import { onMounted, shallowRef, useTemplateRef, watchEffect } from 'vue'
|
||||
|
||||
import homeCover from '../assets/home-cover-2025-10-29.png'
|
||||
import homeCover from '../assets/home-cover-2025-10-29.avif'
|
||||
|
||||
const surfaceRef = useTemplateRef<HTMLImageElement>('surface')
|
||||
const silhouetteLayer1Ref = useTemplateRef<HTMLDivElement>('silhouetteLayer1')
|
||||
|
||||
@@ -57,7 +57,7 @@ const isCharactersPage = computed(() => path.value.includes('characters'))
|
||||
v-if="isBetweenHalloweenAndHalfOfNovember(new Date())"
|
||||
class="max-w-none w-[90rem] flex-none"
|
||||
decoding="async"
|
||||
src="/new-bg-halloween.png"
|
||||
src="/new-bg-halloween.avif"
|
||||
alt="backdrop"
|
||||
>
|
||||
<img
|
||||
|
||||
|
After Width: | Height: | Size: 324 KiB |
@@ -4,12 +4,12 @@ description: 'Happy Halloween celebration'
|
||||
date: 2025-10-30
|
||||
excerpt: 'Trick or treat! Join us for a spooky night filled with candy, costumes, and Halloween magic! 🍭👻'
|
||||
preview-cover:
|
||||
light: "@assets('./assets/halloweenairi.jpg')"
|
||||
dark: "@assets('./assets/halloweenairi.jpg')"
|
||||
light: "@assets('./assets/halloween-airi.avif')"
|
||||
dark: "@assets('./assets/halloween-airi.avif')"
|
||||
---
|
||||
|
||||
Welcome to our magical Halloween celebration! 🎃✨
|
||||
|
||||
Get ready for a night filled with spooky fun, delicious candy, amazing costumes, and Halloween magic. Whether you're here for the treats or planning some harmless tricks, this is going to be an unforgettable Halloween adventure! 🍭👻🦇
|
||||
|
||||

|
||||

|
||||
|
Before Width: | Height: | Size: 786 KiB |
|
After Width: | Height: | Size: 211 KiB |
|
After Width: | Height: | Size: 324 KiB |
@@ -4,13 +4,13 @@ description: '万圣节庆祝'
|
||||
date: 2025-10-30
|
||||
excerpt: '不给糖就捣蛋!一起来享受充满糖果、服装和万圣节魔法的惊喜夜晚吧!🍭👻'
|
||||
preview-cover:
|
||||
light: "@assets('./assets/halloweenairi.jpg')"
|
||||
dark: "@assets('./assets/halloweenairi.jpg')"
|
||||
light: "@assets('./assets/halloween-airi.avif')"
|
||||
dark: "@assets('./assets/halloween-airi.avif')"
|
||||
---
|
||||
|
||||
欢迎来到我们神奇的万圣节庆典!🎃✨
|
||||
|
||||
准备好迎接充满惊喜乐趣、美味糖果、精彩服装和万圣节魔法的夜晚吧。无论你是来要糖果的,还是准备来点无害恶作剧的,这都将是一个难忘的万圣节冒险!🍭👻🦇
|
||||
|
||||

|
||||

|
||||
ß
|
||||
|
Before Width: | Height: | Size: 786 KiB |