Skip to content

Commit 8c3acfc

Browse files
committed
wip:
1 parent dc758d1 commit 8c3acfc

33 files changed

+27
-650
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- run: |
1919
sudo apt-get update
2020
sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
21-
sudo apt-get install -y keybinder-3.0
21+
sudo apt-get install -y ayatana-appindicator3-0.1
2222
- uses: bluefireteam/melos-action@v3
2323
- working-directory: ./packages/window_manager/example
2424
run: |

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
flutter-version: "3.24.3"
1818
- run: |
1919
sudo apt-get update -y
20-
sudo apt-get install -y ninja-build libgtk-3-dev libappindicator3-dev xvfb
20+
sudo apt-get install -y ninja-build libgtk-3-dev ayatana-appindicator3-0.1 xvfb
2121
- uses: bluefireteam/melos-action@v3
2222
- working-directory: ./packages/window_manager/example
2323
run: xvfb-run -a flutter test integration_test -v

packages/window_manager_linux/.metadata

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## 0.0.1
1+
## 1.0.1
22

33
* Initial release.
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
include: package:flutter_lints/flutter.yaml
2-
3-
# Additional information about this file can be found at
4-
# https://dart.dev/guides/language/analysis-options
1+
include: package:mostly_reasonable_lints/analysis_options.yaml

packages/window_manager_linux/lib/window_manager_linux.dart

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/window_manager_linux/lib/window_manager_linux_method_channel.dart

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/window_manager_linux/lib/window_manager_linux_platform_interface.dart

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 7 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: window_manager_linux
22
description: Linux implementation of the window_manager plugin.
3-
version: 0.0.1
3+
version: 1.0.1
44
repository: https://github.com/leanflutter/window_manager/tree/main/packages/window_manager_linux
55

66
environment:
7-
sdk: ^3.5.3
8-
flutter: '>=3.3.0'
7+
sdk: ">=3.0.0 <4.0.0"
8+
flutter: ">=3.3.0"
99

1010
dependencies:
1111
flutter:
@@ -15,61 +15,11 @@ dependencies:
1515
dev_dependencies:
1616
flutter_test:
1717
sdk: flutter
18-
flutter_lints: ^4.0.0
18+
mostly_reasonable_lints: ^0.1.2
1919

20-
# For information on the generic Dart part of this file, see the
21-
# following page: https://dart.dev/tools/pub/pubspec
22-
23-
# The following section is specific to Flutter packages.
2420
flutter:
25-
# This section identifies this Flutter project as a plugin project.
26-
# The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)
27-
# which should be registered in the plugin registry. This is required for
28-
# using method channels.
29-
# The Android 'package' specifies package in which the registered class is.
30-
# This is required for using method channels on Android.
31-
# The 'ffiPlugin' specifies that native code should be built and bundled.
32-
# This is required for using `dart:ffi`.
33-
# All these are used by the tooling to maintain consistency when
34-
# adding or updating assets for this project.
3521
plugin:
3622
platforms:
37-
# This plugin project was generated without specifying any
38-
# platforms with the `--platform` argument. If you see the `some_platform` map below, remove it and
39-
# then add platforms following the instruction here:
40-
# https://flutter.dev/to/pubspec-plugin-platforms
41-
# -------------------
42-
some_platform:
43-
pluginClass: somePluginClass
44-
# -------------------
45-
46-
# To add assets to your plugin package, add an assets section, like this:
47-
# assets:
48-
# - images/a_dot_burr.jpeg
49-
# - images/a_dot_ham.jpeg
50-
#
51-
# For details regarding assets in packages, see
52-
# https://flutter.dev/to/asset-from-package
53-
#
54-
# An image asset can refer to one or more resolution-specific "variants", see
55-
# https://flutter.dev/to/resolution-aware-images
56-
57-
# To add custom fonts to your plugin package, add a fonts section here,
58-
# in this "flutter" section. Each entry in this list should have a
59-
# "family" key with the font family name, and a "fonts" key with a
60-
# list giving the asset and other descriptors for the font. For
61-
# example:
62-
# fonts:
63-
# - family: Schyler
64-
# fonts:
65-
# - asset: fonts/Schyler-Regular.ttf
66-
# - asset: fonts/Schyler-Italic.ttf
67-
# style: italic
68-
# - family: Trajan Pro
69-
# fonts:
70-
# - asset: fonts/TrajanPro.ttf
71-
# - asset: fonts/TrajanPro_Bold.ttf
72-
# weight: 700
73-
#
74-
# For details regarding fonts in packages, see
75-
# https://flutter.dev/to/font-from-package
23+
linux:
24+
pluginClass: WindowManagerLinuxPlugin
25+

packages/window_manager_linux/test/window_manager_linux_method_channel_test.dart

Lines changed: 0 additions & 27 deletions
This file was deleted.

packages/window_manager_linux/test/window_manager_linux_test.dart

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/window_manager_macos/.metadata

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## 0.0.1
1+
## 1.0.1
22

33
* Initial release.
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
include: package:flutter_lints/flutter.yaml
2-
3-
# Additional information about this file can be found at
4-
# https://dart.dev/guides/language/analysis-options
1+
include: package:mostly_reasonable_lints/analysis_options.yaml

packages/window_manager_macos/lib/window_manager_macos.dart

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/window_manager_macos/lib/window_manager_macos_method_channel.dart

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/window_manager_macos/lib/window_manager_macos_platform_interface.dart

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/window_manager_macos/macos/Classes/WindowManagerMacosPlugin.swift

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)