Skip to content

Commit

Permalink
wip:
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Oct 27, 2024
1 parent dc758d1 commit 8c3acfc
Show file tree
Hide file tree
Showing 33 changed files with 27 additions and 650 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: |
sudo apt-get update
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
sudo apt-get install -y keybinder-3.0
sudo apt-get install -y ayatana-appindicator3-0.1
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/window_manager/example
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
flutter-version: "3.24.3"
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libappindicator3-dev xvfb
sudo apt-get install -y ninja-build libgtk-3-dev ayatana-appindicator3-0.1 xvfb
- uses: bluefireteam/melos-action@v3
- working-directory: ./packages/window_manager/example
run: xvfb-run -a flutter test integration_test -v
Expand Down
27 changes: 0 additions & 27 deletions packages/window_manager_linux/.metadata

This file was deleted.

2 changes: 1 addition & 1 deletion packages/window_manager_linux/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 0.0.1
## 1.0.1

* Initial release.
5 changes: 1 addition & 4 deletions packages/window_manager_linux/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
include: package:mostly_reasonable_lints/analysis_options.yaml
14 changes: 0 additions & 14 deletions packages/window_manager_linux/lib/window_manager_linux.dart

This file was deleted.

This file was deleted.

This file was deleted.

64 changes: 7 additions & 57 deletions packages/window_manager_linux/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: window_manager_linux
description: Linux implementation of the window_manager plugin.
version: 0.0.1
version: 1.0.1
repository: https://github.com/leanflutter/window_manager/tree/main/packages/window_manager_linux

environment:
sdk: ^3.5.3
flutter: '>=3.3.0'
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.3.0"

dependencies:
flutter:
Expand All @@ -15,61 +15,11 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
mostly_reasonable_lints: ^0.1.2

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
# This section identifies this Flutter project as a plugin project.
# The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)
# which should be registered in the plugin registry. This is required for
# using method channels.
# The Android 'package' specifies package in which the registered class is.
# This is required for using method channels on Android.
# The 'ffiPlugin' specifies that native code should be built and bundled.
# This is required for using `dart:ffi`.
# All these are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin:
platforms:
# This plugin project was generated without specifying any
# platforms with the `--platform` argument. If you see the `some_platform` map below, remove it and
# then add platforms following the instruction here:
# https://flutter.dev/to/pubspec-plugin-platforms
# -------------------
some_platform:
pluginClass: somePluginClass
# -------------------

# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/to/asset-from-package
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/to/resolution-aware-images

# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/to/font-from-package
linux:
pluginClass: WindowManagerLinuxPlugin

This file was deleted.

29 changes: 0 additions & 29 deletions packages/window_manager_linux/test/window_manager_linux_test.dart

This file was deleted.

30 changes: 0 additions & 30 deletions packages/window_manager_macos/.metadata

This file was deleted.

2 changes: 1 addition & 1 deletion packages/window_manager_macos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## 0.0.1
## 1.0.1

* Initial release.
5 changes: 1 addition & 4 deletions packages/window_manager_macos/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
include: package:mostly_reasonable_lints/analysis_options.yaml
8 changes: 0 additions & 8 deletions packages/window_manager_macos/lib/window_manager_macos.dart

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8c3acfc

Please sign in to comment.