diff --git a/.gitignore b/.gitignore index ebdb29b67..7faa26d70 100644 --- a/.gitignore +++ b/.gitignore @@ -112,3 +112,4 @@ java/build/ /core/examples/build .build/ +/app/windows/obj diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c72079f00..13d2a66fd 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -143,16 +143,29 @@ tasks.register("packageCustomDmg"){ ) } +tasks.register("packageCustomMsi"){ + workingDir = file("windows") + commandLine( + "dotnet", + "build", + "/p:Platform=x64" + ) +} + afterEvaluate{ tasks.named("packageDmg").configure{ dependsOn("packageCustomDmg") group = "compose desktop" actions = emptyList() } + tasks.named("packageMsi").configure{ + dependsOn("packageCustomMsi") + group = "compose desktop" + actions = emptyList() + } } - // LEGACY TASKS // Most of these are shims to be compatible with the old build system // They should be removed in the future, as we work towards making things more Gradle-native diff --git a/app/windows/Processing.wixproj b/app/windows/Processing.wixproj new file mode 100644 index 000000000..20751a6a9 --- /dev/null +++ b/app/windows/Processing.wixproj @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/windows/Processing.wxs b/app/windows/Processing.wxs new file mode 100644 index 000000000..e3d6bc5e1 --- /dev/null +++ b/app/windows/Processing.wxs @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/windows/background.png b/app/windows/background.png new file mode 100644 index 000000000..7345e853d Binary files /dev/null and b/app/windows/background.png differ diff --git a/app/windows/banner.png b/app/windows/banner.png new file mode 100644 index 000000000..d14a95199 Binary files /dev/null and b/app/windows/banner.png differ diff --git a/app/windows/license.rtf b/app/windows/license.rtf new file mode 100644 index 000000000..262ff17b1 --- /dev/null +++ b/app/windows/license.rtf @@ -0,0 +1 @@ +Hi Here's Processing's license \ No newline at end of file diff --git a/core/build.gradle.kts b/core/build.gradle.kts index d4a1dcacb..e9298bbeb 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -70,4 +70,7 @@ tasks.test { } tasks.withType { duplicatesStrategy = DuplicatesStrategy.EXCLUDE +} +tasks.compileJava{ + options.encoding = "UTF-8" } \ No newline at end of file