-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from wit-ai/add_plugin_flavour
add plugin flavour
- Loading branch information
Showing
8 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
:: Copyright (c) Meta Platforms, Inc. and affiliates. | ||
:: | ||
:: This source code is licensed under the license found in the | ||
:: LICENSE file in the root directory of this source tree. | ||
|
||
echo off | ||
|
||
../utils/all_in_one_packaging.bat 4.27 TP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
|
||
echo off | ||
|
||
../utils/all_in_one_packaging.bat 4.27 | ||
../utils/all_in_one_packaging.bat 4.27 MP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
|
||
echo off | ||
|
||
../utils/all_in_one_packaging.bat 5.0 | ||
../utils/all_in_one_packaging.bat 5.0 MP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
|
||
echo off | ||
|
||
../utils/all_in_one_packaging.bat 5.1 | ||
../utils/all_in_one_packaging.bat 5.1 MP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
const updateFileAsync = require("../../helper"); | ||
|
||
const FILE_PATH = 'wit-unreal\\Source\\Wit\\Private\\Wit\\Request\\HTTP\\WitHttpRequest.cpp'; | ||
const PLUGIN_FLAVOUR_KEY_STRING_START = 'const FString PluginFlavour = FString("'; | ||
const PLUGIN_FLAVOUR_KEY_STRING_END = '"'; | ||
|
||
console.log(process.argv); | ||
|
||
if(process.argv.length < 3) { | ||
console.log('Please call this script with : node update_Plugin_flavour.js xxx'); | ||
} | ||
|
||
updateFileAsync(FILE_PATH, PLUGIN_FLAVOUR_KEY_STRING_START, process.argv[2], PLUGIN_FLAVOUR_KEY_STRING_END); |