diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4196bd2..c3f4bf7 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -11,13 +11,24 @@ jobs: with: channel: 'stable' architecture: x64 + flutter-version-file: pubspec.yaml - run: | sudo apt-get update -y sudo apt-get install -y ninja-build libgtk-3-dev dart pub global activate flutter_to_debian - run: python3 debian/build.py - - uses: actions/upload-artifact@v3 + - run: dart run flutter_to_arch + - run: | + sudo rm -rf build/linux/arch/app.tar.gz + sudo rm -rf build/linux/arch/pkg + sudo rm -rf build/linux/arch/src + sudo rm -rf build/linux/arch/PKGBUILD + - uses: actions/upload-artifact@v4 with: name: deb_build path: build/linux/x64/release/debian + - uses: actions/upload-artifact@v4 + with: + name: arch_build + path: build/linux/arch/ \ No newline at end of file diff --git a/pubspec.lock b/pubspec.lock index f139e50..fb8d6e1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -256,6 +256,15 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_to_arch: + dependency: "direct dev" + description: + path: "." + ref: HEAD + resolved-ref: b7378b7bda0b71cbc7d103f5afa24bce19be145c + url: "https://github.com/wgh136/flutter_to_arch" + source: git + version: "1.0.0" flutter_web_plugins: dependency: transitive description: flutter @@ -302,6 +311,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.19.0" + io: + dependency: transitive + description: + name: io + sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" + url: "https://pub.dev" + source: hosted + version: "1.0.4" leak_tracker: dependency: transitive description: @@ -740,6 +757,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.4" + yaml: + dependency: transitive + description: + name: yaml + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" + url: "https://pub.dev" + source: hosted + version: "3.1.2" sdks: dart: ">=3.3.4 <4.0.0" - flutter: ">=3.19.0" + flutter: ">=3.22.3" diff --git a/pubspec.yaml b/pubspec.yaml index fde3730..d13ae76 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -73,10 +73,21 @@ dev_dependencies: # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^3.0.0 + flutter_to_arch: + git: https://github.com/wgh136/flutter_to_arch # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec +flutter_to_arch: + name: Pixes + icon: debian/gui/pixes.png + categories: Utility + keywords: Flutter;pixiv;images; + url: https://github.com/wgh136/pixes + depends: + - gtk3 + # The following section is specific to Flutter packages. flutter: