Fix issue locating wrapper bat on windows

This commit is contained in:
Daz DeBoer 2023-07-16 07:04:38 +02:00 committed by GitHub
parent f59a6d4310
commit a0fdbb009a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

2
dist/main/index.js vendored
View File

@ -73341,7 +73341,7 @@ const path = __importStar(__nccwpck_require__(1017));
const fs_1 = __importDefault(__nccwpck_require__(7147));
const IS_WINDOWS = process.platform === 'win32';
function wrapperScriptFilename() {
return IS_WINDOWS ? 'gradlew.bat' : './gradlew';
return IS_WINDOWS ? './gradlew.bat' : './gradlew';
}
exports.wrapperScriptFilename = wrapperScriptFilename;
function installScriptFilename() {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@ import fs from 'fs'
const IS_WINDOWS = process.platform === 'win32'
export function wrapperScriptFilename(): string {
return IS_WINDOWS ? 'gradlew.bat' : './gradlew'
return IS_WINDOWS ? './gradlew.bat' : './gradlew'
}
export function installScriptFilename(): string {