Skip to content

Commit 412c36b

Browse files
authored
Merge pull request #156 from kdroidFilter/dev
Add support for Windows Dark Mode
2 parents a93e445 + 3f70327 commit 412c36b

7 files changed

Lines changed: 14 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ bin/
4545
.DS_Store
4646

4747
.idea
48-
tray_position.properties
48+
tray_position.properties

.idea/vcs.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ kotlin {
4848

4949
}
5050

51+
val buildWin: TaskProvider<Exec> = tasks.register<Exec>("buildNativeWin") {
52+
onlyIf { System.getProperty("os.name").startsWith("Windows") }
53+
workingDir(rootDir.resolve("winlib"))
54+
commandLine("cmd", "/c", "build.bat")
55+
}
56+
57+
tasks.register("buildNativeLibraries") {
58+
dependsOn(buildWin)
59+
}
60+
5161
mavenPublishing {
5262
coordinates(
5363
groupId = "io.github.kdroidfilter",

demo/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ kotlin {
1818
implementation(compose.desktop.currentOs)
1919
implementation(compose.components.resources)
2020
implementation(compose.material3)
21+
implementation("org.jetbrains.compose.material:material-icons-core:1.7.3")
2122
implementation(libs.kmp.log)
2223
}
2324
}
13.5 KB
Binary file not shown.
-28.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)