mirror of
https://github.com/chickensoft-games/setup-godot.git
synced 2025-08-14 12:55:08 +00:00
ln test
This commit is contained in:
parent
fe568faee5
commit
09eedd1a31
12
dist/index.js
generated
vendored
12
dist/index.js
generated
vendored
@ -59,6 +59,7 @@ const fs = __importStar(__nccwpck_require__(9896));
|
||||
const os = __importStar(__nccwpck_require__(857));
|
||||
const path_1 = __importDefault(__nccwpck_require__(6928));
|
||||
const utils_1 = __nccwpck_require__(9277);
|
||||
const child_process = __importStar(__nccwpck_require__(1421));
|
||||
function run(platform) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
var _a, _b, _c;
|
||||
@ -254,7 +255,8 @@ function run(platform) {
|
||||
fs.rmSync(binDir, { recursive: true, force: true });
|
||||
fs.mkdirSync(binDir, { recursive: true });
|
||||
}
|
||||
fs.linkSync(godotExecutable, godotAlias);
|
||||
child_process.execSync(`ln -s ${godotExecutable} ${godotAlias}`);
|
||||
// fs.linkSync(godotExecutable, godotAlias)
|
||||
core.info(`✅ Symlink to Godot created`);
|
||||
const godotSharpDirAlias = path_1.default.join(binDir, 'GodotSharp');
|
||||
if (useDotnet) {
|
||||
@ -89152,6 +89154,14 @@ module.exports = require("net");
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 1421:
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = require("node:child_process");
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7598:
|
||||
/***/ ((module) => {
|
||||
|
||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -13,6 +13,7 @@ import {
|
||||
getPlatform,
|
||||
Platform
|
||||
} from './utils'
|
||||
import * as child_process from 'node:child_process'
|
||||
|
||||
async function run(platform: Platform): Promise<void> {
|
||||
// Get action inputs
|
||||
@ -295,7 +296,8 @@ async function run(platform: Platform): Promise<void> {
|
||||
fs.mkdirSync(binDir, {recursive: true})
|
||||
}
|
||||
|
||||
fs.linkSync(godotExecutable, godotAlias)
|
||||
child_process.execSync(`ln -s ${godotExecutable} ${godotAlias}`);
|
||||
// fs.linkSync(godotExecutable, godotAlias)
|
||||
core.info(`✅ Symlink to Godot created`)
|
||||
const godotSharpDirAlias = path.join(binDir, 'GodotSharp')
|
||||
if (useDotnet) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user