mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Remove .bat scripts unless user OS is Windows
Previously, start scripts were generated for both *nix and Windows platforms, resulting in an unnecessarily cluttered root directory. With this change, both types of script are still generated, but Windows .bat scripts are deleted immediately afterward if the user is running a non-Windows OS (unfortunately, there was no clean way to suppress the generation of these scripts in the Gradle StartScripts API). See #1956
This commit is contained in:
parent
d372a9e4b3
commit
46ee12dd62
@ -91,6 +91,9 @@ configure([project(':desktop'),
|
||||
from "$destinationDir/lib"
|
||||
into "${rootProject.projectDir}/lib"
|
||||
}
|
||||
|
||||
if (osdetector.os != 'windows')
|
||||
delete fileTree(dir: rootProject.projectDir, include: 'bisq-*.bat')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -15,6 +15,8 @@ You do _not_ need to install Gradle to complete the following command. The `grad
|
||||
|
||||
./gradlew build
|
||||
|
||||
If on Windows use the `gradlew.bat` script instead.
|
||||
|
||||
|
||||
## Run
|
||||
|
||||
@ -22,6 +24,8 @@ Bisq executables are now available in the root project directory. Run Bisq Deskt
|
||||
|
||||
./bisq-desktop
|
||||
|
||||
If on Windows use the `bisq-desktop.bat` script instead.
|
||||
|
||||
|
||||
## See also
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user