Scaffolding for windows bundle

Summary: Just adds a function stub that will add the necessary run script for windows.

Reviewed By: passy

Differential Revision: D47627532

fbshipit-source-id: 09b6a203c2a5def20e586b5753d95ca58797852a
This commit is contained in:
Lorenzo Blasa
2023-07-27 07:06:58 -07:00
committed by Facebook GitHub Bot
parent 2fd94048fb
commit 5b2d20e0e0

View File

@@ -612,6 +612,10 @@ async function setUpLinuxBundle(outputDir: string) {
await fs.chmod(path.join(outputDir, 'flipper'), 0o755); await fs.chmod(path.join(outputDir, 'flipper'), 0o755);
} }
async function setUpWindowsBundle(outputDir: string) {
console.log(`⚙️ Creating Windows bundle in ${outputDir}`);
}
async function setUpMacBundle( async function setUpMacBundle(
outputDir: string, outputDir: string,
versionNumber: string, versionNumber: string,
@@ -676,6 +680,8 @@ async function bundleServerReleaseForPlatform(
outputPaths = await setUpMacBundle(outputDir, versionNumber); outputPaths = await setUpMacBundle(outputDir, versionNumber);
} else if (platform === BuildPlatform.LINUX) { } else if (platform === BuildPlatform.LINUX) {
await setUpLinuxBundle(outputDir); await setUpLinuxBundle(outputDir);
} else if (platform === BuildPlatform.WINDOWS) {
await setUpWindowsBundle(outputDir);
} }
console.log(`⚙️ Copying from ${dir} to ${outputPaths.resourcesPath}`); console.log(`⚙️ Copying from ${dir} to ${outputPaths.resourcesPath}`);